umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

objectswindow.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) 2016-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef ObjectsWindow_H
12 #define ObjectsWindow_H
13
14 #include <QDockWidget>
15 #include <QModelIndex>
16
17 class QSortFilterProxyModel;
18 class QTableView;
19
20 class ObjectsWindow : public QDockWidget
21 {
22 Q_OBJECT
23 public:
24 explicit ObjectsWindow(const QString &title, QWidget *parent = 0);
25 ~ObjectsWindow();
26
27 signals:
28
29 public slots:
30 void modified();
31
32 protected slots:
33 void slotObjectsDoubleClicked(QModelIndex index);
34 void slotObjectsClicked(QModelIndex index);
35
36 protected:
37 QTableView *m_objectsTree;
38 QSortFilterProxyModel *m_proxyModel;
39 };
40
41 #endif // ObjectsWindow_H
ObjectsModel::emitDataChanged
void emitDataChanged(const QModelIndex &index)
Definition: objectsmodel.cpp:172
UMLDoc::objectsModel
ObjectsModel * objectsModel()
Definition: umldoc.cpp:2599
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(UMLObject *)
umlview.h
ObjectsWindow::m_objectsTree
QTableView * m_objectsTree
Definition: objectswindow.h:37
ObjectsWindow::modified
void modified()
Definition: objectswindow.cpp:60
objectsmodel.h
ObjectsWindow::m_proxyModel
QSortFilterProxyModel * m_proxyModel
Definition: objectswindow.h:38
UMLObject::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlobject.cpp:145
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
ObjectsWindow
Definition: objectswindow.h:21
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
objectswindow.h
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
ObjectsWindow::slotObjectsClicked
void slotObjectsClicked(QModelIndex index)
Definition: objectswindow.cpp:77
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
ObjectsWindow::slotObjectsDoubleClicked
void slotObjectsDoubleClicked(QModelIndex index)
Definition: objectswindow.cpp:68
ObjectsWindow::~ObjectsWindow
~ObjectsWindow()
Definition: objectswindow.cpp:54
uml.h
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
ObjectsWindow::ObjectsWindow
ObjectsWindow(const QString &title, QWidget *parent=0)
Definition: objectswindow.cpp:30
umldoc.h