umbrello: umbrello/dialogs/pages/classassociationspage.h Source File

umbrello 2.32.1 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
associationwidgetlist.h
AssociationWidgetList
QList< QPointer< AssociationWidget > > AssociationWidgetList
Definition: associationwidgetlist.h:19
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
ClassAssociationsPage
The page shows all the Associations that belong to a UMLClassifier.
Definition: classassociationspage.h:33
ClassAssociationsPage::m_pAssocGB
QGroupBox * m_pAssocGB
Definition: classassociationspage.h:43
ClassAssociationsPage::m_pScene
UMLScene * m_pScene
Definition: classassociationspage.h:41
ClassAssociationsPage::slotDoubleClick
void slotDoubleClick(QListWidgetItem *item)
Definition: classassociationspage.cpp:74
ClassAssociationsPage::slotRightButtonPressed
void slotRightButtonPressed(const QPoint &p)
Definition: classassociationspage.cpp:107
ClassAssociationsPage::~ClassAssociationsPage
~ClassAssociationsPage()
Definition: classassociationspage.cpp:66
ClassAssociationsPage::fillListBox
void fillListBox()
Definition: classassociationspage.cpp:93
ClassAssociationsPage::ClassAssociationsPage
ClassAssociationsPage(QWidget *parent, UMLScene *scene, UMLObject *o)
Definition: classassociationspage.cpp:34
ClassAssociationsPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: classassociationspage.cpp:114
ClassAssociationsPage::m_pObject
UMLObject * m_pObject
Definition: classassociationspage.h:40
ClassAssociationsPage::m_List
AssociationWidgetList m_List
Definition: classassociationspage.h:44
ClassAssociationsPage::m_pAssocLW
QListWidget * m_pAssocLW
Definition: classassociationspage.h:42
DialogPageBase
Definition: dialogpagebase.h:25
UMLObject
The base class for UML objects.
Definition: umlobject.h:75
UMLScene
Definition: umlscene.h:70
dialogpagebase.h