umbrello  2.32.3
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  * 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) 2015-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef STEREOTYPESWINDOW_H
12 #define STEREOTYPESWINDOW_H
13 
14 #include <QDockWidget>
15 #include <QModelIndex>
16 
17 class QTableView;
18 
19 class StereotypesWindow : public QDockWidget
20 {
21  Q_OBJECT
22 public:
23  explicit StereotypesWindow(const QString &title, QWidget *parent = 0);
25 
26 signals:
27 
28 public slots:
29  void modified();
30 
31 protected slots:
32  void slotStereotypesDoubleClicked(QModelIndex index);
33 
34 protected:
35  QTableView *m_stereotypesTree;
36  void contextMenuEvent(QContextMenuEvent *event);
37 };
38 
39 #endif // STEREOTYPESWINDOW_H
Definition: stereotypeswindow.h:20
void contextMenuEvent(QContextMenuEvent *event)
Definition: stereotypeswindow.cpp:80
StereotypesWindow(const QString &title, QWidget *parent=0)
Definition: stereotypeswindow.cpp:32
void slotStereotypesDoubleClicked(QModelIndex index)
Definition: stereotypeswindow.cpp:71
QTableView * m_stereotypesTree
Definition: stereotypeswindow.h:35
~StereotypesWindow()
Definition: stereotypeswindow.cpp:55
void modified()
Definition: stereotypeswindow.cpp:62