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

selectlayouttypewidget.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) 2019-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef SELECTLAYOUTTYPEWIDGET_H
12 #define SELECTLAYOUTTYPEWIDGET_H
13
14 #include "basictypes.h"
15
16 #include "comboboxwidgetbase.h"
17
18 class SelectLayoutTypeWidget : public ComboBoxWidgetBase
19 {
20 public:
21 explicit SelectLayoutTypeWidget(const QString &title, Uml::LayoutType::Enum selected, QWidget *parent = nullptr);
22
23 void setCurrentLayout(Uml::LayoutType::Enum layout);
24 Uml::LayoutType::Enum currentLayout();
25 };
26
27 #endif // SELECTLAYOUTTYPEWIDGET_H
Uml::LayoutType::Enum
Enum
Definition: basictypes.h:144
SelectLayoutTypeWidget
Definition: selectlayouttypewidget.h:19
Uml::LayoutType::N_LAYOUTTYPES
@ N_LAYOUTTYPES
Definition: basictypes.h:150
Uml::LayoutType::Undefined
@ Undefined
Definition: basictypes.h:145
ComboBoxWidgetBase
Definition: comboboxwidgetbase.h:21
SelectLayoutTypeWidget::setCurrentLayout
void setCurrentLayout(Uml::LayoutType::Enum layout)
Definition: selectlayouttypewidget.cpp:27
Uml::LayoutType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:523
basictypes.h
selectlayouttypewidget.h
SelectLayoutTypeWidget::SelectLayoutTypeWidget
SelectLayoutTypeWidget(const QString &title, Uml::LayoutType::Enum selected, QWidget *parent=nullptr)
Definition: selectlayouttypewidget.cpp:15
ComboBoxWidgetBase::m_editField
KComboBox * m_editField
Definition: comboboxwidgetbase.h:30
Uml::LayoutType::toString
QString toString(Enum item)
Definition: basictypes.cpp:485
comboboxwidgetbase.h
SelectLayoutTypeWidget::currentLayout
Uml::LayoutType::Enum currentLayout()
Definition: selectlayouttypewidget.cpp:32