1 #ifndef _OPTW_IRCVIEW_H_
2 #define _OPTW_IRCVIEW_H_
3 //=============================================================================
4 //
5 //   File : OptionsWidget_ircView.h
6 //   Creation date : Sat Aug 11 2001 03:28:19 CEST by Szymon Stefanek
7 //
8 //   This file is part of the KVIrc IRC client distribution
9 //   Copyright (C) 2001 Szymon Stefanek (pragma at kvirc dot net)
10 //   Copyright (C) 2008 Elvio Basello (hellvis69 at netsons dot org)
11 //
12 //   This program is FREE software. You can redistribute it and/or
13 //   modify it under the terms of the GNU General Public License
14 //   as published by the Free Software Foundation; either version 2
15 //   of the License, or (at your option) any later version.
16 //
17 //   This program is distributed in the HOPE that it will be USEFUL,
18 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
19 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 //   See the GNU General Public License for more details.
21 //
22 //   You should have received a copy of the GNU General Public License
23 //   along with this program. If not, write to the Free Software Foundation,
24 //   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
28 #include "KviOptionsWidget.h"
29 
30 #include <QComboBox>
31 
32 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_ircViewTheme KviIconManager::IrcView
33 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_ircViewTheme __tr2qs_no_lookup("Output")
34 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_ircViewTheme __tr2qs_no_lookup("theme,colors,output")
35 #define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_ircViewTheme "theme"
36 #define KVI_OPTIONS_WIDGET_CONTAINER_OptionsWidget_ircViewTheme true
37 
38 class OptionsWidget_ircViewTheme : public KviOptionsWidget
39 {
40 	Q_OBJECT
41 public:
42 	OptionsWidget_ircViewTheme(QWidget * pParent);
43 	~OptionsWidget_ircViewTheme();
44 };
45 
46 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_ircViewLook KviIconManager::Canvas
47 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_ircViewLook __tr2qs_no_lookup("Look")
48 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_ircViewLook __tr2qs_no_lookup("theme,colors,output")
49 #define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_ircViewLook "theme"
50 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_ircViewLook OptionsWidget_ircViewTheme
51 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_ircViewLook 30
52 
53 class OptionsWidget_ircViewLook : public KviOptionsWidget
54 {
55 	Q_OBJECT
56 private:
57 	QComboBox * m_pHorizontalAlign;
58 	QComboBox * m_pVerticalAlign;
59 
60 public:
61 	OptionsWidget_ircViewLook(QWidget * parent);
62 	~OptionsWidget_ircViewLook();
63 
64 public:
65 	virtual void commit();
66 };
67 
68 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_ircViewFeatures KviIconManager::IrcView
69 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_ircViewFeatures __tr2qs_no_lookup("Features")
70 #define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_ircViewFeatures "theme"
71 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_ircViewFeatures OptionsWidget_ircViewTheme
72 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_ircViewFeatures 20
73 
74 class OptionsWidget_ircViewFeatures : public KviOptionsWidget
75 {
76 	Q_OBJECT
77 public:
78 	OptionsWidget_ircViewFeatures(QWidget * parent);
79 	~OptionsWidget_ircViewFeatures();
80 };
81 
82 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_ircViewMarker KviIconManager::HideDoubleView
83 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_ircViewMarker __tr2qs_no_lookup("Marker")
84 #define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_ircViewMarker "theme"
85 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_ircViewMarker OptionsWidget_ircViewTheme
86 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_ircViewMarker 10
87 
88 class OptionsWidget_ircViewMarker : public KviOptionsWidget
89 {
90 	Q_OBJECT
91 public:
92 	OptionsWidget_ircViewMarker(QWidget * pParent);
93 	~OptionsWidget_ircViewMarker();
94 	virtual void commit();
95 
96 private:
97 	QComboBox * m_pMarkerStyle;
98 };
99 
100 #endif //!_OPTW_IRCVIEW_H_
101