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

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
PinWidget
A graphical version of a UML pin.
Definition: pinwidget.h:29
pinwidget.h
activitywidget.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
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
pinportbase.h
Dialog_Utils::askNewName
bool askNewName(WidgetBase::WidgetType type, QString &name)
Definition: dialog_utils.cpp:151
PinWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: pinwidget.cpp:60
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
PinWidget::PinWidget
PinWidget(UMLScene *scene, UMLWidget *owner, Uml::ID::Type id=Uml::ID::None)
Definition: pinwidget.cpp:37
PinPortBase::slotMenuSelection
virtual void slotMenuSelection(QAction *action)
Definition: pinportbase.cpp:174
Uml::TextRole::Floating
@ Floating
Definition: basictypes.h:179
floatingtextwidget.h
WidgetBase::wt_Pin
@ wt_Pin
Definition: widgetbase.h:138
PinPortBase
Abstract base class for PinWidget and PortWidget.
Definition: pinportbase.h:28
ListPopupMenu::MenuType
MenuType
< This type hosts all possible menu entry types
Definition: listpopupmenu.h:44
FloatingTextWidget
Displays a line of text or an operation.
Definition: floatingtextwidget.h:37
PinPortBase::setName
void setName(const QString &strName)
Definition: pinportbase.cpp:116
WidgetBase
Common base class for UMLWidget and AssociationWidget.
Definition: widgetbase.h:105
Uml
Definition: basictypes.cpp:37
umlscene.h
debug_utils.h
UMLScene
Definition: umlscene.h:69
ListPopupMenu::typeFromAction
static MenuType typeFromAction(QAction *action)
Definition: listpopupmenu.cpp:407
PinWidget::~PinWidget
virtual ~PinWidget()
Definition: pinwidget.cpp:53
ListPopupMenu::mt_Rename
@ mt_Rename
Definition: listpopupmenu.h:183
listpopupmenu.h
dialog_utils.h
WidgetBase::m_Text
QString m_Text
Definition: widgetbase.h:319