umbrello 2.39.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
stereotypeswindow.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2015-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef STEREOTYPESWINDOW_H
7#define STEREOTYPESWINDOW_H
8
9#include <QDockWidget>
10#include <QModelIndex>
11
12class QTableView;
13
14class StereotypesWindow : public QDockWidget
15{
16 Q_OBJECT
17public:
18 explicit StereotypesWindow(const QString &title, QWidget *parent = nullptr);
20
21Q_SIGNALS:
22
23public Q_SLOTS:
24 void modified();
25
26protected Q_SLOTS:
27 void slotStereotypesDoubleClicked(QModelIndex index);
28
29protected:
30 QTableView *m_stereotypesTree;
31 void contextMenuEvent(QContextMenuEvent *event);
32};
33
34#endif // STEREOTYPESWINDOW_H
Definition stereotypeswindow.h:15
void contextMenuEvent(QContextMenuEvent *event)
Definition stereotypeswindow.cpp:73
void slotStereotypesDoubleClicked(QModelIndex index)
Definition stereotypeswindow.cpp:64
StereotypesWindow(const QString &title, QWidget *parent=nullptr)
Definition stereotypeswindow.cpp:29
QTableView * m_stereotypesTree
Definition stereotypeswindow.h:30
~StereotypesWindow()
Definition stereotypeswindow.cpp:48
void modified()
Definition stereotypeswindow.cpp:55