umbrello: unittests/testwidgetbase.h Source File

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

testwidgetbase.h
Go to the documentation of this file.
1 /*
2 Copyright 2020 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 TESTWIDGETBASE_H
22 #define TESTWIDGETBASE_H
23
24 #include "testbase.h"
25
26 class TestWidgetBase : public TestBase
27 {
28 Q_OBJECT
29 private slots:
30 void test_setSelected();
31 void test_clearSelected();
32 };
33
34 #endif // TESTWIDGETBASE_H
umlrole.h
umlview.h
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
stereotype.h
WidgetBase::wt_UMLWidget
@ wt_UMLWidget
Definition: widgetbase.h:113
testwidgetbase.h
main
int main(int argc, char **argv)
Definition: testumlroledialog.cpp:32
WidgetBase::setSelected
virtual void setSelected(bool select)
Definition: widgetbase.cpp:153
Uml::RoleType::A
@ A
Definition: basictypes.h:239
association.h
TestWidgetBase::test_setSelected
void test_setSelected()
Definition: testwidgetbase.cpp:29
UMLScene::clearSelected
void clearSelected()
Definition: umlscene.cpp:1441
WidgetBase::wt_Box
@ wt_Box
Definition: widgetbase.h:124
testbase.h
UMLRole
Definition: umlrole.h:25
TestWidgetBase
Definition: testwidgetbase.h:27
UMLStereotype
Sets up stereotype information.
Definition: stereotype.h:41
UMLView
Definition: umlview.h:35
UMLWidget::setSelected
virtual void setSelected(bool _select)
Definition: umlwidget.cpp:1573
UMLApp
Definition: uml.h:100
a
QString a
Definition: petalnode.cpp:18
umlwidget.h
folder.h
WidgetBase::wt_Text
@ wt_Text
Definition: widgetbase.h:126
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
widgetbase.h
umlroledialog.h
umlscene.h
uml.h
UMLRoleDialog
Definition: umlroledialog.h:25
UMLAssociation
Sets up association information.
Definition: association.h:33
UMLScene
Definition: umlscene.h:69
TestWidgetBase::test_clearSelected
void test_clearSelected()
Definition: testwidgetbase.cpp:47
TestBase
Definition: testbase.h:48