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