|
|
Dialog with extended modeless support and methods for KDE standard compliance.
If the dialog is modeless 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.
|
Constructor.
Takes the same arguments as QDialog.
int |
[static]
Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according to the KDE standard.
int |
[static]
Return the number of pixels you shall use between widgets inside a dialog according to the KDE standard.
void |
[static]
Resize every layout manager used in widget
and its nested children.
Parameters:
margin | The new layout margin. |
margin | The new layout spacing. |
void |
[static]
Reszie every layout associated with lay
and its children.
Parameters:
margin | The new layout margin |
margin | The new layout spacing |
void |
[virtual slot]
Make a KDE compliant caption.
Parameters:
caption | Your caption. Do not include the application name
in this string. It will be added automatically according to the KDE
standard.
|
void |
[virtual slot]
Make a plain caption without any modifications.
Parameters:
caption | Your caption. This is the string that will be displayed in the window title. |
void |
[ protected: virtual]
void |
[signal]
Emitted when the margin size and/or spacing size have changed.
Use marginHint() and spacingHint() in your slot to get the new values.