#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/microkde/kdialogbase.h>
Inheritance diagram for KDialogBase:


Public Types | |
| enum | ButtonCode { Help = 0x00000001, Default = 0x00000002, Ok = 0x00000004, Apply = 0x00000008, Try = 0x00000010, Cancel = 0x00000020, Close = 0x00000040, User1 = 0x00000080, User2 = 0x00000100, User3 = 0x00000200, No = 0x00000080, Yes = 0x00000100, Details = 0x00000400, Filler = 0x40000000, Stretch = 0x80000000 } |
| enum | DialogType { TreeList, Tabbed, Plain, Swallow, IconList } |
Signals | |
| void | user1Clicked () |
Public Member Functions | |
| KDialogBase () | |
| KDialogBase (QWidget *parent=0, const char *name=0, bool modal=true, const QString &caption=QString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const QString &user1=QString::null, const QString &user2=QString::null, const QString &user3=QString::null) | |
| KDialogBase (int dialogFace, const QString &caption, int buttonMask, ButtonCode defaultButton, QWidget *parent=0, const char *name=0, bool modal=true, bool separator=false, const QString &user1=QString::null, const QString &user2=QString::null, const QString &user3=QString::null) | |
| virtual | ~KDialogBase () |
| QFrame * | addPage (const QString &) |
| QFrame * | addPage (const QString &, int, const QPixmap &) |
| void | setMainWidget (QWidget *widget) |
| void | enableButton (ButtonCode id, bool state) |
| void | enableButtonOK (bool state) |
| void | enableButtonApply (bool state) |
| int | pageIndex (QWidget *widget) const |
| bool | showPage (int index) |
| QFrame * | plainPage () |
Protected Slots | |
| virtual void | slotOk () |
| virtual void | slotApply () |
| virtual void | slotCancel () |
| virtual void | slotClose () |
| virtual void | slotUser1 () |
Private Member Functions | |
| QTabWidget * | tabWidget () |
| void | init (const QString &caption, int buttonMask, const QString &user1=QString::null) |
| void | initLayout () |
Private Attributes | |
| QWidget * | mMainWidget |
| QTabWidget * | mTabWidget |
| QFrame * | mPlainPage |
| QBoxLayout * | mTopLayout |
| QPushButton * | mUser1Button |
| QPushButton * | mCloseButton |
| QPushButton * | mOkButton |
| QPushButton * | mApplyButton |
| QPushButton * | mCancelButton |
|
|
Definition at line 17 of file kdialogbase.h. |
|
|
Definition at line 36 of file kdialogbase.h. |
|
|
Definition at line 11 of file kdialogbase.cpp. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 15 of file kdialogbase.cpp. References init(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 27 of file kdialogbase.cpp. References init(). |
|
|
Definition at line 39 of file kdialogbase.cpp. |
|
||||||||||||||||
|
Definition at line 128 of file kdialogbase.cpp. References addPage(). |
|
|
Definition at line 119 of file kdialogbase.cpp. References frame, and tabWidget(). Referenced by addPage(), KateView::configDialog(), and HighlightDialog::HighlightDialog(). |
|
||||||||||||
|
Definition at line 143 of file kdialogbase.cpp. References Apply, mApplyButton, mOkButton, and Ok. Referenced by enableButtonApply(), and enableButtonOK(). |
|
|
Definition at line 166 of file kdialogbase.cpp. References Apply, and enableButton(). |
|
|
Definition at line 161 of file kdialogbase.cpp. References enableButton(), and Ok. |
|
||||||||||||||||
|
Definition at line 43 of file kdialogbase.cpp. References Apply, Cancel, Close, i18n, QString::isEmpty(), mApplyButton, mCancelButton, mCloseButton, mMainWidget, mOkButton, mPlainPage, mTabWidget, mTopLayout, mUser1Button, Ok, slotApply(), slotCancel(), slotClose(), slotOk(), slotUser1(), and User1. Referenced by KDialogBase(). |
|
|
Definition at line 100 of file kdialogbase.cpp. References mApplyButton, KDialog::marginHint(), mCancelButton, mCloseButton, mMainWidget, mOkButton, mTopLayout, mUser1Button, and KDialog::spacingHint(). Referenced by setMainWidget(). |
|
|
Definition at line 172 of file kdialogbase.cpp. |
|
|
Definition at line 183 of file kdialogbase.cpp. References mPlainPage, and setMainWidget(). |
|
|
Definition at line 134 of file kdialogbase.cpp. References Opie::Core::endl(), initLayout(), kdDebug(), and mMainWidget. Referenced by GotoLineDialog::GotoLineDialog(), HlEditDialog::HlEditDialog(), plainPage(), ReplacePrompt::ReplacePrompt(), SearchDialog::SearchDialog(), and tabWidget(). |
|
|
Definition at line 178 of file kdialogbase.cpp. |
|
|
Definition at line 197 of file kdialogbase.cpp. Referenced by init(). |
|
|
Definition at line 201 of file kdialogbase.cpp. Referenced by init(). |
|
|
Definition at line 206 of file kdialogbase.cpp. Referenced by init(). |
|
|
Reimplemented in SearchDialog. Definition at line 192 of file kdialogbase.cpp. Referenced by init(). |
|
|
Reimplemented in ReplacePrompt. Definition at line 211 of file kdialogbase.cpp. References user1Clicked(). Referenced by init(). |
|
|
Definition at line 91 of file kdialogbase.cpp. References mTabWidget, and setMainWidget(). Referenced by addPage(). |
|
|
Referenced by slotUser1(). |
|
|
Definition at line 101 of file kdialogbase.h. Referenced by enableButton(), init(), and initLayout(). |
|
|
Definition at line 102 of file kdialogbase.h. Referenced by init(), and initLayout(). |
|
|
Definition at line 99 of file kdialogbase.h. Referenced by init(), and initLayout(). |
|
|
Definition at line 93 of file kdialogbase.h. Referenced by init(), initLayout(), and setMainWidget(). |
|
|
Definition at line 100 of file kdialogbase.h. Referenced by enableButton(), init(), and initLayout(). |
|
|
Definition at line 95 of file kdialogbase.h. Referenced by init(), and plainPage(). |
|
|
Definition at line 94 of file kdialogbase.h. Referenced by init(), and tabWidget(). |
|
|
Definition at line 96 of file kdialogbase.h. Referenced by init(), and initLayout(). |
|
|
Definition at line 98 of file kdialogbase.h. Referenced by init(), and initLayout(). |
1.4.2