#include <kdialog.h>
Inheritance diagram for KDialog:

Public Slots | |
| virtual void | setCaption (const QString &caption) |
| virtual void | setPlainCaption (const QString &caption) |
Signals | |
| void | layoutHintChanged () |
Public Methods | |
| KDialog (QWidget *parent=0, const char *name=0, bool modal=false, WFlags f=0) | |
Static Public Methods | |
| int | marginHint () |
| int | spacingHint () |
| void | resizeLayout (QWidget *widget, int margin, int spacing) |
| void | resizeLayout (QLayoutItem *lay, int margin, int spacing) |
| void | centerOnScreen (QWidget *widget, int screen=-1) |
Generally, you should not use this class directly, but KDialogBase which inherits KDialog.
If the dialog is non-modal and has a parent, the default keybindings (escape = reject(), enter = accept(), etc.) are disabled.
The marginHint() and spacingHint() sizes shall be used whenever you layout the interior of a dialog. One special note. If you make your own action buttons (OK, Cancel etc), the space beteween the buttons shall be spacingHint(), whereas the space above, below, to the right and to the left shall be marginHint(). If you add a separator line above the buttons, there shall be a marginHint() between the buttons and the separator and a marginHint() above the separator as well.
Definition at line 51 of file kdialog.h.
|
||||||||||||||||||||
|
Constructor. Takes the same arguments as QDialog. |
|
||||||||||||
|
Centers
|
|
|
Emitted when the margin size and/or spacing size have changed. Use marginHint() and spacingHint() in your slot to get the new values. |
|
|
Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according to the KDE standard. |
|
||||||||||||||||
|
Reszie every layout associated with
|
|
||||||||||||||||
|
Resize every layout manager used in
|
|
|
Make a KDE compliant caption.
|
|
|
Make a plain caption without any modifications.
|
|
|
Return the number of pixels you shall use between widgets inside a dialog according to the KDE standard. |
1.2.18