umbrello  2.31.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
diagramswindow.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2015-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef DIAGRAMSWINDOW_H
12 #define DIAGRAMSWINDOW_H
13 
14 #include <QDockWidget>
15 #include <QModelIndex>
16 
17 class QTableView;
18 
19 class DiagramsWindow : public QDockWidget
20 {
21  Q_OBJECT
22 public:
23  explicit DiagramsWindow(const QString &title, QWidget *parent = 0);
25 
26 signals:
27 
28 public slots:
29  void modified();
30 
31 protected slots:
32  void slotDiagramsDoubleClicked(QModelIndex index);
33  void slotDiagramsClicked(QModelIndex index);
34 
35 protected:
36  QTableView *m_diagramsTree;
37 };
38 
39 #endif // DIAGRAMSWINDOW_H
DiagramsWindow::DiagramsWindow
DiagramsWindow(const QString &title, QWidget *parent=0)
Definition: diagramswindow.cpp:28
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3106
umlview.h
DiagramsWindow::~DiagramsWindow
~DiagramsWindow()
Definition: diagramswindow.cpp:52
DiagramsModel::emitDataChanged
void emitDataChanged(const QModelIndex &index)
Definition: diagramsmodel.cpp:120
DiagramsWindow
Definition: diagramswindow.h:20
UMLView
Definition: umlview.h:35
UMLDoc::diagramsModel
DiagramsModel * diagramsModel()
Definition: umldoc.cpp:2594
DiagramsWindow::slotDiagramsDoubleClicked
void slotDiagramsDoubleClicked(QModelIndex index)
Definition: diagramswindow.cpp:67
diagramsmodel.h
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
diagramswindow.h
uml.h
UMLView::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlview.cpp:91
DiagramsWindow::slotDiagramsClicked
void slotDiagramsClicked(QModelIndex index)
Definition: diagramswindow.cpp:76
DiagramsWindow::modified
void modified()
Definition: diagramswindow.cpp:59
DiagramsWindow::m_diagramsTree
QTableView * m_diagramsTree
Definition: diagramswindow.h:36
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
umldoc.h