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

selectdiagramwidget.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 SELECTDIAGRAMWIDGET_H
12 #define SELECTDIAGRAMWIDGET_H
13
14 #include "basictypes.h"
15
16 #include "comboboxwidgetbase.h"
17
22 class SelectDiagramWidget : public ComboBoxWidgetBase
23 {
24 Q_OBJECT
25 public:
26 explicit SelectDiagramWidget(const QString &title, QWidget *parent = nullptr);
27
28 void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry = true);
29 QString currentText();
30 Uml::ID::Type currentID();
31 };
32
33 #endif // SELECTDIAGRAMWIDGET_H
SelectDiagramWidget::currentID
Uml::ID::Type currentID()
Definition: selectdiagramwidget.cpp:79
SelectDiagramWidget::currentText
QString currentText()
Definition: selectdiagramwidget.cpp:69
umlview.h
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
SelectDiagramWidget
Definition: selectdiagramwidget.h:23
SelectDiagramWidget::SelectDiagramWidget
SelectDiagramWidget(const QString &title, QWidget *parent=nullptr)
Definition: selectdiagramwidget.cpp:29
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
selectdiagramwidget.h
ComboBoxWidgetBase
Definition: comboboxwidgetbase.h:21
UMLView
Definition: umlview.h:35
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
i18n
#define i18n
Definition: main.cpp:39
basictypes.h
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
umlscene.h
uml.h
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
ComboBoxWidgetBase::m_editField
KComboBox * m_editField
Definition: comboboxwidgetbase.h:30
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
comboboxwidgetbase.h
SelectDiagramWidget::setupWidget
void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry=true)
Definition: selectdiagramwidget.cpp:41
umldoc.h