umbrello 26.03.70-1a62d36 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

comboboxwidgetbase.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 COMBOBOXWIDGETBASE_H
7#define COMBOBOXWIDGETBASE_H
8
9#include <QWidget>
10
11 class KComboBox;
12 class QGridLayout;
13 class QLabel;
14
15 class ComboBoxWidgetBase : public QWidget
16{
17 Q_OBJECT
18 public:
19 explicit ComboBoxWidgetBase(const QString &title, const QString &postLabel = QString(), QWidget *parent = nullptr);
20 void addToLayout(QGridLayout *layout, int row, int startColumn = 0);
21
22 KComboBox *editField();
23
24 protected:
25 QLabel *m_label;
26 QLabel *m_postLabel;
27 KComboBox *m_editField;
28};
29
30#endif // COMBOBOXWIDGETBASE_H
ComboBoxWidgetBase
Definition: comboboxwidgetbase.h:16
ComboBoxWidgetBase::m_label
QLabel * m_label
Definition: comboboxwidgetbase.h:25
ComboBoxWidgetBase::m_editField
KComboBox * m_editField
Definition: comboboxwidgetbase.h:27
ComboBoxWidgetBase::m_postLabel
QLabel * m_postLabel
Definition: comboboxwidgetbase.h:26
ComboBoxWidgetBase::addToLayout
void addToLayout(QGridLayout *layout, int row, int startColumn=0)
Definition: comboboxwidgetbase.cpp:51
ComboBoxWidgetBase::editField
KComboBox * editField()
Definition: comboboxwidgetbase.cpp:39