26 #include <tdelibs_export.h>
52 class TDEUI_EXPORT
KDialog :
public TQDialog
63 KDialog(TQWidget *parent = 0,
const char *name = 0,
64 bool modal =
false, WFlags f = 0);
70 static int marginHint();
76 static int spacingHint();
85 static void resizeLayout( TQWidget *widget,
int margin,
int spacing );
94 static void resizeLayout( TQLayoutItem *lay,
int margin,
int spacing );
106 static void centerOnScreen( TQWidget *widget,
int screen = -1 );
117 static bool avoidArea( TQWidget *widget,
const TQRect& area,
int screen = -1 );
124 virtual void polish();
133 virtual void setCaption(
const TQString &caption );
141 virtual void setPlainCaption(
const TQString &caption );
148 virtual void keyPressEvent(TQKeyEvent*);
162 static const int mMarginSize;
163 static const int mSpacingSize;
166 virtual void virtual_hook(
int id,
void* data );
168 class KDialogPrivate;
169 KDialogPrivate*
const d;
188 class KDialogQueuePrivate;
189 class TDEUI_EXPORT KDialogQueue :
public TQObject
195 static void queueDialog(TQDialog *);
201 static KDialogQueue *
self();
204 void slotShowQueuedDialog();
207 KDialogQueuePrivate*
const d;
208 static KDialogQueue *_self;
241 class TDEUI_EXPORT KSMModalDialog :
public TQWidget
246 KSMModalDialog( TQWidget* parent );
249 void setStatusMessage(TQString message);
250 void setStartupPhase(TQString msg);
251 void closeSMDialog();
255 void closeEvent(TQCloseEvent *e);
258 TQPushButton* m_button1;
259 TQPushButton* m_button2;
260 TQPushButton* m_button3;
261 TQHBoxLayout* m_buttonbox;
262 TQFrame* m_buttonframe;
263 TQGridLayout* m_gridlayout;
266 TQTimer* m_keepOnTopTimer;
267 TQLabel* m_statusLabel;
Dialog with extended non-modal support and methods for KDE standard compliance.
void layoutHintChanged()
Emitted when the margin size and/or spacing size have changed.