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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

boxwidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2003-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef BOXWIDGET_H
7#define BOXWIDGET_H
8
9//app includes
10#include "umlwidget.h"
11
22 class BoxWidget : public UMLWidget
23{
24 public:
25 explicit BoxWidget(UMLScene * scene, Uml::ID::Type id = Uml::ID::None, WidgetType type = WidgetBase::wt_Box);
26 virtual ~BoxWidget();
27
28 virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
29 virtual void saveToXMI(QXmlStreamWriter& writer);
30
31 virtual bool showPropertiesDialog();
32
33 protected:
34 void toForeground();
35};
36
37#endif
BoxWidget
Displays a box.
Definition boxwidget.h:23
BoxWidget::~BoxWidget
virtual ~BoxWidget()
Definition boxwidget.cpp:39
BoxWidget::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition boxwidget.cpp:60
BoxWidget::toForeground
void toForeground()
Definition boxwidget.cpp:83
BoxWidget::BoxWidget
BoxWidget(UMLScene *scene, Uml::ID::Type id=Uml::ID::None, WidgetType type=WidgetBase::wt_Box)
Definition boxwidget.cpp:27
BoxWidget::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition boxwidget.cpp:46
BoxWidget::showPropertiesDialog
virtual bool showPropertiesDialog()
Definition boxwidget.cpp:70
UMLScene
Definition umlscene.h:65
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
WidgetBase::WidgetType
WidgetType
Definition widgetbase.h:107
WidgetBase::wt_Box
@ wt_Box
Definition widgetbase.h:120
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
umlwidget.h