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

umbrello 25.04.0 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 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
12class AssociationWidget;
13class QGroupBox;
14class QListWidget;
15class QListWidgetItem;
16class UMLObject;
17class UMLScene;
18
27 class ClassAssociationsPage : public DialogPageBase
28{
29 Q_OBJECT
30public:
31 ClassAssociationsPage(QWidget *parent, UMLScene * scene, UMLObject * o);
32 ~ClassAssociationsPage();
33
34private:
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
43public Q_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::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::DialogPageBase
DialogPageBase(QWidget *parent)
Definition dialogpagebase.cpp:16
UMLObject
The base class for UML objects.
Definition umlobject.h:70
UMLScene
Definition umlscene.h:65
dialogpagebase.h