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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

classassociationspage.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CLASSASSOCIATIONSPAGE_H
7#define CLASSASSOCIATIONSPAGE_H
8
9#include "associationwidgetlist.h"
10#include "dialogpagebase.h"
11
12 class AssociationWidget;
13 class QGroupBox;
14 class QListWidget;
15 class QListWidgetItem;
16 class UMLObject;
17 class UMLScene;
18
27 class ClassAssociationsPage : public DialogPageBase
28{
29 Q_OBJECT
30 public:
31 ClassAssociationsPage(QWidget *parent, UMLScene * scene, UMLObject * o);
32 ~ClassAssociationsPage();
33
34 private:
35 UMLObject *m_pObject;
36 UMLScene *m_pScene;
37 QListWidget *m_pAssocLW;
38 QGroupBox *m_pAssocGB;
39 AssociationWidgetList m_List;
40
41 void fillListBox();
42
43 public slots:
44 void slotDoubleClick(QListWidgetItem *item);
45 void slotRightButtonPressed(const QPoint &p);
46 void slotMenuSelection(QAction* action);
47};
48
49#endif
associationwidgetlist.h
AssociationWidgetList
QList< QPointer< AssociationWidget > > AssociationWidgetList
Definition associationwidgetlist.h:17
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
ClassAssociationsPage
The page shows all the Associations that belong to a UMLClassifier.
Definition classassociationspage.h:28
ClassAssociationsPage::m_pAssocGB
QGroupBox * m_pAssocGB
Definition classassociationspage.h:38
ClassAssociationsPage::m_pScene
UMLScene * m_pScene
Definition classassociationspage.h:36
ClassAssociationsPage::slotDoubleClick
void slotDoubleClick(QListWidgetItem *item)
Definition classassociationspage.cpp:72
ClassAssociationsPage::slotRightButtonPressed
void slotRightButtonPressed(const QPoint &p)
Definition classassociationspage.cpp:105
ClassAssociationsPage::~ClassAssociationsPage
~ClassAssociationsPage()
Definition classassociationspage.cpp:64
ClassAssociationsPage::fillListBox
void fillListBox()
Definition classassociationspage.cpp:91
ClassAssociationsPage::ClassAssociationsPage
ClassAssociationsPage(QWidget *parent, UMLScene *scene, UMLObject *o)
Definition classassociationspage.cpp:32
ClassAssociationsPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition classassociationspage.cpp:112
ClassAssociationsPage::m_pObject
UMLObject * m_pObject
Definition classassociationspage.h:35
ClassAssociationsPage::m_List
AssociationWidgetList m_List
Definition classassociationspage.h:39
ClassAssociationsPage::m_pAssocLW
QListWidget * m_pAssocLW
Definition classassociationspage.h:37
DialogPageBase
Definition dialogpagebase.h:20
UMLObject
The base class for UML objects.
Definition umlobject.h:70
UMLScene
Definition umlscene.h:65
dialogpagebase.h