libyui-qt
Loading...
Searching...
No Matches
QY2StyleSheetSelector.h
1/*
2 Copyright (c) 2022 SUSE LLC
3 This library is free software; you can redistribute it and/or modify
4 it under the terms of the GNU Lesser General Public License as
5 published by the Free Software Foundation; either version 2.1 of the
6 License, or (at your option) version 3.0 of the License. This library
7 is distributed in the hope that it will be useful, but WITHOUT ANY
8 WARRANTY; without even the implied warranty of MERCHANTABILITY or
9 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10 License for more details. You should have received a copy of the GNU
11 Lesser General Public License along with this library; if not, write
12 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13 Floor, Boston, MA 02110-1301 USA
14*/
15
16
17/*-/
18
19 File: QY2StyleSheetSelector.h
20
21 Author: Stefan Hundhammer <shundhammer@suse.de>
22
23 This is a pure Qt dialog without any YQWidgets or YWidgets.
24
25/-*/
26
27
28#ifndef QY2StyleSheetSelector_h
29#define QY2StyleSheetSelector_h
30
31
32#include <QDialog>
33#include "ui_QY2StyleSheetSelector.h"
34
35
36class Ui_QY2StyleSheetSelector;
37
38
46class QY2StyleSheetSelector: public QDialog
47{
48 Q_OBJECT
49
50public:
51
55 QY2StyleSheetSelector( QWidget * parent = 0 );
56
60 virtual ~QY2StyleSheetSelector();
61
62
63public slots:
64
68 void resetToDefault();
69
73 void applySelectedStyle();
74
75
76protected:
77
78 void initWidgets();
79 void populate();
80
81 // Data members
82
83 Ui_QY2StyleSheetSelector * _ui;
84
85}; // class QY2StyleSheetSelector
86
87
88#endif // QY2StyleSheetSelector_h
Definition QY2StyleSheetSelector.h:47
void resetToDefault()
Definition QY2StyleSheetSelector.cc:104
QY2StyleSheetSelector(QWidget *parent=0)
Definition QY2StyleSheetSelector.cc:43
void applySelectedStyle()
Definition QY2StyleSheetSelector.cc:121
virtual ~QY2StyleSheetSelector()
Definition QY2StyleSheetSelector.cc:53