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

classassociationspage.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) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef CLASSASSOCIATIONSPAGE_H
12 #define CLASSASSOCIATIONSPAGE_H
13
14 #include "associationwidgetlist.h"
15 #include "dialogpagebase.h"
16
17 class AssociationWidget;
18 class QGroupBox;
19 class QListWidget;
20 class QListWidgetItem;
21 class UMLObject;
22 class UMLScene;
23
32 class ClassAssociationsPage : public DialogPageBase
33 {
34 Q_OBJECT
35 public:
36 ClassAssociationsPage(QWidget *parent, UMLScene * scene, UMLObject * o);
37 ~ClassAssociationsPage();
38
39 private:
40 UMLObject *m_pObject;
41 UMLScene *m_pScene;
42 QListWidget *m_pAssocLW;
43 QGroupBox *m_pAssocGB;
44 AssociationWidgetList m_List;
45
46 void fillListBox();
47
48 public slots:
49 void slotDoubleClick(QListWidgetItem *item);
50 void slotRightButtonPressed(const QPoint &p);
51 void slotMenuSelection(QAction* action);
52 };
53
54 #endif
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
ListPopupMenu::mt_Properties
@ mt_Properties
Definition: listpopupmenu.h:182
ClassAssociationsPage::slotDoubleClick
void slotDoubleClick(QListWidgetItem *item)
Definition: classassociationspage.cpp:74
DialogsPopupMenu
Definition: dialogspopupmenu.h:17
ClassAssociationsPage::m_List
AssociationWidgetList m_List
Definition: classassociationspage.h:44
associationpropertiesdialog.h
ClassAssociationsPage::slotRightButtonPressed
void slotRightButtonPressed(const QPoint &p)
Definition: classassociationspage.cpp:107
ClassAssociationsPage::fillListBox
void fillListBox()
Definition: classassociationspage.cpp:93
dialogpagebase.h
UMLScene::removeAssocInViewAndDoc
void removeAssocInViewAndDoc(AssociationWidget *assoc)
Definition: umlscene.cpp:2245
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
ClassAssociationsPage::m_pScene
UMLScene * m_pScene
Definition: classassociationspage.h:41
Uml::AssociationType::Anchor
@ Anchor
Definition: basictypes.h:120
AssociationWidget::associationType
Uml::AssociationType::Enum associationType() const
Definition: associationwidget.cpp:1401
AssociationWidgetList
QList< QPointer< AssociationWidget > > AssociationWidgetList
Definition: associationwidgetlist.h:19
DialogsPopupMenu::tt_Association_Selected
@ tt_Association_Selected
Definition: dialogspopupmenu.h:25
ClassAssociationsPage::m_pObject
UMLObject * m_pObject
Definition: classassociationspage.h:40
a
QString a
Definition: petalnode.cpp:18
AssociationWidget::toString
QString toString() const
Definition: associationwidget.cpp:1486
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
DialogPageBase
Definition: dialogpagebase.h:25
i18n
#define i18n
Definition: main.cpp:39
ClassAssociationsPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: classassociationspage.cpp:114
UMLScene::getWidgetAssocs
void getWidgetAssocs(UMLObject *Obj, AssociationWidgetList &Associations)
Definition: umlscene.cpp:2311
ListPopupMenu::toString
static QString toString(MenuType menu)
Definition: listpopupmenu.cpp:609
uDebug
#define uDebug()
Definition: debug_utils.h:122
ListPopupMenu::mt_Line_Color
@ mt_Line_Color
Definition: listpopupmenu.h:197
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
classassociationspage.h
ClassAssociationsPage
The page shows all the Associations that belong to a UMLClassifier.
Definition: classassociationspage.h:33
associationwidget.h
ListPopupMenu::mt_Delete
@ mt_Delete
Definition: listpopupmenu.h:186
ClassAssociationsPage::~ClassAssociationsPage
~ClassAssociationsPage()
Definition: classassociationspage.cpp:66
umlscene.h
debug_utils.h
dialogspopupmenu.h
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
ClassAssociationsPage::m_pAssocLW
QListWidget * m_pAssocLW
Definition: classassociationspage.h:42
umlobject.h
associationwidgetlist.h
ClassAssociationsPage::m_pAssocGB
QGroupBox * m_pAssocGB
Definition: classassociationspage.h:43
ClassAssociationsPage::ClassAssociationsPage
ClassAssociationsPage(QWidget *parent, UMLScene *scene, UMLObject *o)
Definition: classassociationspage.cpp:34