diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
commit | a6d58bb6052ac8cb01805a48c4ad2f129126116f (patch) | |
tree | dd867a099fcbb263a8009a9fb22695b87855dad6 /src/modules/options/optw_userlist.h | |
download | kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.tar.gz kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.zip |
Added KDE3 version of kvirc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/options/optw_userlist.h')
-rw-r--r-- | src/modules/options/optw_userlist.h | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/src/modules/options/optw_userlist.h b/src/modules/options/optw_userlist.h new file mode 100644 index 00000000..d5fd4c12 --- /dev/null +++ b/src/modules/options/optw_userlist.h @@ -0,0 +1,114 @@ +#ifndef _OPTW_USERLIST_H_ +#define _OPTW_USERLIST_H_ + +// +// File : optw_userlist.h +// Creation date : Sat Mar 02 2002 12:09:19 CEST by Szymon Stefanek +// +// This file is part of the KVirc irc client distribution +// Copyright (C) 2002-2006 Szymon Stefanek (pragma at kvirc dot net) +// +// This program is FREE software. You can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your opinion) any later version. +// +// This program is distributed in the HOPE that it will be USEFUL, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, write to the Free Software Foundation, +// Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// + +#include "kvi_optionswidget.h" +#include <qcombobox.h> + +#define KVI_OPTIONS_WIDGET_ICON_KviUserListLookOptionsWidget KVI_SMALLICON_USERLIST +#define KVI_OPTIONS_WIDGET_NAME_KviUserListLookOptionsWidget __tr2qs_no_lookup("Userlist") +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviUserListLookOptionsWidget __tr2qs_no_lookup("theme,userlist,channel") +#define KVI_OPTIONS_WIDGET_GROUP_KviUserListLookOptionsWidget "theme" +#define KVI_OPTIONS_WIDGET_CONTAINER_KviUserListLookOptionsWidget true + +class KviUserListLookOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviUserListLookOptionsWidget(QWidget * parent); + ~KviUserListLookOptionsWidget(); +}; + +#define KVI_OPTIONS_WIDGET_ICON_KviUserListLookBackgroundOptionsWidget KVI_SMALLICON_TRANSPARENT +#define KVI_OPTIONS_WIDGET_NAME_KviUserListLookBackgroundOptionsWidget __tr2qs_no_lookup("Background") +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviUserListLookBackgroundOptionsWidget __tr2qs_no_lookup("theme,userlist,channel,background") +#define KVI_OPTIONS_WIDGET_GROUP_KviUserListLookBackgroundOptionsWidget "theme" +#define KVI_OPTIONS_WIDGET_PARENT_KviUserListLookBackgroundOptionsWidget KviUserListLookOptionsWidget +#define KVI_OPTIONS_WIDGET_PRIORITY_KviUserListLookBackgroundOptionsWidget 30 + + +class KviUserListLookBackgroundOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviUserListLookBackgroundOptionsWidget(QWidget * parent); + ~KviUserListLookBackgroundOptionsWidget(); +protected: + QComboBox* m_pHorizontalAlign; + QComboBox* m_pVerticalAlign; +public: + virtual void commit(); +}; + +#define KVI_OPTIONS_WIDGET_ICON_KviUserListLookForegroundOptionsWidget KVI_SMALLICON_USERLIST +#define KVI_OPTIONS_WIDGET_NAME_KviUserListLookForegroundOptionsWidget __tr2qs_no_lookup("Foreground") +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviUserListLookForegroundOptionsWidget __tr2qs_no_lookup("theme,userlist,channel,colors") +#define KVI_OPTIONS_WIDGET_GROUP_KviUserListLookForegroundOptionsWidget "theme" +#define KVI_OPTIONS_WIDGET_PARENT_KviUserListLookForegroundOptionsWidget KviUserListLookOptionsWidget +#define KVI_OPTIONS_WIDGET_PRIORITY_KviUserListLookForegroundOptionsWidget 20 + + +class KviUserListLookForegroundOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviUserListLookForegroundOptionsWidget(QWidget * parent); + ~KviUserListLookForegroundOptionsWidget(); +}; + +#define KVI_OPTIONS_WIDGET_ICON_KviUserListGridOptionsWidget KVI_SMALLICON_GUI +#define KVI_OPTIONS_WIDGET_NAME_KviUserListGridOptionsWidget __tr2qs_no_lookup("Nickname Grid") +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviUserListGridOptionsWidget __tr2qs_no_lookup("theme,userlist,channel,grid") +#define KVI_OPTIONS_WIDGET_GROUP_KviUserListGridOptionsWidget "theme" +#define KVI_OPTIONS_WIDGET_PARENT_KviUserListGridOptionsWidget KviUserListLookOptionsWidget +#define KVI_OPTIONS_WIDGET_PRIORITY_KviUserListGridOptionsWidget 30 + + +class KviUserListGridOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviUserListGridOptionsWidget(QWidget * parent); + ~KviUserListGridOptionsWidget(); +protected: + QComboBox * m_pGridTypeCombo; +public: + virtual void commit(); +}; + +#define KVI_OPTIONS_WIDGET_ICON_KviUserListFeaturesOptionsWidget KVI_SMALLICON_GUI +#define KVI_OPTIONS_WIDGET_NAME_KviUserListFeaturesOptionsWidget __tr2qs_no_lookup("Features") +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviUserListFeaturesOptionsWidget __tr2qs_no_lookup("userlist,channel") +#define KVI_OPTIONS_WIDGET_PARENT_KviUserListFeaturesOptionsWidget KviUserListLookOptionsWidget +#define KVI_OPTIONS_WIDGET_PRIORITY_KviUserListFeaturesOptionsWidget 10 + +class KviUserListFeaturesOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviUserListFeaturesOptionsWidget(QWidget * parent); + ~KviUserListFeaturesOptionsWidget(); +}; + +#endif //!_OPTW_USERLIST_H_ |