1 #ifndef _KVI_OPTIONSWIDGET_H_
2 #define _KVI_OPTIONSWIDGET_H_
38 #include <QPushButton>
59 QGridLayout *
layout() {
return m_pLayout; };
61 void commitSelectors();
62 void commitOptionsReset();
65 void mergeTip(QWidget *
w,
const QString & tip);
69 void createTabbedPage();
70 void addOptionsWidget(
const QString & szText,
const QIcon & iconSet,
KviOptionsWidget * pWidget);
74 KviBoolSelector * addBoolSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
bool * pOption,
bool bEnabled =
true);
75 KviBoolSelector * addBoolSelector(QWidget * pParent,
const QString & txt,
bool * pOption,
bool bEnabled =
true);
76 KviBoolSelector * addBoolSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
77 KviBoolSelector * addBoolSelector(QWidget * pParnt,
const QString & txt,
int optId,
bool bEnabled =
true);
79 KviColorSelector * addColorSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QColor * pOption,
bool bEnabled =
true);
80 KviColorSelector * addColorSelector(QWidget * pParent,
const QString & txt, QColor * pOption,
bool bEnabled =
true);
81 KviColorSelector * addColorSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
82 KviColorSelector * addColorSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
84 KviMircTextColorSelector * addMircTextColorSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
unsigned int * uFore,
unsigned int * uBack,
bool bEnabled =
true);
85 KviMircTextColorSelector * addMircTextColorSelector(QWidget * pParent,
const QString & txt,
unsigned int * uFore,
unsigned int * uBack,
bool bEnabled =
true);
86 KviMircTextColorSelector * addMircTextColorSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optForeId,
int optBackId,
bool bEnabled =
true);
87 KviMircTextColorSelector * addMircTextColorSelector(QWidget * pParent,
const QString & txt,
int optForeId,
int optBackId,
bool bEnabled =
true);
89 KviDirectorySelector * addDirectorySelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QString * pOption,
bool bEnabled =
true);
90 KviDirectorySelector * addDirectorySelector(QWidget * pParent,
const QString & txt, QString * pOption,
bool bEnabled =
true);
91 KviDirectorySelector * addDirectorySelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
92 KviDirectorySelector * addDirectorySelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
94 KviFileSelector * addFileSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QString * pOption,
bool bEnabled =
true);
95 KviFileSelector * addFileSelector(QWidget * pParent,
const QString & txt, QString * pOption,
bool bEnabled =
true);
96 KviFileSelector * addFileSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
97 KviFileSelector * addFileSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
99 KviSoundSelector * addSoundSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QString * pOption,
bool bEnabled =
true);
100 KviSoundSelector * addSoundSelector(QWidget * pParent,
const QString & txt, QString * pOption,
bool bEnabled =
true);
101 KviSoundSelector * addSoundSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
102 KviSoundSelector * addSoundSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
104 KviFontSelector * addFontSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QFont * pOption,
bool bEnabled =
true);
105 KviFontSelector * addFontSelector(QWidget * pParent,
const QString & txt, QFont * pOption,
bool bEnabled =
true);
106 KviFontSelector * addFontSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
107 KviFontSelector * addFontSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
109 KviPasswordSelector * addPasswordSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QString * pOption,
bool bEnabled =
true);
110 KviPasswordSelector * addPasswordSelector(QWidget * pParent,
const QString & txt, QString * pOption,
bool bEnabled =
true);
111 KviPasswordSelector * addPasswordSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
112 KviPasswordSelector * addPasswordSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
114 KviPixmapSelector * addPixmapSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
115 KviPixmapSelector * addPixmapSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
KviPixmap * pOption,
bool bEnabled =
true);
117 KviStringListSelector * addStringListSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QStringList * pOption,
bool bEnabled =
true);
118 KviStringListSelector * addStringListSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
120 KviStringSelector * addStringSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt, QString * pOption,
bool bEnabled =
true);
121 KviStringSelector * addStringSelector(QWidget * pParent,
const QString & txt, QString * pOption,
bool bEnabled =
true);
122 KviStringSelector * addStringSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
bool bEnabled =
true);
123 KviStringSelector * addStringSelector(QWidget * pParent,
const QString & txt,
int optId,
bool bEnabled =
true);
125 KviUIntSelector * addUIntSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
unsigned int * pOption,
126 unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled =
true);
127 KviUIntSelector * addUIntSelector(QWidget * pParent,
const QString & txt,
unsigned int * pOption,
128 unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled =
true);
129 KviUIntSelector * addUIntSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
int optId,
130 unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled =
true);
131 KviUIntSelector * addUIntSelector(QWidget * pParent,
const QString & txt,
int optId,
132 unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled =
true);
134 KviUIntSelector * addUShortIntSelector(
int x1,
int y1,
int x2,
int y2,
const QString & txt,
unsigned short int * pOption,
135 unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled =
true);
137 QLabel * addLabel(
int x1,
int y1,
int x2,
int y2,
const QString & text,
bool bEnabled =
true);
138 QLabel * addLabel(QWidget * pParent,
const QString & text,
bool bEnabled =
true);
139 QLineEdit * addLineEdit(
int x1,
int y1,
int x2,
int y2,
bool bEnabled =
true);
140 QPushButton * addPushButton(
int x1,
int y1,
int x2,
int y2,
const QString & text,
bool bEnabled =
true);
141 KviTalGroupBox * addGroupBox(
int x1,
int y1,
int x2,
int y2, Qt::Orientation
o,
const QString & txt,
bool bEnabled =
true);
142 QFrame * addSeparator(
int x1,
int y1,
int x2,
int y2);
143 void addRowSpacer(
int x1,
int y1,
int x2,
int y2);
145 void addWidgetToLayout(QWidget *
w,
int x1,
int y1,
int x2,
int y2);
154 virtual void childEvent(QChildEvent *
e);
156 virtual bool eventFilter(QObject * watched, QEvent *
e);
163 void childOptionsWidgetDestroyed();
Definition: KviSelectors.h:215
Definition: KviSelectors.h:59
#define KVIRC_API
Definition: kvi_settings.h:128
Definition: KviSelectors.h:163
#define e
Definition: detector.cpp:69
Definition: KviSelectors.h:349
Definition: KviPixmap.h:33
Definition: KviSelectors.h:78
Toolkit Abstraction Layer: groupbox class.
Definition: KviTalGroupBox.h:43
Definition: KviSelectors.h:47
Definition: KviSelectors.h:256
Definition: KviSelectors.h:103
C++ Template based double linked pointer list class.
#define o
Definition: detector.cpp:79
Definition: KviSelectors.h:379
#define w
Definition: detector.cpp:87
virtual void commit()
Definition: KviSelectors.h:54
QString name()
Definition: KviRuntimeInfo.cpp:655
Definition: KviSelectors.h:295
Definition: KviSelectors.h:267
This file contains compile time settings.
Definition: KviSelectors.h:319
Definition: KviSelectors.h:187