1 /*
2   SPDX-FileCopyrightText: 2008 Eike Hein <hein@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 WINDOWSETTINGS_H
8 #define WINDOWSETTINGS_H
9 
10 #include "ui_windowsettings.h"
11 
12 class WindowSettings : public QWidget, private Ui::WindowSettings
13 {
14     Q_OBJECT
15 
16 public:
17     explicit WindowSettings(QWidget *parent = 0);
18     ~WindowSettings();
19 
20 private:
21 Q_SIGNALS:
22     void updateWindowGeometry(int width, int height, int position);
23 
24 private Q_SLOTS:
25     void updateWidthSlider(int width);
26     void updateWidthSpinBox(int width);
27 
28     void updateHeightSlider(int height);
29     void updateHeightSpinBox(int height);
30 
31     void updateFramesSlider(int height);
32     void updateFramesSpinBox(int height);
33 
34     void updatePosition(int position);
35 
36     void interceptHideTitleBar(int state);
37 };
38 
39 #endif
40