umbrello: umbrello/umlwidgets/pinwidget.h Source File

umbrello 25.04.0 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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef PINWIDGET_H
7#define PINWIDGET_H
8
9#include "pinportbase.h"
10
23 class PinWidget : public PinPortBase
24{
25 Q_OBJECT
26public:
27
28 PinWidget(UMLScene* scene, UMLWidget* owner, Uml::ID::Type id = Uml::ID::None);
29 virtual ~PinWidget();
30
31public Q_SLOTS:
32 void slotMenuSelection(QAction* action);
33
34// private:
35 // int m_nY;
36};
37
38#endif
PinPortBase::PinPortBase
PinPortBase(UMLScene *scene, WidgetType type, UMLWidget *owner, UMLObject *o)
Definition pinportbase.cpp:32
PinWidget::PinWidget
PinWidget(UMLScene *scene, UMLWidget *owner, Uml::ID::Type id=Uml::ID::None)
Definition pinwidget.cpp:32
PinWidget::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition pinwidget.cpp:55
PinWidget::~PinWidget
virtual ~PinWidget()
Definition pinwidget.cpp:48
UMLScene
Definition umlscene.h:65
UMLWidget::UMLWidget
UMLWidget(UMLScene *scene, WidgetType type=wt_UMLWidget, UMLObject *o=nullptr)
Definition umlwidget.cpp:86
Uml::ID::None
const Type None
special value for uninitialized ID
Definition basictypes.h:373
Uml::ID::Type
std::string Type
Definition basictypes.h:371
pinportbase.h