KVIrc 5.2.6
Developer APIs
OptionsWidget_theme.h
Go to the documentation of this file.
1#ifndef _OPTW_INTERFACELOOKGLOBAL_H_
2#define _OPTW_INTERFACELOOKGLOBAL_H_
3//=============================================================================
4//
5// File : OptionsWidget_theme.h
6// Creation date : Sun Jun 3 2001 20:49:02 CEST by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "kvi_settings.h"
28#include "KviOptionsWidget.h"
29#include "KviSelectors.h"
30
31#include <QComboBox>
32
33#define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_theme KviIconManager::Gui
34#define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_theme __tr2qs_no_lookup("General")
35#define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_theme __tr2qs_no_lookup("theme")
36#define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_theme "theme"
37
39{
40 Q_OBJECT
41public:
42 OptionsWidget_theme(QWidget * parent);
44
45protected:
46 void commit() override;
47
48private:
49 QComboBox * m_pQtStyle;
50};
51
52#define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_themeTransparency KviIconManager::Transparent
53#define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_themeTransparency __tr2qs_no_lookup("Transparency")
54#define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_themeTransparency __tr2qs_no_lookup("theme,background")
55#define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_themeTransparency "theme"
56
58{
59 Q_OBJECT
60public:
61 OptionsWidget_themeTransparency(QWidget * parent);
63
64protected:
65#ifdef COMPILE_PSEUDO_TRANSPARENCY
66 KviPixmapSelector * m_pGlobalBackgroundPixmapSelector;
67 KviBoolSelector * m_pUseTransparencyBoolSelector;
68#ifdef COMPILE_X11_SUPPORT
69 KviBoolSelector * m_pUseCompositingForTransparencyBoolSelector;
70#elif defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
71 KviBoolSelector * m_pUseWindowsFakeDesktopTransparencyBoolSelector;
72#endif
73#endif
74protected slots:
76};
77
78#define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_themeToolBarApplets KviIconManager::Applet
79#define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_themeToolBarApplets __tr2qs_no_lookup("Toolbar Applets")
80#define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_themeToolBarApplets __tr2qs_no_lookup("theme,toolbar")
81#define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_themeToolBarApplets "theme"
82
90
91#endif
Definition KviSelectors.h:59
Definition KviOptionsWidget.h:40
Definition KviSelectors.h:163
Definition OptionsWidget_theme.h:84
OptionsWidget_themeToolBarApplets(QWidget *parent)
Definition OptionsWidget_theme.cpp:187
Definition OptionsWidget_theme.h:58
void enableGlobalBackgroundPixmapSelector(bool)
Definition OptionsWidget_theme.cpp:174
OptionsWidget_themeTransparency(QWidget *parent)
Definition OptionsWidget_theme.cpp:81
Definition OptionsWidget_theme.h:39
void commit() override
Definition OptionsWidget_theme.cpp:68
OptionsWidget_theme(QWidget *parent)
Definition OptionsWidget_theme.cpp:37
QComboBox * m_pQtStyle
Definition OptionsWidget_theme.h:49
This file contains compile time settings.