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

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

- File List
- File Members

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
17 class SelectDiagramWidget : public ComboBoxWidgetBase
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();
25 Uml::ID::Type currentID();
26};
27
28#endif // SELECTDIAGRAMWIDGET_H
basictypes.h
ComboBoxWidgetBase
Definition: comboboxwidgetbase.h:16
SelectDiagramWidget
Definition: selectdiagramwidget.h:18
SelectDiagramWidget::setupWidget
void setupWidget(Uml::DiagramType::Enum type, const QString &currentName, const QString &excludeName, bool withNewEntry=true)
Definition: selectdiagramwidget.cpp:36
SelectDiagramWidget::currentText
QString currentText()
Definition: selectdiagramwidget.cpp:64
SelectDiagramWidget::currentID
Uml::ID::Type currentID()
Definition: selectdiagramwidget.cpp:74
comboboxwidgetbase.h
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:63
Uml::ID::Type
std::string Type
Definition: basictypes.h:371