umbrello: umbrello/umlwidgets/portwidget.h Source File

umbrello 2.32.1 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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5
6 #ifndef PORTWIDGET_H
7 #define PORTWIDGET_H
8
9 #include "pinportbase.h"
10
11 class UMLPort;
12
22 class PortWidget : public PinPortBase
23 {
24 Q_OBJECT
25 public:
26 PortWidget(UMLScene *scene, UMLPort *d, UMLWidget *owner = 0);
27 virtual ~PortWidget();
28
29 UMLWidget* ownerWidget() const;
30
31 public slots:
32 void slotMenuSelection(QAction* action);
33
34 };
35
36 #endif
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition: pinportbase.h:23
PortWidget
A graphical version of a port on a component.
Definition: portwidget.h:23
PortWidget::ownerWidget
UMLWidget * ownerWidget() const
Definition: portwidget.cpp:53
PortWidget::PortWidget
PortWidget(UMLScene *scene, UMLPort *d, UMLWidget *owner=0)
Definition: portwidget.cpp:37
PortWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: portwidget.cpp:61
PortWidget::~PortWidget
virtual ~PortWidget()
Definition: portwidget.cpp:46
UMLPort
Non-graphical information for a Port.
Definition: port.h:22
UMLScene
Definition: umlscene.h:65
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36
pinportbase.h