umbrello: umbrello/objectswindow.h Source File

umbrello 25.08.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 = nullptr);
20 ~ObjectsWindow();
21
22Q_SIGNALS:
23
24public Q_SLOTS:
25 void modified();
26
27protected Q_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::~ObjectsWindow
~ObjectsWindow()
Definition objectswindow.cpp:45
ObjectsWindow::slotObjectsClicked
void slotObjectsClicked(QModelIndex index)
Definition objectswindow.cpp:68
ObjectsWindow::ObjectsWindow
ObjectsWindow(const QString &title, QWidget *parent=nullptr)
Definition objectswindow.cpp:25
ObjectsWindow::slotObjectsDoubleClicked
void slotObjectsDoubleClicked(QModelIndex index)
Definition objectswindow.cpp:59
ObjectsWindow::modified
void modified()
Definition objectswindow.cpp:51
ObjectsWindow::m_objectsTree
QTableView * m_objectsTree
Definition objectswindow.h:32
ObjectsWindow::m_proxyModel
QSortFilterProxyModel * m_proxyModel
Definition objectswindow.h:33