umbrello: umbrello/objectswindow.h Source File

umbrello 2.34.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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2016-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef ObjectsWindow_H
7#define ObjectsWindow_H
8
9#include <QDockWidget>
10#include <QModelIndex>
11
12class QSortFilterProxyModel;
13class QTableView;
14
15 class ObjectsWindow : public QDockWidget
16{
17 Q_OBJECT
18public:
19 explicit ObjectsWindow(const QString &title, QWidget *parent = 0);
20 ~ObjectsWindow();
21
22signals:
23
24public slots:
25 void modified();
26
27protected slots:
28 void slotObjectsDoubleClicked(QModelIndex index);
29 void slotObjectsClicked(QModelIndex index);
30
31protected:
32 QTableView *m_objectsTree;
33 QSortFilterProxyModel *m_proxyModel;
34};
35
36#endif // ObjectsWindow_H
ObjectsWindow
Definition: objectswindow.h:16
ObjectsWindow::~ObjectsWindow
~ObjectsWindow()
Definition: objectswindow.cpp:49
ObjectsWindow::slotObjectsClicked
void slotObjectsClicked(QModelIndex index)
Definition: objectswindow.cpp:72
ObjectsWindow::slotObjectsDoubleClicked
void slotObjectsDoubleClicked(QModelIndex index)
Definition: objectswindow.cpp:63
ObjectsWindow::modified
void modified()
Definition: objectswindow.cpp:55
ObjectsWindow::ObjectsWindow
ObjectsWindow(const QString &title, QWidget *parent=0)
Definition: objectswindow.cpp:25
ObjectsWindow::m_objectsTree
QTableView * m_objectsTree
Definition: objectswindow.h:32
ObjectsWindow::m_proxyModel
QSortFilterProxyModel * m_proxyModel
Definition: objectswindow.h:33