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

portwidget.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) 2014-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef PORTWIDGET_H
12 #define PORTWIDGET_H
13
14 #include "pinportbase.h"
15
16 class UMLPort;
17
27 class PortWidget : public PinPortBase
28 {
29 Q_OBJECT
30 public:
31 PortWidget(UMLScene *scene, UMLPort *d, UMLWidget *owner = 0);
32 virtual ~PortWidget();
33
34 UMLWidget* ownerWidget() const;
35
36 public slots:
37 void slotMenuSelection(QAction* action);
38
39 };
40
41 #endif
port.h
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
WidgetBase::name
QString name() const
Definition: widgetbase.cpp:309
DEBUG_REGISTER_DISABLED
#define DEBUG_REGISTER_DISABLED(src)
Definition: debug_utils.h:132
pinportbase.h
Dialog_Utils::askNewName
bool askNewName(WidgetBase::WidgetType type, QString &name)
Definition: dialog_utils.cpp:151
PinPortBase::slotMenuSelection
virtual void slotMenuSelection(QAction *action)
Definition: pinportbase.cpp:174
UMLPort
Non-graphical information for a Port.
Definition: port.h:27
floatingtextwidget.h
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition: pinportbase.h:28
PortWidget::ownerWidget
UMLWidget * ownerWidget() const
Definition: portwidget.cpp:58
WidgetBase::wt_Port
@ wt_Port
Definition: widgetbase.h:142
componentwidget.h
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
PortWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: portwidget.cpp:66
PinPortBase::setName
void setName(const QString &strName)
Definition: pinportbase.cpp:116
umllistview.h
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:105
umlscene.h
uml.h
PortWidget::~PortWidget
virtual ~PortWidget()
Definition: portwidget.cpp:51
portwidget.h
debug_utils.h
PortWidget
A graphical version of a port on a component.
Definition: portwidget.h:28
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
listpopupmenu.h
dialog_utils.h
package.h
PortWidget::PortWidget
PortWidget(UMLScene *scene, UMLPort *d, UMLWidget *owner=0)
Definition: portwidget.cpp:42
umldoc.h
PinPortBase::ownerWidget
virtual UMLWidget * ownerWidget() const
Definition: pinportbase.cpp:86