umbrello: umbrello/dialogs/widgets/selectdiagramwidget.h Source File

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

- Main Page
- Related Pages
- Topics
- 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
20public:
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::SelectDiagramWidget
SelectDiagramWidget(const QString &title, QWidget *parent=nullptr)
Definition selectdiagramwidget.cpp:24
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