umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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
12class KComboBox;
13class QHBoxLayout;
14class QLabel;
15
17{
18 Q_OBJECT
19public:
20 explicit ResolutionWidget(QWidget *parent = 0);
21 float currentResolution();
22
23private slots:
24 void slotTextChanged(const QString &text);
25
26private:
27 QStringList resolutions();
28};
29
30#endif // RESOLUTIONWIDGET_H
Definition: comboboxwidgetbase.h:16
Definition: resolutionwidget.h:17
float currentResolution()
Definition: resolutionwidget.cpp:38
void slotTextChanged(const QString &text)
Definition: resolutionwidget.cpp:80
ResolutionWidget(QWidget *parent=0)
Definition: resolutionwidget.cpp:23
QStringList resolutions()
Definition: resolutionwidget.cpp:59