| 1 | /* |
| 2 | Copyright 2006-2023 The QElectroTech Team |
| 3 | This file is part of QElectroTech. |
| 4 | |
| 5 | QElectroTech is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by |
| 7 | the Free Software Foundation, either version 2 of the License, or |
| 8 | (at your option) any later version. |
| 9 | |
| 10 | QElectroTech is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | GNU General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU General Public License |
| 16 | along with QElectroTech. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | #ifndef DIAGRAMPROPERTIESEDITORDOCKWIDGET_H |
| 19 | #define DIAGRAMPROPERTIESEDITORDOCKWIDGET_Hcxx . . $ `sources/ui/diagrampropertieseditordockwidget.h:19:9`! |
| 20 | |
| 21 | #include "../PropertiesEditor/propertieseditordockwidget.h"cxx . . $ `<file>/sources/PropertiesEditor/propertieseditordockwidget.h`/ |
| 22 | |
| 23 | class Diagramcxx . . $ Diagram#; |
| 24 | |
| 25 | class DiagramPropertiesEditorDockWidgetcxx . . $ DiagramPropertiesEditorDockWidget# : public PropertiesEditorDockWidgetcxx . . $ PropertiesEditorDockWidget# |
| 26 | { |
| 27 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 28 | |
| 29 | public: |
| 30 | DiagramPropertiesEditorDockWidgetcxx . . $ DiagramPropertiesEditorDockWidget#DiagramPropertiesEditorDockWidget(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = nullptr); |
| 31 | |
| 32 | void setDiagramcxx . . $ DiagramPropertiesEditorDockWidget#setDiagram(296ebebaa36ce5cf).(Diagramcxx . . $ Diagram# *diagram); |
| 33 | |
| 34 | private: //Make this method private because only this class manage the editor widget. |
| 35 | bool addEditorcxx . . $ DiagramPropertiesEditorDockWidget#addEditor(47f421a0df30119f).(PropertiesEditorWidgetcxx . . $ PropertiesEditorWidget# *editor,int index = 0) |
| 36 | {return PropertiesEditorDockWidgetcxx . . $ PropertiesEditorDockWidget#::addEditorcxx . . $ PropertiesEditorDockWidget#addEditor(47f421a0df30119f).(editor,index); } |
| 37 | bool removeEditorcxx . . $ DiagramPropertiesEditorDockWidget#removeEditor(fb6c9751d804727d).(PropertiesEditorWidgetcxx . . $ PropertiesEditorWidget# *editor) |
| 38 | { return PropertiesEditorDockWidgetcxx . . $ PropertiesEditorDockWidget#::removeEditorcxx . . $ PropertiesEditorDockWidget#removeEditor(fb6c9751d804727d).(editor); } |
| 39 | |
| 40 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 41 | void selectionChangedcxx . . $ DiagramPropertiesEditorDockWidget#selectionChanged(49f6e7a06ebc5aa8).(); |
| 42 | void diagramWasDeletedcxx . . $ DiagramPropertiesEditorDockWidget#diagramWasDeleted(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | private: |
| 45 | Diagramcxx . . $ Diagram# *m_diagramcxx . . $ DiagramPropertiesEditorDockWidget#m_diagram.; |
| 46 | int m_edited_qgi_typecxx . . $ DiagramPropertiesEditorDockWidget#m_edited_qgi_type.; |
| 47 | }; |
| 48 | |
| 49 | #endif // DIAGRAMPROPERTIESEDITORDOCKWIDGET_H |