CCIMXDesktop
Loading...
Searching...
No Matches
WallpaperConfigures.h
1
#ifndef WALLPAPERCONFIGURES_H
2
#define WALLPAPERCONFIGURES_H
3
4
#include "core/wallpaper/WallPaperEngine.h"
5
#include <QWidget>
6
7
class
DesktopMainWindow
;
8
9
namespace
Ui {
10
class
WallpaperConfigures
;
11
}
12
20
class
WallpaperConfigures
:
public
QWidget {
21
Q_OBJECT
22
23
public
:
28
explicit
WallpaperConfigures
(
DesktopMainWindow
* parent);
29
33
~WallpaperConfigures
();
34
39
void
setMode
(
const
WallPaperEngine::SwitchingMode
mode);
40
41
private
slots:
46
void
handle_combox_selections(
const
QString& text);
47
51
void
apply_settings();
52
56
void
on_btn_reset_clicked();
57
61
void
on_btn_apply_clicked();
62
63
private
:
64
Ui::WallpaperConfigures* ui;
65
DesktopMainWindow
* window;
66
WallPaperEngine::SwitchingMode
current_mode;
67
WallPaperEngine::SwitchingMode
prev_mode;
68
QMap<WallPaperEngine::SwitchingMode, QWidget*> settings_widgets;
69
73
void
install_settings_widgets();
74
};
75
76
#endif
// WALLPAPERCONFIGURES_H
DesktopMainWindow
DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting...
Definition
desktopmainwindow.h:33
WallPaperEngine::SwitchingMode
SwitchingMode
Enum for wallpaper switching modes.
Definition
WallPaperEngine.h:27
WallpaperConfigures
The WallpaperConfigures class Provides configuration options for managing wallpaper switching behavio...
Definition
WallpaperConfigures.h:20
WallpaperConfigures::setMode
void setMode(const WallPaperEngine::SwitchingMode mode)
Sets the wallpaper switching mode.
Definition
WallpaperConfigures.cpp:30
WallpaperConfigures::~WallpaperConfigures
~WallpaperConfigures()
Destructor.
Definition
WallpaperConfigures.cpp:26
builtin
window
settings_window
config_items
wallpaper_settings
WallpaperConfigures.h
Generated by
1.9.8