umbrello  2.32.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  * 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 
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();
31 };
32 
33 #endif // SELECTDIAGRAMWIDGET_H
Definition: comboboxwidgetbase.h:21
Definition: selectdiagramwidget.h:23
void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry=true)
Definition: selectdiagramwidget.cpp:41
SelectDiagramWidget(const QString &title, QWidget *parent=nullptr)
Definition: selectdiagramwidget.cpp:29
QString currentText()
Definition: selectdiagramwidget.cpp:69
Uml::ID::Type currentID()
Definition: selectdiagramwidget.cpp:79
Enum
Definition: basictypes.h:77
std::string Type
Definition: basictypes.h:385