forked from qt-creator/qt-creator
ModelEditor: Remove diagram's specific document and editor
Only one document is created per .qmodel file and only one editor is opened (splitting is not yet supported). The editor shows one diagram, another diagram can be shown from the model tree. Change-Id: Icd8211c14cb09203c52769a8ea1c90edb741ae51 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -108,31 +108,31 @@ public:
|
||||
|
||||
bool isDiagramClipboardEmpty() const;
|
||||
|
||||
bool hasCurrentDiagramSelection() const;
|
||||
bool hasDiagramSelection(const qmt::MDiagram *diagram) const;
|
||||
|
||||
public:
|
||||
|
||||
void cutFromModel(const MSelection &selection);
|
||||
|
||||
Q_SLOT void cutFromCurrentDiagram();
|
||||
void cutFromDiagram(MDiagram *diagram);
|
||||
|
||||
void copyFromModel(const MSelection &selection);
|
||||
|
||||
Q_SLOT void copyFromCurrentDiagram();
|
||||
void copyFromDiagram(const MDiagram *diagram);
|
||||
|
||||
Q_SLOT void copyCurrentDiagram();
|
||||
void copyDiagram(const MDiagram *diagram);
|
||||
|
||||
void pasteIntoModel(MObject *model_object);
|
||||
|
||||
Q_SLOT void pasteIntoCurrentDiagram();
|
||||
void pasteIntoDiagram(MDiagram *diagram);
|
||||
|
||||
void deleteFromModel(const MSelection &selection);
|
||||
|
||||
Q_SLOT void deleteFromCurrentDiagram();
|
||||
void deleteFromDiagram(MDiagram *diagram);
|
||||
|
||||
Q_SLOT void removeFromCurrentDiagram();
|
||||
void removeFromDiagram(MDiagram *diagram);
|
||||
|
||||
Q_SLOT void selectAllOnCurrentDiagram();
|
||||
void selectAllOnDiagram(MDiagram *diagram);
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user