Changeset View
Changeset View
Standalone View
Standalone View
src/appearencegtk.h
Show All 38 Lines | 37 | public: | |||
---|---|---|---|---|---|
39 | ~AppearenceGTK(); | 39 | ~AppearenceGTK(); | ||
40 | 40 | | |||
41 | void setTheme(const QString&); | 41 | void setTheme(const QString&); | ||
42 | void setThemeGtk3(const QString &theme); | 42 | void setThemeGtk3(const QString &theme); | ||
43 | void setApplicationPreferDarkTheme(const bool& enable); | 43 | void setApplicationPreferDarkTheme(const bool& enable); | ||
44 | void setCursor(const QString&); | 44 | void setCursor(const QString&); | ||
45 | void setIcon(const QString&); | 45 | void setIcon(const QString&); | ||
46 | void setIconFallback(const QString&); | 46 | void setIconFallback(const QString&); | ||
47 | void setFont(const QString&); | | |||
48 | 47 | | |||
49 | void setToolbarStyle(const QString&); | 48 | void setToolbarStyle(const QString&); | ||
50 | void setShowIconsInMenus(const bool& show); | 49 | void setShowIconsInMenus(const bool& show); | ||
51 | void setShowIconsInButtons(const bool& show); | 50 | void setShowIconsInButtons(const bool& show); | ||
52 | void setPrimaryButtonWarpsSlider(const bool &enable); | 51 | void setPrimaryButtonWarpsSlider(const bool &enable); | ||
53 | 52 | | |||
54 | QString getTheme() const; | 53 | QString getTheme() const; | ||
55 | QString getThemeGtk3() const; | 54 | QString getThemeGtk3() const; | ||
56 | bool getApplicationPreferDarkTheme() const; | 55 | bool getApplicationPreferDarkTheme() const; | ||
57 | 56 | | |||
58 | QString getCursor() const; | 57 | QString getCursor() const; | ||
59 | QString getIcon() const; | 58 | QString getIcon() const; | ||
60 | QString getFont() const; | | |||
61 | QString getIconFallback() const; | 59 | QString getIconFallback() const; | ||
62 | QString getToolbarStyle() const; | 60 | QString getToolbarStyle() const; | ||
63 | bool getShowIconsInMenus() const; | 61 | bool getShowIconsInMenus() const; | ||
64 | bool getShowIconsInButtons() const; | 62 | bool getShowIconsInButtons() const; | ||
65 | bool getPrimaryButtonWarpsSlider() const; | 63 | bool getPrimaryButtonWarpsSlider() const; | ||
66 | 64 | | |||
67 | bool loadFileConfig(); | 65 | bool loadFileConfig(); | ||
68 | bool saveFileConfig(); | 66 | bool saveFileConfig(); | ||
69 | 67 | | |||
70 | AbstractAppearance* gtk2Appearance() const { return m_app.first(); } | 68 | AbstractAppearance* gtk2Appearance() const { return m_app.first(); } | ||
71 | AbstractAppearance* gtk3Appearance() const { return m_app.last(); } | 69 | AbstractAppearance* gtk3Appearance() const { return m_app.last(); } | ||
72 | private: | 70 | private: | ||
73 | QVector<AbstractAppearance*> m_app; | 71 | QVector<AbstractAppearance*> m_app; | ||
74 | }; | 72 | }; | ||
75 | 73 | | |||
76 | #endif // APARIENCIAGTK_H | 74 | #endif // APARIENCIAGTK_H |