umbrello  2.39.2
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 
12 class QTableView;
13 
14 class StereotypesWindow : public QDockWidget
15 {
16  Q_OBJECT
17 public:
18  explicit StereotypesWindow(const QString &title, QWidget *parent = 0);
20 
21 signals:
22 
23 public slots:
24  void modified();
25 
26 protected slots:
27  void slotStereotypesDoubleClicked(QModelIndex index);
28 
29 protected:
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
StereotypesWindow(const QString &title, QWidget *parent=0)
Definition: stereotypeswindow.cpp:29
void slotStereotypesDoubleClicked(QModelIndex index)
Definition: stereotypeswindow.cpp:64
QTableView * m_stereotypesTree
Definition: stereotypeswindow.h:30
~StereotypesWindow()
Definition: stereotypeswindow.cpp:48
void modified()
Definition: stereotypeswindow.cpp:55