umbrello: umbrello/stereotypeswindow.h Source File

umbrello 2.31.1 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);
24 ~StereotypesWindow();
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
StereotypesWindow::modified
void modified()
Definition: stereotypeswindow.cpp:59
stereotypesmodel.h
stereotype.h
StereotypesWindow::slotStereotypesDoubleClicked
void slotStereotypesDoubleClicked(QModelIndex index)
Definition: stereotypeswindow.cpp:68
StereotypesWindow::StereotypesWindow
StereotypesWindow(const QString &title, QWidget *parent=0)
Definition: stereotypeswindow.cpp:29
UMLDoc::stereotypesModel
StereotypesModel * stereotypesModel()
Definition: umldoc.cpp:2602
UMLDoc::stereotypes
const UMLStereotypeList & stereotypes() const
Definition: umldoc.cpp:1385
StereotypesWindow::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event)
Definition: stereotypeswindow.cpp:77
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:41
UMLObject::ot_Stereotype
@ ot_Stereotype
Definition: umlobject.h:99
StereotypesModel::emitDataChanged
void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:112
UMLStereotype::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent)
Definition: stereotype.cpp:109
StereotypesWindow::m_stereotypesTree
QTableView * m_stereotypesTree
Definition: stereotypeswindow.h:35
Dialog_Utils::askDefaultNewName
bool askDefaultNewName(WidgetBase::WidgetType type, QString &name)
Definition: dialog_utils.cpp:178
v
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
StereotypesModel::addStereotype
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
stereotypeswindow.h
uml.h
StereotypesWindow
Definition: stereotypeswindow.h:20
dialog_utils.h
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
umldoc.h
StereotypesWindow::~StereotypesWindow
~StereotypesWindow()
Definition: stereotypeswindow.cpp:52