umbrello
2.39.0
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
umbrello
dialogs
widgets
resolutionwidget.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2015-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5
*/
6
7
#ifndef RESOLUTIONWIDGET_H
8
#define RESOLUTIONWIDGET_H
9
10
#include "
comboboxwidgetbase.h
"
11
12
class
KComboBox;
13
class
QHBoxLayout;
14
class
QLabel;
15
16
class
ResolutionWidget
:
public
ComboBoxWidgetBase
17
{
18
Q_OBJECT
19
public
:
20
explicit
ResolutionWidget
(QWidget *parent =
nullptr
);
21
float
currentResolution
();
22
23
private
Q_SLOTS:
24
void
slotTextChanged
(
const
QString &text);
25
26
private
:
27
QStringList
resolutions
();
28
};
29
30
#endif
// RESOLUTIONWIDGET_H
ComboBoxWidgetBase
Definition
comboboxwidgetbase.h:16
ResolutionWidget
Definition
resolutionwidget.h:17
ResolutionWidget::currentResolution
float currentResolution()
Definition
resolutionwidget.cpp:38
ResolutionWidget::slotTextChanged
void slotTextChanged(const QString &text)
Definition
resolutionwidget.cpp:80
ResolutionWidget::resolutions
QStringList resolutions()
Definition
resolutionwidget.cpp:59
ResolutionWidget::ResolutionWidget
ResolutionWidget(QWidget *parent=nullptr)
Definition
resolutionwidget.cpp:23
comboboxwidgetbase.h
Generated by
1.10.0