QElectroTech  0.8-dev
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
QETElementEditor Class Reference

#include <qetelementeditor.h>

Inheritance diagram for QETElementEditor:
Inheritance graph
Collaboration diagram for QETElementEditor:
Collaboration graph

Public Slots

void addLine ()
 QETElementEditor::addLine Set line creation interface to scene. More...
 
void addRect ()
 QETElementEditor::addRect Set rectangle creation interface to scene. More...
 
void addEllipse ()
 QETElementEditor::addEllipse Set ellipse creation interface to scene. More...
 
void addPolygon ()
 QETElementEditor::addPolygon Set polygon creation interface to scene. More...
 
void addArc ()
 QETElementEditor::addArc Set arc creation interface to scene. More...
 
void addText ()
 QETElementEditor::addText Set text creation interface to scene. More...
 
void addTerminal ()
 QETElementEditor::addTerminal Set terminal creation interface to scene. More...
 
void addDynamicTextField ()
 QETElementEditor::addDynamicTextField Set dynamic text field creation interface to scene. More...
 
void UncheckAddPrimitive ()
 QETElementEditor::UncheckAddPrimitive Uncheck all action related to primitive. More...
 
void slot_new ()
 
void slot_open ()
 
void slot_openDxf ()
 QETElementEditor::slot_openDxf. More...
 
void slot_openFile ()
 
void openRecentFile (const QString &)
 
void openElement (const QString &)
 
void slot_reload ()
 QETElementEditor::slot_reload Reload the element from the file or location. More...
 
bool slot_save ()
 QETElementEditor::slot_save Save the current editing element. If the filepath or location is unknown, use save_as instead. More...
 
bool slot_saveAs ()
 QETElementEditor::slot_saveAs Ask a location to user and save the current edited element to this location. More...
 
bool slot_saveAsFile ()
 QETElementEditor::slot_saveAsFile Ask a file to user and save the current edited element to this file. More...
 
void slot_setRubberBandToView ()
 
void slot_setNoDragToView ()
 
void slot_updateInformations ()
 
void slot_updateMenus ()
 
void slot_updateTitle ()
 
void slot_createPartsList ()
 
void slot_updatePartsList ()
 
void slot_updateSelectionFromPartsList ()
 
bool checkElement ()
 QETElementEditor::checkElement Do several check about element. If error is occurred return false. More...
 
void pasteFromFile ()
 
void pasteFromElement ()
 QETElementEditor::pasteFromElement Ask an element to user, copy the xml definition of the element to the clipboard and call ElementView::PasteInArea. More...
 
void updateCurrentPartEditor ()
 
- Public Slots inherited from QETMainWindow
void toggleFullScreen ()
 
void updateFullScreenAction ()
 
void checkToolbarsmenu ()
 

Signals

void saveToLocation (ElementsLocation loc)
 

Public Member Functions

 QETElementEditor (QWidget *=nullptr)
 
 ~QETElementEditor () override
 Destructeur. More...
 
void setNames (const NamesList &)
 
void setLocation (const ElementsLocation &)
 QETElementEditor::setLocation The new location to edit. More...
 
ElementsLocation location () const
 
void setFileName (const QString &)
 
QString fileName () const
 
void setReadOnly (bool)
 
bool isReadOnly () const
 
void fromFile (const QString &)
 
void fromLocation (const ElementsLocation &)
 QETElementEditor::fromLocation Location of the element to edit. More...
 
bool toFile (const QString &)
 QETElementEditor::toFile Save to file the drawed element. More...
 
bool toLocation (const ElementsLocation &location)
 QETElementEditor::toLocation Save the element to Location. More...
 
bool isEditing (const ElementsLocation &)
 
bool isEditing (const QString &)
 
ElementSceneelementScene () const
 
void readSettings ()
 QETElementEditor::readSettings Read settings. More...
 
void writeSettings ()
 QETElementEditor::writeSettings Write the settings. More...
 
void contextMenu (QPoint p, QList< QAction * > actions=QList< QAction * >())
 QETElementEditor::contextMenu Display a context menu, with all available action. More...
 
- Public Member Functions inherited from QETMainWindow
 QETMainWindow (QWidget *=nullptr, Qt::WindowFlags=Qt::Widget)
 
 ~QETMainWindow () override
 

Static Public Member Functions

static QPointF pasteOffset ()
 
static QString getOpenElementFileName (QWidget *=nullptr, const QString &=QString())
 

Protected Member Functions

void closeEvent (QCloseEvent *) override
 
void firstActivation (QEvent *) override
 
- Protected Member Functions inherited from QETMainWindow
void initCommonActions ()
 
void initCommonMenus ()
 
void insertMenu (QMenu *, QMenu *, bool=true)
 
QAction * actionForMenu (QMenu *)
 
bool event (QEvent *) override
 
void dragEnterEvent (QDragEnterEvent *e) override
 
void dropEvent (QDropEvent *e) override
 

Private Member Functions

 QETElementEditor (const QETElementEditor &)
 
void setupActions ()
 QETElementEditor::setupActions Create action used in Element editor. More...
 
void setupMenus ()
 QETElementEditor::setupMenus. More...
 
void setupInterface ()
 QETElementEditor::setupInterface. More...
 
bool canClose ()
 
QWidget * clearToolsDock ()
 
void copyAndPasteXml (const QDomDocument &)
 

Private Attributes

bool read_only
 whether the editor is "read-only" More...
 
QMenu * file_menu
 menus More...
 
QMenu * edit_menu
 
QMenu * paste_from_menu
 
QMenu * display_menu
 
QMenu * tools_menu
 
ElementViewm_view
 view widget for the editing scene More...
 
ElementScenem_elmt_scene
 editing scene More...
 
QDockWidget * m_tools_dock
 container for widgets dedicated to primitive edition More...
 
QStackedWidget * m_tools_dock_stack
 Stack of widgets for tools_dock. More...
 
QLabel * m_default_informations
 label displayed when several primitives are selected More...
 
QHash< QString, ElementItemEditor * > m_editors
 Hash associating primitive names with their matching edition widget. More...
 
QDockWidget * m_undo_dock
 container for the undo list More...
 
QDockWidget * m_parts_dock
 Container for the list of existing primitives. More...
 
QListWidget * m_parts_list
 List of primitives. More...
 
QAction * new_element
 actions for the "file" menu More...
 
QAction * open
 
QAction * open_dxf
 
QAction * open_file
 
QAction * save
 
QAction * save_as
 
QAction * save_as_file
 
QAction * reload
 
QAction * quit
 
QAction * selectall
 actions for the "edit" menu More...
 
QAction * deselectall
 
QAction * inv_select
 
QAction * cut
 
QAction * copy
 
QAction * paste
 
QAction * paste_in_area
 
QAction * paste_from_file
 
QAction * paste_from_elmt
 
QAction * undo
 
QAction * redo
 
QAction * edit_delete
 
QAction * edit_size_hs
 
QAction * edit_names
 
QAction * edit_author
 
QAction * m_edit_properties
 
QToolBar * parts_toolbar
 toolbars More...
 
QToolBar * main_toolbar
 
QToolBar * view_toolbar
 
QToolBar * depth_toolbar
 
QToolBar * element_toolbar
 
QActionGroup * parts
 Action group. More...
 
QActionGroup * m_zoom_ag
 
QActionGroup * m_depth_action_group
 
QString min_title
 minimum window title More...
 
QString filename_
 filename of the currently edited element More...
 
ElementsLocation location_
 location of the currently edited element More...
 
bool opened_from_file
 whether the currently edited element comes from a file or a location More...
 

Additional Inherited Members

- Protected Attributes inherited from QETMainWindow
QAction * configure_action_
 Launch the QElectroTech configuration dialog. More...
 
QAction * fullscreen_action_
 Toggle full screen. More...
 
QAction * whatsthis_action_
 Toggle "What's this" mode. More...
 
QAction * about_qet_
 Launch the "About QElectroTech" dialog. More...
 
QAction * manual_online_
 Launch browser on QElectroTech online manual. More...
 
QAction * youtube_
 Launch browser on QElectroTech Youtube channel. More...
 
QAction * upgrade_
 Launch browser on QElectroTech Windows Nightly builds. More...
 
QAction * upgrade_M
 Launch browser on QElectroTech MAC_OS_X builds. More...
 
QAction * donate_
 Launch browser to donate link. More...
 
QAction * about_qt_
 launch the "About Qt" dialog More...
 
QMenu * settings_menu_
 Settings menu. More...
 
QMenu * help_menu_
 Help menu. More...
 
QMenu * display_toolbars_
 Show/hide toolbars/docks. More...
 
QHash< QMenu *, QAction * > menu_actions_
 Store actions retrieved when inserting menus. More...
 
bool first_activation_
 Used to detect whether the window is activated for the first time. More...
 

Detailed Description

This class represents an element editor, allowing users to draw, change and configure a particular electrical element.

Constructor & Destructor Documentation

◆ QETElementEditor() [1/2]

QETElementEditor::QETElementEditor ( QWidget *  parent = nullptr)

Constructeur

Parameters
parentQWidget parent
Here is the call graph for this function:

◆ ~QETElementEditor()

QETElementEditor::~QETElementEditor ( )
override

Destructeur.

Here is the call graph for this function:

◆ QETElementEditor() [2/2]

QETElementEditor::QETElementEditor ( const QETElementEditor )
private

Member Function Documentation

◆ addArc

void QETElementEditor::addArc ( )
slot

QETElementEditor::addArc Set arc creation interface to scene.

Here is the caller graph for this function:

◆ addDynamicTextField

void QETElementEditor::addDynamicTextField ( )
slot

QETElementEditor::addDynamicTextField Set dynamic text field creation interface to scene.

Here is the caller graph for this function:

◆ addEllipse

void QETElementEditor::addEllipse ( )
slot

QETElementEditor::addEllipse Set ellipse creation interface to scene.

Here is the caller graph for this function:

◆ addLine

void QETElementEditor::addLine ( )
slot

QETElementEditor::addLine Set line creation interface to scene.

Here is the caller graph for this function:

◆ addPolygon

void QETElementEditor::addPolygon ( )
slot

QETElementEditor::addPolygon Set polygon creation interface to scene.

Here is the caller graph for this function:

◆ addRect

void QETElementEditor::addRect ( )
slot

QETElementEditor::addRect Set rectangle creation interface to scene.

Here is the caller graph for this function:

◆ addTerminal

void QETElementEditor::addTerminal ( )
slot

QETElementEditor::addTerminal Set terminal creation interface to scene.

Here is the caller graph for this function:

◆ addText

void QETElementEditor::addText ( )
slot

QETElementEditor::addText Set text creation interface to scene.

Here is the caller graph for this function:

◆ canClose()

bool QETElementEditor::canClose ( )
private
Returns
true si l'element peut etre ferme. Un element peut etre ferme s'il ne comporte aucune modification. Si l'element comporte des modifications, la question est posee a l'utilisateur.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkElement

bool QETElementEditor::checkElement ( )
slot

QETElementEditor::checkElement Do several check about element. If error is occurred return false.

Warning #1: Element haven't got terminal (except for report, because report must have one terminal and this checking is do below)

Check folio report element

Error folio report must have only one terminal

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearToolsDock()

QWidget * QETElementEditor::clearToolsDock ( )
private

Enleve et cache le widget affiche par le dock permettant d'editer les parties.

Returns
le widget enleve, ou 0 s'il n'y avait pas de widget a enlever
Here is the caller graph for this function:

◆ closeEvent()

void QETElementEditor::closeEvent ( QCloseEvent *  qce)
overrideprotected

Permet de quitter l'editeur lors de la fermeture de la fenetre principale

Parameters
qceLe QCloseEvent correspondant a l'evenement de fermeture
Here is the call graph for this function:

◆ contextMenu()

void QETElementEditor::contextMenu ( QPoint  p,
QList< QAction * >  actions = QList<QAction*>() 
)

QETElementEditor::contextMenu Display a context menu, with all available action.

Parameters
p: the pos of the menu, in screen coordinate
actions: a list of actions who can be prepended to the context menu.
Here is the caller graph for this function:

◆ copyAndPasteXml()

void QETElementEditor::copyAndPasteXml ( const QDomDocument &  xml_document)
private

Exporte le document XML xml_document vers le presse-papier puis declenche son collage dans l'editeur courant, avec selection de la zone de collage

Parameters
xml_documentDocument XML a copier/coller
See also
ElementView::pasteInArea
Here is the caller graph for this function:

◆ elementScene()

ElementScene * QETElementEditor::elementScene ( ) const
inline
Returns
the editing scene
Here is the caller graph for this function:

◆ fileName()

QString QETElementEditor::fileName ( ) const
inline
Returns
the filename of the currently edited element

◆ firstActivation()

void QETElementEditor::firstActivation ( QEvent *  event)
overrideprotectedvirtual

Executed the first time the window editor is displayed.

Reimplemented from QETMainWindow.

Here is the call graph for this function:

◆ fromFile()

void QETElementEditor::fromFile ( const QString &  filepath)

Charge un fichier

Parameters
filepathChemin du fichier a charger
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromLocation()

void QETElementEditor::fromLocation ( const ElementsLocation location)

QETElementEditor::fromLocation Location of the element to edit.

Parameters
location
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOpenElementFileName()

QString QETElementEditor::getOpenElementFileName ( QWidget *  parent = nullptr,
const QString &  initial_dir = QString() 
)
static

Demande a l'utilisateur d'ouvrir un fichier sense etre un element.

Parameters
parentQWidget parent du dialogue d'ouverture de fichier
initial_dirRepertoire a afficher initialement - si une chaine vide est fournie, QETApp::customElementsDir() sera utilise.
Returns
Le chemin du fichier choisi ou une chaine vide si l'utilisateur a clique sur le bouton "Annuler".
See also
QETApp::customElementsDir()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEditing() [1/2]

bool QETElementEditor::isEditing ( const ElementsLocation provided_location)
Parameters
provided_locationEmplacement d'un element
Returns
true si cet editeur est en train d'editer l'element dont l'emplacement est location, false sinon
Here is the call graph for this function:

◆ isEditing() [2/2]

bool QETElementEditor::isEditing ( const QString &  provided_filepath)
Parameters
provided_filepathChemin d'un element sur un filesystem
Returns
true si cet editeur est en train d'editer l'element dont le chemin est filepath, false sinon
Here is the call graph for this function:

◆ isReadOnly()

bool QETElementEditor::isReadOnly ( ) const
Returns
true si l'editeur d'element est en mode lecture seule
Here is the caller graph for this function:

◆ location()

ElementsLocation QETElementEditor::location ( ) const
inline
Returns
the location of the currently edited element
Here is the caller graph for this function:

◆ openElement

void QETElementEditor::openElement ( const QString &  filepath)
slot

Ouvre un fichier element dans un nouvel editeur Cette methode ne controle pas si le fichier est deja ouvert

Parameters
filepathFichier a ouvrir
See also
fromFile
QETApp::openElementFiles
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openRecentFile

void QETElementEditor::openRecentFile ( const QString &  filepath)
slot

Slot utilise pour ouvrir un fichier recent. Transfere filepath au slot openElement seulement si cet editeur est actif

Parameters
filepathFichier a ouvrir
See also
openElement
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pasteFromElement

void QETElementEditor::pasteFromElement ( )
slot

QETElementEditor::pasteFromElement Ask an element to user, copy the xml definition of the element to the clipboard and call ElementView::PasteInArea.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pasteFromFile

void QETElementEditor::pasteFromFile ( )
slot

Demande un fichier a l'utilisateur, l'ouvre en tant que fichier element, met son contenu dans le presse-papiers, et appelle ElementView::PasteInArea

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pasteOffset()

QPointF QETElementEditor::pasteOffset ( )
static
Returns
les decalages horizontaux et verticaux (sous la forme d'un point) a utiliser lors d'un copier/coller avec decalage.
Here is the caller graph for this function:

◆ readSettings()

void QETElementEditor::readSettings ( )

QETElementEditor::readSettings Read settings.

Here is the caller graph for this function:

◆ saveToLocation

void QETElementEditor::saveToLocation ( ElementsLocation  loc)
signal
Here is the caller graph for this function:

◆ setFileName()

void QETElementEditor::setFileName ( const QString &  fn)
Parameters
fnLe nouveau nom de fichier de l'element edite
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLocation()

void QETElementEditor::setLocation ( const ElementsLocation el)

QETElementEditor::setLocation The new location to edit.

Parameters
el
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNames()

void QETElementEditor::setNames ( const NamesList nameslist)
inline
Parameters
nameslistthe new list of names for the currently edited element

◆ setReadOnly()

void QETElementEditor::setReadOnly ( bool  ro)

specifie si l'editeur d'element doit etre en mode lecture seule

Parameters
rotrue pour activer le mode lecture seule, false pour le desactiver
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupActions()

void QETElementEditor::setupActions ( )
private

QETElementEditor::setupActions Create action used in Element editor.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupInterface()

void QETElementEditor::setupInterface ( )
private

QETElementEditor::setupInterface.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupMenus()

void QETElementEditor::setupMenus ( )
private

QETElementEditor::setupMenus.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_createPartsList

void QETElementEditor::slot_createPartsList ( )
slot

Remplit la liste des parties

Here is the caller graph for this function:

◆ slot_new

void QETElementEditor::slot_new ( )
slot

Lance l'assistant de creation d'un nouvel element.

Here is the caller graph for this function:

◆ slot_open

void QETElementEditor::slot_open ( )
slot

Ouvre un element

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_openDxf

void QETElementEditor::slot_openDxf ( )
slot

QETElementEditor::slot_openDxf.

Here is the caller graph for this function:

◆ slot_openFile

void QETElementEditor::slot_openFile ( )
slot

Ouvre un fichier Demande un fichier a l'utilisateur et ouvre ce fichier

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_reload

void QETElementEditor::slot_reload ( )
slot

QETElementEditor::slot_reload Reload the element from the file or location.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_save

bool QETElementEditor::slot_save ( )
slot

QETElementEditor::slot_save Save the current editing element. If the filepath or location is unknown, use save_as instead.

Returns
true if save with success
Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_saveAs

bool QETElementEditor::slot_saveAs ( )
slot

QETElementEditor::slot_saveAs Ask a location to user and save the current edited element to this location.

Returns
true if save with success
Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_saveAsFile

bool QETElementEditor::slot_saveAsFile ( )
slot

QETElementEditor::slot_saveAsFile Ask a file to user and save the current edited element to this file.

Returns
true if save with success
Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_setNoDragToView

void QETElementEditor::slot_setNoDragToView ( )
slot

Passe l'editeur d'element en mode immobile (utilise pour la lecture seule)

Here is the caller graph for this function:

◆ slot_setRubberBandToView

void QETElementEditor::slot_setRubberBandToView ( )
slot

Passe l'editeur d'element en mode selection : le pointeur deplace les elements selectionnes et il est possible d'utiliser un rectangle de selection.

Here is the caller graph for this function:

◆ slot_updateInformations

void QETElementEditor::slot_updateInformations ( )
slot

Met a jour la zone d'information et d'edition des primitives. Si plusieurs primitives sont selectionnees, seule leur quantite est affichee. Sinon, un widget d'edition approprie est mis en place.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_updateMenus

void QETElementEditor::slot_updateMenus ( )
slot

Met a jour les menus

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_updatePartsList

void QETElementEditor::slot_updatePartsList ( )
slot

Met a jour la selection dans la liste des parties

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_updateSelectionFromPartsList

void QETElementEditor::slot_updateSelectionFromPartsList ( )
slot

Met a jour la selection des parties de l'element a partir de la liste des parties

Here is the call graph for this function:
Here is the caller graph for this function:

◆ slot_updateTitle

void QETElementEditor::slot_updateTitle ( )
slot

Met a jour le titre de la fenetre

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toFile()

bool QETElementEditor::toFile ( const QString &  fn)

QETElementEditor::toFile Save to file the drawed element.

Parameters
fn: path of the file
Returns
: true if succesfully save.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toLocation()

bool QETElementEditor::toLocation ( const ElementsLocation location)

QETElementEditor::toLocation Save the element to Location.

Parameters
location: location where we must save the current element
Returns
true if succesfully saved
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UncheckAddPrimitive

void QETElementEditor::UncheckAddPrimitive ( )
slot

QETElementEditor::UncheckAddPrimitive Uncheck all action related to primitive.

Here is the caller graph for this function:

◆ updateCurrentPartEditor

void QETElementEditor::updateCurrentPartEditor ( )
slot

Met a jour l'editeur de primitive actuellement visible. Si aucun editeur de primitive n'est visible, ce slot ne fait rien.

◆ writeSettings()

void QETElementEditor::writeSettings ( )

QETElementEditor::writeSettings Write the settings.

Here is the caller graph for this function:

Member Data Documentation

◆ copy

QAction * QETElementEditor::copy
private

◆ cut

QAction* QETElementEditor::cut
private

◆ depth_toolbar

QToolBar * QETElementEditor::depth_toolbar
private

◆ deselectall

QAction * QETElementEditor::deselectall
private

◆ display_menu

QMenu * QETElementEditor::display_menu
private

◆ edit_author

QAction * QETElementEditor::edit_author
private

◆ edit_delete

QAction* QETElementEditor::edit_delete
private

◆ edit_menu

QMenu * QETElementEditor::edit_menu
private

◆ edit_names

QAction * QETElementEditor::edit_names
private

◆ edit_size_hs

QAction * QETElementEditor::edit_size_hs
private

◆ element_toolbar

QToolBar * QETElementEditor::element_toolbar
private

◆ file_menu

QMenu* QETElementEditor::file_menu
private

menus

◆ filename_

QString QETElementEditor::filename_
private

filename of the currently edited element

◆ inv_select

QAction * QETElementEditor::inv_select
private

◆ location_

ElementsLocation QETElementEditor::location_
private

location of the currently edited element

◆ m_default_informations

QLabel* QETElementEditor::m_default_informations
private

label displayed when several primitives are selected

◆ m_depth_action_group

QActionGroup * QETElementEditor::m_depth_action_group
private

◆ m_edit_properties

QAction * QETElementEditor::m_edit_properties
private

◆ m_editors

QHash<QString, ElementItemEditor *> QETElementEditor::m_editors
private

Hash associating primitive names with their matching edition widget.

◆ m_elmt_scene

ElementScene* QETElementEditor::m_elmt_scene
private

editing scene

◆ m_parts_dock

QDockWidget* QETElementEditor::m_parts_dock
private

Container for the list of existing primitives.

◆ m_parts_list

QListWidget* QETElementEditor::m_parts_list
private

List of primitives.

◆ m_tools_dock

QDockWidget* QETElementEditor::m_tools_dock
private

container for widgets dedicated to primitive edition

◆ m_tools_dock_stack

QStackedWidget* QETElementEditor::m_tools_dock_stack
private

Stack of widgets for tools_dock.

◆ m_undo_dock

QDockWidget* QETElementEditor::m_undo_dock
private

container for the undo list

◆ m_view

ElementView* QETElementEditor::m_view
private

view widget for the editing scene

◆ m_zoom_ag

QActionGroup * QETElementEditor::m_zoom_ag
private

◆ main_toolbar

QToolBar * QETElementEditor::main_toolbar
private

◆ min_title

QString QETElementEditor::min_title
private

minimum window title

◆ new_element

QAction* QETElementEditor::new_element
private

actions for the "file" menu

◆ open

QAction * QETElementEditor::open
private

◆ open_dxf

QAction * QETElementEditor::open_dxf
private

◆ open_file

QAction * QETElementEditor::open_file
private

◆ opened_from_file

bool QETElementEditor::opened_from_file
private

whether the currently edited element comes from a file or a location

◆ parts

QActionGroup* QETElementEditor::parts
private

Action group.

◆ parts_toolbar

QToolBar* QETElementEditor::parts_toolbar
private

toolbars

◆ paste

QAction * QETElementEditor::paste
private

◆ paste_from_elmt

QAction * QETElementEditor::paste_from_elmt
private

◆ paste_from_file

QAction * QETElementEditor::paste_from_file
private

◆ paste_from_menu

QMenu * QETElementEditor::paste_from_menu
private

◆ paste_in_area

QAction * QETElementEditor::paste_in_area
private

◆ quit

QAction * QETElementEditor::quit
private

◆ read_only

bool QETElementEditor::read_only
private

whether the editor is "read-only"

◆ redo

QAction * QETElementEditor::redo
private

◆ reload

QAction * QETElementEditor::reload
private

◆ save

QAction * QETElementEditor::save
private

◆ save_as

QAction * QETElementEditor::save_as
private

◆ save_as_file

QAction * QETElementEditor::save_as_file
private

◆ selectall

QAction* QETElementEditor::selectall
private

actions for the "edit" menu

◆ tools_menu

QMenu * QETElementEditor::tools_menu
private

◆ undo

QAction* QETElementEditor::undo
private

◆ view_toolbar

QToolBar * QETElementEditor::view_toolbar
private

The documentation for this class was generated from the following files: