umbrello  2.39.2
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  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2019-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef SELECTDIAGRAMWIDGET_H
7 #define SELECTDIAGRAMWIDGET_H
8 
9 #include "basictypes.h"
10 
11 #include "comboboxwidgetbase.h"
12 
18 {
19  Q_OBJECT
20 public:
21  explicit SelectDiagramWidget(const QString &title, QWidget *parent = nullptr);
22 
23  void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry = true);
24  QString currentText();
26 };
27 
28 #endif // SELECTDIAGRAMWIDGET_H
Definition: comboboxwidgetbase.h:16
Definition: selectdiagramwidget.h:18
void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry=true)
Definition: selectdiagramwidget.cpp:36
SelectDiagramWidget(const QString &title, QWidget *parent=nullptr)
Definition: selectdiagramwidget.cpp:24
QString currentText()
Definition: selectdiagramwidget.cpp:64
Uml::ID::Type currentID()
Definition: selectdiagramwidget.cpp:74
Enum
Definition: basictypes.h:63
std::string Type
Definition: basictypes.h:371