umbrello
2.32.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
umlwidgets
pinwidget.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) 2002-2020 *
8
* Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9
***************************************************************************/
10
11
#ifndef PINWIDGET_H
12
#define PINWIDGET_H
13
14
#include "
pinportbase.h
"
15
28
class
PinWidget
:
public
PinPortBase
29
{
30
Q_OBJECT
31
public
:
32
33
PinWidget
(
UMLScene
* scene,
UMLWidget
* owner,
Uml::ID::Type
id
=
Uml::ID::None
);
34
virtual
~PinWidget
();
35
36
// int getMinY();
37
38
public
slots:
39
void
slotMenuSelection
(QAction* action);
40
41
// private:
42
// int m_nY;
43
};
44
45
#endif
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition:
pinportbase.h:28
PinWidget
A graphical version of a UML pin.
Definition:
pinwidget.h:29
PinWidget::PinWidget
PinWidget(UMLScene *scene, UMLWidget *owner, Uml::ID::Type id=Uml::ID::None)
Definition:
pinwidget.cpp:37
PinWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition:
pinwidget.cpp:60
PinWidget::~PinWidget
virtual ~PinWidget()
Definition:
pinwidget.cpp:53
UMLScene
Definition:
umlscene.h:70
UMLWidget
The base class for graphical UML objects.
Definition:
umlwidget.h:41
Uml::ID::None
const Type None
special value for uninitialized ID
Definition:
basictypes.h:387
Uml::ID::Type
std::string Type
Definition:
basictypes.h:385
pinportbase.h
Generated by
1.9.1