18 #ifndef QET_DIAGRAM_EDITOR_H 19 #define QET_DIAGRAM_EDITOR_H 21 #include <QActionGroup> 23 #include <QSignalMapper> 74 bool event(QEvent *)
override;
QActionGroup m_row_column_actions_group
QList< ProjectView * > openedProjects() const
DiagramPropertiesEditorDockWidget * m_selection_properties_editor
QAction * m_group_selected_texts
void setUpToolBar()
QETDiagramEditor::setUpToolBar.
QAction * m_paste
Paste clipboard content on the current diagram.
DiagramView * currentDiagramView() const
QAction * m_cut
Cut selection to clipboard.
QAction * m_export_diagram
Export diagrams of the current project as imagess.
ElementsPanelWidget * pa
Elements panel.
void slot_updateComplexActions()
QETDiagramEditor::slot_updateComplexActions Manage the actions who need some conditions to be enable ...
void editDiagramProperties(DiagramView *)
QSignalMapper windowMapper
void moveDiagramDownx10(Diagram *)
QActionGroup * grp_visu_sel
Action group for visualisation vs edition mode.
void slot_updateWindowsMenu()
void removeDiagramFromProject()
void setUpAutonumberingWidget()
QETDiagramEditor::setUpAutonumberingWidget Setup the dock for AutoNumbering Selection.
void setUpElementsCollectionWidget()
QETDiagramEditor::setUpElementsCollectionWidget Set up the dock widget of element collection...
QAction * m_print
Print diagrams of the current project.
QAction * m_edit_diagram_properties
Show a dialog to edit diagram properties.
void editElementInEditor(const ElementsLocation &)
QAction * m_grey_background
Switch the background color in white or grey.
void slot_updateActions()
QETDiagramEditor::slot_updateActions Manage actions.
bool closeProject(ProjectView *)
void editSelectedElementInEditor()
QAction * m_tabbed_view_mode
Actions related to file (open, close, save...)
QAction * m_rotate_texts
Direct selected text items to a specific angle.
void moveDiagramUpx10(Diagram *)
QAction * m_next_window
Switch to the next document.
ProjectView * viewForFile(const QString &) const
void setUpElementsPanel()
QETDiagramEditor::setUpElementsPanel Setup the element panel and element panel widget.
Element * currentElement() const
QDockWidget * m_qdw_elmt_collection
Dock for the elements panel.
QAction * conductor_default
Show a dialog to edit default conductor properties.
AutoNumberingDockWidget * m_autonumbering_dock
void showError(const QETResult &)
QToolBar * m_add_item_tool_bar
void addProjectView(ProjectView *)
QETDiagramEditor::addProjectView Add a new project view to workspace and build the connection between...
QAction * m_mode_selection
Set edition mode.
QToolBar * diagram_tool_bar
QMdiSubWindow * subWindowForWidget(QWidget *) const
QETDiagramEditor(const QStringList &=QStringList(), QWidget *=nullptr)
QETDiagramEditor::QETDiagramEditor Constructor.
QActionGroup * m_group_view_mode
Action group for project.
QAction * m_project_terminalBloc
generate terminal block
void moveDiagramUpTop(Diagram *)
QAction * m_save_file_as
Save current project as a specific file.
QAction * m_save_file
Save current project.
void addItemGroupTriggered(QAction *action)
QETDiagramEditor::addItemGroupTriggered This slot is called when an item must be added to the curent ...
void moveDiagramDown(Diagram *)
bool openAndAddProject(const QString &, bool=true)
void setUpUndoStack()
QETDiagramEditor::setUpUndoStack Setup the undostack and undo stack widget.
QAction * m_cascade_window
Show MDI subwindows as cascade.
QDockWidget * qdw_pa
Directory to use for file dialogs such as File > save.
bool drawGrid() const
QETDiagramEditor::drawGrid.
void removeDiagram(Diagram *)
void setUpActions()
QETDiagramEditor::setUpActions Set up all Qaction.
void zoomGroupTriggered(QAction *action)
ElementsCollectionWidget * m_element_collection_widget
Dock for the undo list.
QAction * undo
Cancel the latest action.
QAction * m_project_nomenclature
generate nomenclature
QAction * m_edit_selection
To edit selected item.
QActionGroup m_zoom_actions_group
Action related to adding (add text image shape...)
void closeEvent(QCloseEvent *) override
QAction * redo
Redo the latest cancelled operation.
void writeSettings()
QETDiagramEditor::writeSettings Write the settings.
void slot_updateModeActions()
QETDiagramEditor::slot_updateModeActions Manage action who need an opened diagram or project to be up...
QAction * m_project_folio_list
Sommaire des schemas.
void slot_updatePasteAction()
ProjectView * currentProjectView() const
QAction * m_quit_editor
Quit the diagram editor.
void generateTerminalBlock()
QETDiagramEditor::generateTerminalBlock.
void slot_updateAutoNumDock()
QETDiagramEditor::slot_updateAutoNumDock Update Auto Num Dock Widget when changing Project...
void setUpMenu()
QETDiagramEditor::setUpMenu.
void slot_updateUndoStack()
QETDiagramEditor::slot_updateUndoStack Update the undo stack view.
void addDiagramToProject(QETProject *)
bool newProject()
QETDiagramEditor::newProject Create an empty project.
QActionGroup m_selection_actions_group
Action related to add/remove rows/column in diagram.
QAction * m_find_element
Find the selected element in the panel.
void save()
QETDiagramEditor::save Ask the current active project to save.
void setUpSelectionPropertiesEditor()
QETDiagramEditor::setUpSelectionPropertiesEditor Setup the dock for edit the current selection...
void activateWidget(QWidget *)
void selectionGroupTriggered(QAction *action)
QETDiagramEditor::selectionGroupTriggered This slot is called when an action should be made on the cu...
~QETDiagramEditor() override
QActionGroup m_file_actions_group
Action related to global selections.
QAction * m_delete_selection
Only zoom action must displayed in the toolbar.
void projectWasClosed(ProjectView *)
SearchAndReplaceWidget m_search_and_replace_widget
QList< QString > editedFiles() const
QAction * m_clean_project
Clean the content of the curent project by removing useless items.
QToolBar * m_depth_tool_bar
QActionGroup * m_depth_action_group
Action related to edit a selected item.
void openBackupFiles(QList< KAutoSaveFile *> backup_files)
QETDiagramEditor::openBackupFiles.
void selectGroupTriggered(QAction *action)
QETDiagramEditor::selectGroupTriggered This slot is called when selection need to change...
void moveDiagramUp(Diagram *)
void saveAs()
QETDiagramEditor::saveAs Ask the current active project to save as.
QList< QAction * > m_zoom_action_toolBar
QAction * m_tile_window
Show MDI subwindows as tile.
QAction * m_mode_visualise
Set visualisation mode.
QActionGroup m_add_item_actions_group
QAction * m_auto_conductor
Enable/Disable the use of auto conductor.
void rowColumnGroupTriggered(QAction *action)
void diagramWasAdded(DiagramView *)
QETDiagramEditor::diagramWasAdded Manage the adding of diagram view in a project. ...
QAction * m_windowed_view_mode
Display projects as windows.
bool openRecentFile(const QString &)
void editProjectProperties(ProjectView *)
QETProject * currentProject() const
QETDiagramEditor::currentProject.
QAction * m_project_add_diagram
Add a diagram to the current project.
QAction * m_previous_window
Switch to the previous document.
bool addProject(QETProject *, bool=true)
QAction * m_copy
Copy selection to clipboard.
void reloadOldElementPanel()
void readSettings()
QETDiagramEditor::readSettings Read the settings.
void activateDiagram(Diagram *)
QAction * m_remove_diagram_from_project
Delete a diagram from the current project.
QAction * m_conductor_reset
Reset paths of selected conductors.
void subWindowActivated(QMdiSubWindow *subWindows)
QETDiagramEditor::subWindowActivated Slot used to update menu and undo stack when subwindows of MDIar...
void activateProject(QETProject *)
ProjectView * findProject(DiagramView *) const
bool event(QEvent *) override
QETDiagramEditor::event Reimplemented to : -Load elements collection when WindowActivate.
QAction * m_project_edit_properties
Edit the properties of the current project.
QAction * m_rotate_selection
Rotate selected elements and text items by 90 degrees.
QAction * m_draw_grid
Switch the background grid display or not.
QAction * m_close_file
Close current project file.
void findElementInPanel(const ElementsLocation &)
QETDiagramEditor::findElementInPanel Find the item for in the element panel.
void selectionChanged()
QETDiagramEditor::selectionChanged This slot is called when a diagram selection was changed...
QActionGroup m_select_actions_group
Action related to zoom for diagram.