umbrello  2.31.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 
33 {
34  Q_OBJECT
35 public:
36  ClassAssociationsPage(QWidget *parent, UMLScene * scene, UMLObject * o);
38 
39 private:
42  QListWidget *m_pAssocLW;
43  QGroupBox *m_pAssocGB;
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 m_List
Definition: classassociationspage.h:44
void fillListBox()
Definition: classassociationspage.cpp:93
Definition: dialogpagebase.h:24
QGroupBox * m_pAssocGB
Definition: classassociationspage.h:43
~ClassAssociationsPage()
Definition: classassociationspage.cpp:66
UMLScene * m_pScene
Definition: classassociationspage.h:41
The base class for UML objects.
Definition: umlobject.h:73
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde.org or https://bugs.kde.org.
Definition: associationwidget.h:51
ClassAssociationsPage(QWidget *parent, UMLScene *scene, UMLObject *o)
Definition: classassociationspage.cpp:34
The page shows all the Associations that belong to a UMLClassifier.
Definition: classassociationspage.h:32
void slotRightButtonPressed(const QPoint &p)
Definition: classassociationspage.cpp:107
QListWidget * m_pAssocLW
Definition: classassociationspage.h:42
void slotDoubleClick(QListWidgetItem *item)
Definition: classassociationspage.cpp:74
UMLObject * m_pObject
Definition: classassociationspage.h:40
void slotMenuSelection(QAction *action)
Definition: classassociationspage.cpp:114
QList< QPointer< AssociationWidget > > AssociationWidgetList
Definition: associationwidgetlist.h:19
Definition: umlscene.h:68