|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef QET_DIAGRAM_EDITOR_H
19 #define QET_DIAGRAM_EDITOR_H
21 #include <QActionGroup>
23 #include <QSignalMapper>
75 bool event(QEvent *)
override;
void editSelection()
DiagramView::editSelection Edit the selected item if he can be edited and if only one item is selecte...
Definition: diagramview.cpp:1118
void slot_updateComplexActions()
QETDiagramEditor::slot_updateComplexActions Manage the actions who need some conditions to be enable ...
Definition: qetdiagrameditor.cpp:1497
QIcon ConductorEdit
Definition: qeticons.cpp:36
void selectAll()
Definition: diagramview.cpp:122
static void dropInstance()
Definition: dialogwaiting.h:54
static bool clipboardMayContainDiagram()
Diagram::clipboardMayContainDiagram.
Definition: diagram.cpp:2312
int rows_count
Rows count.
Definition: borderproperties.h:51
QAction * m_next_window
Switch to the next document.
Definition: qetdiagrameditor.h:196
static QColor background_color
background color of diagram
Definition: diagram.h:99
@ Rectangle
Definition: qetshapeitem.h:58
AutoNumberingDockWidget * m_autonumbering_dock
Definition: qetdiagrameditor.h:229
QMdiArea m_workspace
Definition: qetdiagrameditor.h:209
QIcon ObjectRotateRight
Definition: qeticons.cpp:124
The BorderProperties class This class is a container for dimensions and display properties of a diagr...
Definition: borderproperties.h:29
void setEventInterface(DiagramEventInterface *event_interface)
Diagram::setEventInterface Set event_interface has current interface. Diagram become the ownership of...
Definition: diagram.cpp:531
The RotateSelectionCommand class Rotate the selected items in the given diagram.
Definition: rotateselectioncommand.h:33
QIcon Grid
Definition: qeticons.cpp:112
QIcon ProjectClose
Definition: qeticons.cpp:144
@ Images
Definition: diagramcontent.h:57
void editDiagramProperties(DiagramView *)
Definition: qetdiagrameditor.cpp:1862
QActionGroup * grp_visu_sel
Action group for visualisation vs edition mode.
Definition: qetdiagrameditor.h:161
The ConductorNumExport class A class to export the num of conductors into a csv file.
Definition: conductornumexport.h:31
void moveDiagramUpx10(Diagram *)
Definition: qetdiagrameditor.cpp:2109
QIcon ZoomFitBest
Definition: qeticons.cpp:178
QMenu * windows_menu
Definition: qetdiagrameditor.h:220
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition: dynamicelementtextitem.h:39
QIcon EditCopy
Definition: qeticons.cpp:64
static void createAndAddSummary(Diagram *diagram)
QetGraphicsTableFactory::createAndAddSummary Open a dialog for ask user the config of the table,...
Definition: qetgraphicstablefactory.cpp:61
bool addProject(QETProject *, bool=true)
Definition: qetdiagrameditor.cpp:1089
QIcon textGroup
Definition: qeticons.cpp:217
bool closeProject(ProjectView *)
Definition: qetdiagrameditor.cpp:951
bool canRotateSelection() const
Diagram::canRotateSelection.
Definition: diagram.cpp:2395
QIcon DocumentOpen
Definition: qeticons.cpp:54
BorderProperties exportBorder()
BorderTitleBlock::exportBorder.
Definition: bordertitleblock.cpp:333
bool toCsv()
ConductorNumExport::toCsv Export the num of conductors into a csv file.
Definition: conductornumexport.cpp:45
QAction * m_mode_visualise
Set visualisation mode.
Definition: qetdiagrameditor.h:171
void slot_updateActions()
QETDiagramEditor::slot_updateActions Manage actions.
Definition: qetdiagrameditor.cpp:1430
void findElementInPanel(const ElementsLocation &)
QETDiagramEditor::findElementInPanel Find the item for location in the element panel.
Definition: qetdiagrameditor.cpp:2181
QIcon EditTableInsertRowUnder
Definition: qeticons.cpp:80
QIcon EditTableDeleteColumn
Definition: qeticons.cpp:75
Definition: qetmainwindow.h:26
void setUpMenu()
QETDiagramEditor::setUpMenu.
Definition: qetdiagrameditor.cpp:714
bool m_first_show
Definition: qetdiagrameditor.h:231
void rowColumnGroupTriggered(QAction *action)
Definition: qetdiagrameditor.cpp:1403
QActionGroup * depthActionGroup(QObject *parent=nullptr)
QET::depthActionGroup.
Definition: qet.cpp:676
QIcon ZoomIn
Definition: qeticons.cpp:179
void adjustSceneRect()
DiagramView::adjustSceneRect Calcul and set the area of the scene visualized by this view.
Definition: diagramview.cpp:837
QAction * m_cascade_window
Show MDI subwindows as cascade.
Definition: qetdiagrameditor.h:194
QAction * m_export_project_db
Definition: qetdiagrameditor.h:192
QAction * m_delete_selection
Only zoom action must displayed in the toolbar.
Definition: qetdiagrameditor.h:199
QActionGroup * m_group_view_mode
Action group for project.
Definition: qetdiagrameditor.h:162
QIcon ProjectProperties
Definition: qeticons.cpp:149
QAction * m_project_edit_properties
Edit the properties of the current project.
Definition: qetdiagrameditor.h:182
void activateProject(QETProject *)
Definition: qetdiagrameditor.cpp:1953
virtual int exec() override
BOMExportDialog::exec.
Definition: bomexportdialog.cpp:59
void setTabbedMode()
Definition: qetdiagrameditor.cpp:1892
QETDiagramEditor(const QETDiagramEditor &)
QIcon ZoomOut
Definition: qeticons.cpp:181
void setUpAutonumberingWidget()
QETDiagramEditor::setUpAutonumberingWidget Setup the dock for AutoNumbering Selection.
Definition: qetdiagrameditor.cpp:221
void setUpUndoStack()
QETDiagramEditor::setUpUndoStack Setup the undostack and undo stack widget.
Definition: qetdiagrameditor.cpp:187
QIcon PartTextField
Definition: qeticons.cpp:135
Definition: deleteqgraphicsitemcommand.h:31
static bool registerProject(QETProject *)
QETApp::registerProject.
Definition: qetapp.cpp:2368
The BOMExportDialog class.
Definition: bomexportdialog.h:34
Definition: recentfiles.h:26
Element * currentElement() const
Definition: qetdiagrameditor.cpp:1175
void addDiagramToProject(QETProject *)
QETDiagramEditor::addDiagramToProject Add a diagram to project.
Definition: qetdiagrameditor.cpp:2012
void setUpSelectionPropertiesEditor()
QETDiagramEditor::setUpSelectionPropertiesEditor Setup the dock for edit the current selection.
Definition: qetdiagrameditor.cpp:210
QIcon EditUndo
Definition: qeticons.cpp:82
void selectionChanged()
QETDiagramEditor::selectionChanged This slot is called when a diagram selection was changed.
Definition: qetdiagrameditor.cpp:2238
void editSelectedElementInEditor()
Definition: qetdiagrameditor.cpp:2199
Definition: diagramcontent.h:46
QList< Element * > m_elements
Definition: diagramcontent.h:69
QIcon DocumentExport
Definition: qeticons.cpp:50
QToolBar * m_depth_tool_bar
Definition: qetdiagrameditor.h:226
QAction * m_previous_window
Switch to the previous document.
Definition: qetdiagrameditor.h:195
QIcon ProjectNew
Definition: qeticons.cpp:145
QETProject * currentProject() const
QETDiagramEditor::currentProject.
Definition: qetdiagrameditor.cpp:1147
QList< QString > editedFiles() const
Definition: qetdiagrameditor.cpp:1745
QIcon DialogInformation
Definition: qeticons.cpp:47
QIcon ConductorSettings
Definition: qeticons.cpp:37
void selectGroupTriggered(QAction *action)
QETDiagramEditor::selectGroupTriggered This slot is called when selection need to change.
Definition: qetdiagrameditor.cpp:1295
bool event(QEvent *) override
Definition: qetmainwindow.cpp:233
static QETDiagramEditor * diagramEditorForFile(const QString &)
QETApp::diagramEditorForFile.
Definition: qetapp.cpp:940
void editElementInEditor(const ElementsLocation &)
Definition: qetdiagrameditor.cpp:2190
bool hasCopiableItems() const
DiagramContent::hasCopiableItems.
Definition: diagramcontent.cpp:213
QAction * m_rotate_texts
Direct selected text items to a specific angle.
Definition: qetdiagrameditor.h:201
QIcon PartSelect
Definition: qeticons.cpp:133
void showError(const QETResult &)
Definition: qetdiagrameditor.cpp:2208
static bool unregisterProject(QETProject *)
QETApp::unregisterProject Cancel the recording of the project project.
Definition: qetapp.cpp:2395
The DiagramEventAddShape class This event manage the creation of a shape.
Definition: diagrameventaddshape.h:29
QActionGroup * m_depth_action_group
Action related to edit a selected item.
Definition: qetdiagrameditor.h:158
DiagramView * currentDiagramView() const
Definition: qetdiagrameditor.cpp:1162
QMenu * help_menu_
Help menu.
Definition: qetmainwindow.h:66
QIcon DocumentPrint
Definition: qeticons.cpp:56
void projectWasClosed(ProjectView *)
Definition: qetdiagrameditor.cpp:1970
QAction * redo
Redo the latest cancelled operation.
Definition: qetdiagrameditor.h:176
void zoomGroupTriggered(QAction *action)
Definition: qetdiagrameditor.cpp:1271
bool isValid()
RotateSelectionCommand::isValid.
Definition: rotateselectioncommand.cpp:117
QAction * undo
Cancel the latest action.
Definition: qetdiagrameditor.h:175
BorderTitleBlock border_and_titleblock
Diagram dimensions and title block.
Definition: diagram.h:83
The AddTextsGroupCommand class Manage the adding of a texts group.
Definition: addelementtextcommand.h:54
void selectNothing()
Definition: diagramview.cpp:129
QIcon EditSelectInvert
Definition: qeticons.cpp:71
QAction * m_add_summary
Add summary graphics item.
Definition: qetdiagrameditor.h:189
void moveDiagramDownx10(Diagram *)
Definition: qetdiagrameditor.cpp:2128
QAction * m_draw_grid
Switch the background grid display or not.
Definition: qetdiagrameditor.h:181
QIcon DocumentSpreadsheet
Definition: qeticons.cpp:51
QToolBar * main_tool_bar
Definition: qetdiagrameditor.h:222
QETProject * project()
Definition: projectview.cpp:65
@ Ellipse
Definition: qetshapeitem.h:59
void insertMenu(QMenu *, QMenu *, bool=true)
Definition: qetmainwindow.cpp:172
bool openRecentFile(const QString &)
Definition: qetdiagrameditor.cpp:917
void activateWidget(QWidget *)
Definition: qetdiagrameditor.cpp:1264
void setUpActions()
QETDiagramEditor::setUpActions Set up all Qaction.
Definition: qetdiagrameditor.cpp:233
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
@ Type
Definition: dynamicelementtextitem.h:61
QActionGroup m_file_actions_group
Action related to global selections.
Definition: qetdiagrameditor.h:166
void subWindowActivated(QMdiSubWindow *subWindows)
QETDiagramEditor::subWindowActivated Slot used to update menu and undo stack when subwindows of MDIar...
Definition: qetdiagrameditor.cpp:2226
QToolBar * m_add_item_tool_bar
Definition: qetdiagrameditor.h:225
QAction * m_export_diagram
Export diagrams of the current project as imagess.
Definition: qetdiagrameditor.h:172
QIcon PartRectangle
Definition: qeticons.cpp:132
int activeSubWindowIndex
Definition: qetdiagrameditor.h:230
QList< Diagram * > diagrams() const
Definition: qetproject.cpp:217
static void createAndAddNomenclature(Diagram *diagram)
QetGraphicsTableFactory::createAndAddNomenclature Open a dialog for ask user the config of the table,...
Definition: qetgraphicstablefactory.cpp:42
QAction * m_find
Definition: qetdiagrameditor.h:207
bool isOk() const
Definition: qetresult.cpp:47
QAction * m_quit_editor
Quit the diagram editor.
Definition: qetdiagrameditor.h:174
QList< ElementTextItemGroup * > selectedTextsGroup() const
DiagramContent::selectedTextsGroup.
Definition: diagramcontent.cpp:150
QAction * m_save_file
Save current project.
Definition: qetdiagrameditor.h:205
void writeSettings()
QETDiagramEditor::writeSettings Write the settings.
Definition: qetdiagrameditor.cpp:1927
QIcon TableOfContent
Definition: qeticons.cpp:163
QIcon TerminalStrip
Definition: qeticons.cpp:210
QIcon ElementEdit
Definition: qeticons.cpp:85
QActionGroup m_selection_actions_group
Action related to add/remove rows/column in diagram.
Definition: qetdiagrameditor.h:157
static void exportDb(projectDataBase *db, QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString())
projectDataBase::exportDb
Definition: projectdatabase.cpp:539
void selectInvert()
Definition: diagramview.cpp:136
bool isReadOnly() const
Diagram::isReadOnly.
Definition: diagram.cpp:2363
~QETDiagramEditor() override
Definition: qetdiagrameditor.cpp:131
QAction * m_add_nomenclature
Add nomenclature graphics item;.
Definition: qetdiagrameditor.h:188
void slot_updateUndoStack()
QETDiagramEditor::slot_updateUndoStack Update the undo stack view.
Definition: qetdiagrameditor.cpp:1486
void setUpElementsCollectionWidget()
QETDiagramEditor::setUpElementsCollectionWidget Set up the dock widget of element collection.
Definition: qetdiagrameditor.cpp:169
void removeDiagramFromProject()
Definition: qetdiagrameditor.cpp:2149
bool openAndAddProject(const QString &, bool=true)
Definition: qetdiagrameditor.cpp:980
void moveDiagramDown(Diagram *)
Definition: qetdiagrameditor.cpp:2070
void removeDiagram(Diagram *)
Definition: qetdiagrameditor.cpp:2029
void editElementRequired(const ElementsLocation &)
DiagramPropertiesEditorDockWidget * m_selection_properties_editor
Definition: qetdiagrameditor.h:217
void closeEvent(QCloseEvent *) override
Definition: qetdiagrameditor.cpp:807
void changeZValue(QET::DepthOption option)
Diagram::changeZValue Change the Z value of the current selected item, according to option.
Definition: diagram.cpp:1784
QIcon EditText
Definition: qeticons.cpp:81
QString filePath()
Definition: qetproject.cpp:250
DepthOption
List the various kind of changes for the zValue.
Definition: qet.h:45
QDir open_dialog_dir
Definition: qetdiagrameditor.h:211
QIcon EditSelectNone
Definition: qeticons.cpp:72
void activateDiagram(Diagram *)
Definition: qetdiagrameditor.cpp:1938
@ Polygon
Definition: qetshapeitem.h:60
QIcon EditSelectAll
Definition: qeticons.cpp:70
void zoom(const qreal zoom_factor)
DiagramView::zoom Zomm the view. A zoom_factor > 1 zoom in. A zoom_factor < 1 zoom out.
Definition: diagramview.cpp:294
QAction * m_project_export_conductor_num
Export the wire num to csv.
Definition: qetdiagrameditor.h:191
QAction * m_find_element
Find the selected element in the panel.
Definition: qetdiagrameditor.h:202
QIcon PartEllipse
Definition: qeticons.cpp:129
void zoomReset()
Definition: diagramview.cpp:335
void editProjectProperties(ProjectView *)
Definition: qetdiagrameditor.cpp:1993
QAction * m_group_selected_texts
Definition: qetdiagrameditor.h:203
QIcon ZoomDraw
Definition: qeticons.cpp:177
ElementsPanelWidget * pa
Elements panel.
Definition: qetdiagrameditor.h:219
QUndoStack & undoStack()
Diagram::undoStack.
Definition: diagram.h:397
void addProjectView(ProjectView *)
QETDiagramEditor::addProjectView Add a new project view to workspace and build the connection between...
Definition: qetdiagrameditor.cpp:1689
QIcon QETLogo
Definition: qeticons.cpp:151
QIcon TransformRotate
Definition: qeticons.cpp:168
QIcon EditRedo
Definition: qeticons.cpp:68
void selectionGroupTriggered(QAction *action)
QETDiagramEditor::selectionGroupTriggered This slot is called when an action should be made on the cu...
Definition: qetdiagrameditor.cpp:1366
bool hasDeletableItems() const
DiagramContent::hasDeletableItems.
Definition: diagramcontent.cpp:190
int columns_count
Columns count.
Definition: borderproperties.h:46
QString errorMessage() const
Definition: qetresult.cpp:61
QUndoGroup undo_group
Definition: qetdiagrameditor.h:228
int count(int=All) const
DiagramContent::count.
Definition: diagramcontent.cpp:401
QAction * conductor_default
Show a dialog to edit default conductor properties.
Definition: qetdiagrameditor.h:179
bool isNull() const
DiagramEventAddImage::isNull.
Definition: diagrameventaddimage.cpp:142
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
QIcon ConfigureToolbars
Definition: qeticons.cpp:39
QMenu * settings_menu_
Settings menu.
Definition: qetmainwindow.h:65
void slot_updateModeActions()
QETDiagramEditor::slot_updateModeActions Manage action who need an opened diagram or project to be up...
Definition: qetdiagrameditor.cpp:1638
ProjectView * viewForFile(const QString &) const
Definition: qetdiagrameditor.cpp:1762
bool openProject()
Definition: qetdiagrameditor.cpp:928
static QETApp * instance()
QETApp::instance.
Definition: qetapp.cpp:153
static RecentFiles * projectsRecentFiles()
QETApp::projectsRecentFiles.
Definition: qetapp.cpp:1386
Definition: diagramtextitem.h:34
QIcon ZoomOriginal
Definition: qeticons.cpp:180
static DialogWaiting * instance(QWidget *parent=nullptr)
Definition: dialogwaiting.h:33
Definition: qetproject.h:51
void zoomContent()
Definition: diagramview.cpp:327
QAction * m_remove_diagram_from_project
Delete a diagram from the current project.
Definition: qetdiagrameditor.h:184
QSet< DynamicElementTextItem * > m_element_texts
Definition: diagramcontent.h:77
QToolBar * diagram_tool_bar
Definition: qetdiagrameditor.h:224
void setWindowedMode()
Definition: qetdiagrameditor.cpp:1883
QAction * m_paste
Paste clipboard content on the current diagram.
Definition: qetdiagrameditor.h:177
Definition: qetresult.h:26
The ProjectView class This class provides a widget displaying the diagrams of a particular project us...
Definition: projectview.h:79
QETDiagramEditor(const QStringList &=QStringList(), QWidget *=nullptr)
QETDiagramEditor::QETDiagramEditor Constructor.
Definition: qetdiagrameditor.cpp:52
void moveDiagramUpTop(Diagram *)
Definition: qetdiagrameditor.cpp:2089
QAction * m_windowed_view_mode
Display projects as windows.
Definition: qetdiagrameditor.h:169
Diagram * diagram()
Definition: diagramview.h:67
void addItemGroupTriggered(QAction *action)
QETDiagramEditor::addItemGroupTriggered This slot is called when an item must be added to the curent ...
Definition: qetdiagrameditor.cpp:1316
QAction * m_tabbed_view_mode
Actions related to file (open, close, save...)
Definition: qetdiagrameditor.h:168
@ SelectedOnly
Definition: diagramcontent.h:66
QActionGroup m_zoom_actions_group
Action related to adding (add text image shape...)
Definition: qetdiagrameditor.h:164
Definition: qetdiagrameditor.h:51
QIcon ro
Definition: qeticons.cpp:200
QAction * m_print
Print diagrams of the current project.
Definition: qetdiagrameditor.h:173
QDockWidget * qdw_undo
Definition: qetdiagrameditor.h:214
void moveDiagramUp(Diagram *)
Definition: qetdiagrameditor.cpp:2051
QAction * m_rotate_selection
Rotate selected elements and text items by 90 degrees.
Definition: qetdiagrameditor.h:200
QIcon EditClear
Definition: qeticons.cpp:62
bool newProject()
QETDiagramEditor::newProject Create a new project with an empty diagram.
Definition: qetdiagrameditor.cpp:900
@ Vertical
Vertical segment.
Definition: qet.h:90
QMessageBox::StandardButton warning(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:68
void diagramWasAdded(DiagramView *)
QETDiagramEditor::diagramWasAdded Manage the adding of diagram view in a project.
Definition: qetdiagrameditor.cpp:2163
void setUpToolBar()
QETDiagramEditor::setUpToolBar.
Definition: qetdiagrameditor.cpp:659
QAction * m_edit_diagram_properties
Show a dialog to edit diagram properties.
Definition: qetdiagrameditor.h:151
void slot_updatePasteAction()
QETDiagramEditor::slot_updatePasteAction Gere les actions ayant besoin du presse-papier.
Definition: qetdiagrameditor.cpp:1675
void slot_updateAutoNumDock()
QETDiagramEditor::slot_updateAutoNumDock Update Auto Num Dock Widget when changing Project.
Definition: qetdiagrameditor.cpp:1473
@ Line
Definition: qetshapeitem.h:57
QList< DiagramTextItem * > selectedTexts() const
DiagramContent::selectedTexts.
Definition: diagramcontent.cpp:130
void generateTerminalBlock()
QETDiagramEditor::generateTerminalBlock.
Definition: qetdiagrameditor.cpp:2251
QIcon DiagramAdd
Definition: qeticons.cpp:42
QIcon EditPaste
Definition: qeticons.cpp:67
SearchAndReplaceWidget m_search_and_replace_widget
Definition: qetdiagrameditor.h:232
QIcon DocumentSave
Definition: qeticons.cpp:58
QAction * m_mode_selection
Set edition mode.
Definition: qetdiagrameditor.h:170
void save()
QETDiagramEditor::save Ask the current active project to save.
Definition: qetdiagrameditor.cpp:853
QIcon PartLine
Definition: qeticons.cpp:130
QAction * m_auto_conductor
Enable/Disable the use of auto conductor.
Definition: qetdiagrameditor.h:178
@ Shapes
Definition: diagramcontent.h:62
QList< QGraphicsItem * > items(int=All) const
DiagramContent::items.
Definition: diagramcontent.cpp:374
QActionGroup m_row_column_actions_group
Definition: qetdiagrameditor.h:156
@ Type
Definition: conductortextitem.h:42
QList< QAction * > m_zoom_action_toolBar
Definition: qetdiagrameditor.h:198
bool drawGrid() const
QETDiagramEditor::drawGrid.
Definition: qetdiagrameditor.cpp:1783
The DiagramEventAddText class This diagram event handle the creation of a new text in a diagram.
Definition: diagrameventaddtext.h:30
QMessageBox::StandardButton critical(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:23
QIcon EditTableInsertColumnRight
Definition: qeticons.cpp:78
QAction * m_save_file_as
Save current project as a specific file.
Definition: qetdiagrameditor.h:206
Definition: diagramview.h:38
ProjectView * findProject(DiagramView *) const
Definition: qetdiagrameditor.cpp:1193
QIcon DiagramBg
Definition: qeticons.cpp:44
QAction * m_edit_selection
To edit selected item.
Definition: qetdiagrameditor.h:197
QSignalMapper windowMapper
Definition: qetdiagrameditor.h:210
QAction * m_close_file
Close current project file.
Definition: qetdiagrameditor.h:204
void reloadOldElementPanel()
Definition: qetdiagrameditor.cpp:2142
QAction * m_csv_export
generate nomenclature
Definition: qetdiagrameditor.h:187
QAction * m_tile_window
Export to file the internal database of the current project.
Definition: qetdiagrameditor.h:193
The DiagramEventAddImage class This diagram event, handle the adding of an image in a diagram.
Definition: diagrameventaddimage.h:31
void setUpElementsPanel()
QETDiagramEditor::setUpElementsPanel Setup the element panel and element panel widget.
Definition: qetdiagrameditor.cpp:138
QIcon PartPolygon
Definition: qeticons.cpp:131
void readSettings()
QETDiagramEditor::readSettings Read the settings.
Definition: qetdiagrameditor.cpp:1902
QAction * m_cut
Cut selection to clipboard.
Definition: qetdiagrameditor.h:153
QAction * m_project_terminalBloc
generate terminal block
Definition: qetdiagrameditor.h:190
The DiagramEventInterface class isRunning() return true if action is running (do something)....
Definition: diagrameventinterface.h:46
QIcon DocumentOpenRecent
Definition: qeticons.cpp:55
QSet< Conductor * > selectedConductors() const
Diagram::selectedConductors.
Definition: diagram.cpp:2297
QAction * m_project_add_diagram
Add a diagram to the current project.
Definition: qetdiagrameditor.h:183
QIcon EditDelete
Definition: qeticons.cpp:66
QAction * m_clean_project
Clean the content of the curent project by removing useless items.
Definition: qetdiagrameditor.h:185
@ FileOpenDiscard
the parsing of the XML content failed
Definition: qetproject.h:61
The RotateTextsCommand class Open a dialog for edit the rotation of the current selected texts and te...
Definition: rotatetextscommand.h:34
@ Elements
Definition: diagramcontent.h:54
QAction * m_grey_background
Switch the background color in white or grey.
Definition: qetdiagrameditor.h:180
void zoomFit()
Definition: diagramview.cpp:318
QIcon Autoconnect
Definition: qeticons.cpp:32
ProjectState state() const
Definition: qetproject.cpp:210
QAction * m_conductor_reset
Reset paths of selected conductors.
Definition: qetdiagrameditor.h:152
void findElementRequired(const ElementsLocation &)
QIcon ViewMove
Definition: qeticons.cpp:172
void slot_updateWindowsMenu()
Definition: qetdiagrameditor.cpp:1818
@ Ok
Definition: qetproject.h:56
QActionGroup m_select_actions_group
Action related to zoom for diagram.
Definition: qetdiagrameditor.h:165
QDockWidget * m_qdw_elmt_collection
Dock for the elements panel.
Definition: qetdiagrameditor.h:213
QList< ProjectView * > openedProjects() const
Definition: qetdiagrameditor.cpp:1114
bool event(QEvent *) override
QETDiagramEditor::event Reimplemented to : -Load elements collection when WindowActivate.
Definition: qetdiagrameditor.cpp:839
void openBackupFiles(QList< KAutoSaveFile * > backup_files)
QETDiagramEditor::openBackupFiles.
Definition: qetdiagrameditor.cpp:1791
QIcon tr
Definition: qeticons.cpp:206
QAction * m_copy
Copy selection to clipboard.
Definition: qetdiagrameditor.h:154
QIcon EditCut
Definition: qeticons.cpp:65
void saveAs()
QETDiagramEditor::saveAs Ask the current active project to save as.
Definition: qetdiagrameditor.cpp:877
QMdiSubWindow * subWindowForWidget(QWidget *) const
Definition: qetdiagrameditor.cpp:1252
QActionGroup m_add_item_actions_group
Definition: qetdiagrameditor.h:163
ElementsCollectionWidget * m_element_collection_widget
Dock for the undo list.
Definition: qetdiagrameditor.h:215
QIcon DiagramDelete
Definition: qeticons.cpp:45
ProjectView * currentProjectView() const
Definition: qetdiagrameditor.cpp:1129
QToolBar * view_tool_bar
Definition: qetdiagrameditor.h:223
QIcon DocumentSaveAs
Definition: qeticons.cpp:60
The ChangeBorderCommand class This command changes the border properties of a particular diagram.
Definition: diagramcommands.h:306
QAction * m_project_folio_list
Sommaire des schemas.
Definition: qetdiagrameditor.h:186
QIcon resize_image
Definition: qeticons.cpp:183
QDockWidget * qdw_pa
Directory to use for file dialogs such as File > save.
Definition: qetdiagrameditor.h:212
QIcon ApplicationExit
Definition: qeticons.cpp:27
QIcon EditTableDeleteRow
Definition: qeticons.cpp:76
QIcon adding_image
Definition: qeticons.cpp:182