umbrello: umbrello/umlwidgets/portwidget.h Source File

umbrello 2.32.0 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
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition: pinportbase.h:28
PortWidget
A graphical version of a port on a component.
Definition: portwidget.h:28
PortWidget::ownerWidget
UMLWidget * ownerWidget() const
Definition: portwidget.cpp:58
PortWidget::PortWidget
PortWidget(UMLScene *scene, UMLPort *d, UMLWidget *owner=0)
Definition: portwidget.cpp:42
PortWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: portwidget.cpp:66
PortWidget::~PortWidget
virtual ~PortWidget()
Definition: portwidget.cpp:51
UMLPort
Non-graphical information for a Port.
Definition: port.h:27
UMLScene
Definition: umlscene.h:70
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
pinportbase.h