umbrello: umbrello/objectswindow.h Source File

umbrello 2.32.0 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
ObjectsWindow
Definition: objectswindow.h:21
ObjectsWindow::~ObjectsWindow
~ObjectsWindow()
Definition: objectswindow.cpp:54
ObjectsWindow::slotObjectsClicked
void slotObjectsClicked(QModelIndex index)
Definition: objectswindow.cpp:77
ObjectsWindow::slotObjectsDoubleClicked
void slotObjectsDoubleClicked(QModelIndex index)
Definition: objectswindow.cpp:68
ObjectsWindow::modified
void modified()
Definition: objectswindow.cpp:60
ObjectsWindow::ObjectsWindow
ObjectsWindow(const QString &title, QWidget *parent=0)
Definition: objectswindow.cpp:30
ObjectsWindow::m_objectsTree
QTableView * m_objectsTree
Definition: objectswindow.h:37
ObjectsWindow::m_proxyModel
QSortFilterProxyModel * m_proxyModel
Definition: objectswindow.h:38