umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

testlistpopupmenu.h
Go to the documentation of this file.
1 /*
2 Copyright 2018 Ralf Habacker <ralf.habacker@freenet.de>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of
7 the License or (at your option) version 3 or any later version
8 accepted by the membership of KDE e.V. (or its successor approved
9 by the membership of KDE e.V.), which shall act as a proxy
10 defined in Section 14 of version 3 of the license.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef TESTLISTPOPUPMENU_H
22 #define TESTLISTPOPUPMENU_H
23
24 #include "testbase.h"
25
26 class TestListPopupMenu : public TestBase
27 {
28 Q_OBJECT
29
30 private slots:
31 void test_createWidgetsSingleSelect();
32 void test_createWidgetsMultiSelect();
33 void test_createAssociationWidget();
34 void test_createUMLScene();
35 void test_createUMLListview();
36 void test_createMiscMenu();
37 };
38
39 #endif // TESTLISTPOPUPMENU_H
umllistviewpopupmenu.h
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:35
category.h
instance.h
WidgetBase::toString
static QString toString(WidgetType wt)
Definition: widgetbase.cpp:1215
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
TestListPopupMenu::test_createMiscMenu
void test_createMiscMenu()
Definition: testlistpopupmenu.cpp:137
WidgetBase::wt_Category
@ wt_Category
Definition: widgetbase.h:141
umlview.h
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
Uml::AssociationType::Reserved
@ Reserved
Definition: basictypes.h:129
WidgetBase::wt_UMLWidget
@ wt_UMLWidget
Definition: widgetbase.h:113
DialogsPopupMenu
Definition: dialogspopupmenu.h:17
UMLScenePopupMenu
The UMLScenePopupMenu class.
Definition: umlscenepopupmenu.h:20
entity.h
UMLListViewItem::ListViewType
ListViewType
Definition: umllistviewitem.h:43
AssociationWidget::create
static AssociationWidget * create(UMLScene *scene)
Definition: associationwidget.cpp:102
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
classifierwidget.h
CategoryWidget
A graphical version of a UMLCategory.
Definition: categorywidget.h:37
UniqueID::init
void init()
Definition: uniqueid.cpp:37
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
TestListPopupMenu::test_createUMLScene
void test_createUMLScene()
Definition: testlistpopupmenu.cpp:109
WidgetBase::wt_Min
@ wt_Min
Definition: widgetbase.h:112
TestListPopupMenu::test_createUMLListview
void test_createUMLListview()
Definition: testlistpopupmenu.cpp:122
entitywidget.h
TestListPopupMenu::test_createWidgetsMultiSelect
void test_createWidgetsMultiSelect()
Definition: testlistpopupmenu.cpp:69
Uml::AssociationType::toString
QString toString(Enum item)
Definition: basictypes.cpp:283
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
WidgetBasePopupMenu
Definition: widgetbasepopupmenu.h:20
testbase.h
AssociationWidgetPopupMenu
Definition: associationwidgetpopupmenu.h:22
UMLListViewPopupMenu
Definition: umllistviewpopupmenu.h:17
umlscenepopupmenu.h
Uml::DiagramType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:267
UMLView
Definition: umlview.h:35
TestListPopupMenu::test_createWidgetsSingleSelect
void test_createWidgetsSingleSelect()
Definition: testlistpopupmenu.cpp:44
a
QString a
Definition: petalnode.cpp:18
folder.h
UMLScene::setType
void setType(Uml::DiagramType::Enum type)
Definition: umlscene.cpp:434
TestListPopupMenu
Definition: testlistpopupmenu.h:27
ClassifierWidget
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:33
WidgetBase::wt_Class
@ wt_Class
Definition: widgetbase.h:116
Uml::DiagramType::N_DIAGRAMTYPES
@ N_DIAGRAMTYPES
Definition: basictypes.h:91
Uml::DiagramType::toString
QString toString(Enum item)
Definition: basictypes.cpp:168
Uml::AssociationType::Enum
Enum
Definition: basictypes.h:106
Uml::AssociationType::Generalization
@ Generalization
Definition: basictypes.h:107
umllistview.h
Uml::AssociationType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:449
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:105
UMLFolder
Non-graphical management of objects and diagrams of a Folder.
Definition: folder.h:35
associationwidget.h
DialogsPopupMenu::TriggerType
TriggerType
< This type hosts all possible menu types.
Definition: dialogspopupmenu.h:22
main
int main(int argc, char **argv)
Definition: testcrashhandler.cpp:30
classifier.h
umlscene.h
WidgetBase::wt_Interface
@ wt_Interface
Definition: widgetbase.h:117
EntityWidget
A graphical version of an entity.
Definition: entitywidget.h:30
DialogsPopupMenu::toString
static QString toString(TriggerType type)
Definition: dialogspopupmenu.cpp:134
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
dialogspopupmenu.h
WidgetBase::wt_Entity
@ wt_Entity
Definition: widgetbase.h:120
WidgetBase::WidgetType
WidgetType
Definition: widgetbase.h:111
UMLScene
Definition: umlscene.h:69
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
testlistpopupmenu.h
UMLListViewItem::setUMLObject
void setUMLObject(UMLObject *obj)
Definition: umllistviewitem.cpp:302
UMLListView
Displays the list view for the program.
Definition: umllistview.h:47
UMLCategory
Information for a non-graphical UML Category.
Definition: category.h:28
widgetbasepopupmenu.h
WidgetBase::setBaseType
void setBaseType(const WidgetType &baseType)
Definition: widgetbase.cpp:124
categorywidget.h
TestBase
Definition: testbase.h:48
associationwidgetpopupmenu.h
TestListPopupMenu::test_createAssociationWidget
void test_createAssociationWidget()
Definition: testlistpopupmenu.cpp:94
WidgetBase::wt_Max
@ wt_Max
Definition: widgetbase.h:144
UMLListViewItem::toString
static QString toString(ListViewType type)
Definition: umllistviewitem.cpp:964
ListPopupMenu::dumpActions
void dumpActions(const QString &title)
Definition: listpopupmenu.cpp:631