mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 19:40:53 +01:00
Added a "+" button to add a new diagram to an edited project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1902 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -83,6 +83,9 @@ class ProjectView : public QWidget {
|
||||
void editTitleBlockTemplate(const TitleBlockTemplateLocation &, bool);
|
||||
|
||||
private:
|
||||
void initActions();
|
||||
void initWidgets();
|
||||
void initLayout();
|
||||
void loadDiagrams();
|
||||
DiagramView *findDiagram(Diagram *);
|
||||
void rebuildDiagramsMap();
|
||||
@@ -101,9 +104,11 @@ class ProjectView : public QWidget {
|
||||
|
||||
// attributs
|
||||
private:
|
||||
QAction *add_new_diagram_;
|
||||
QETProject *project_;
|
||||
QVBoxLayout *layout_;
|
||||
QWidget *fallback_widget_;
|
||||
QLabel *fallback_label_;
|
||||
QETTabWidget *tabs_;
|
||||
QMap<int, DiagramView *> diagram_ids_;
|
||||
QList<DiagramView *> diagrams_;
|
||||
|
||||
Reference in New Issue
Block a user