#include <YDialog.h>
Inheritance diagram for YDialog:
Public Member Functions | |
YDialog (const YWidgetOpt &opt) | |
virtual | ~YDialog () |
virtual char * | widgetClass () |
bool | isDialog () const |
void | setInitialSize () |
bool | hasDefaultSize () |
bool | hasWarnColor () |
bool | hasInfoColor () |
bool | isDecorated () |
bool | isCentered () |
bool | hasSmallDecorations () |
void | checkShortcuts (bool force=false) |
void | postponeShortcutCheck () |
bool | shortcutCheckPostponed () const |
YCPValue | queryWidget (const YCPSymbol &property) |
YWidgetList | widgets () const |
virtual std::string | dialogDebugLabel () |
virtual std::string | debugLabel () |
Protected Member Functions | |
void | fillWidgetList (YWidgetList &widgetList, const YContainerWidget *parent) const |
string | formatDebugLabel (YWidget *widget, const string &debLabel) |
Protected Attributes | |
YBoolOpt | _hasDefaultSize |
YBoolOpt | _hasWarnColor |
YBoolOpt | _hasInfoColor |
YBoolOpt | _isDecorated |
YBoolOpt | _isCentered |
YBoolOpt | _hasSmallDecorations |
bool | _shortcutCheckPostponed |
|
Constructor |
|
Cleanup |
|
Checks the keyboard shortcuts of all children of this dialog (not for sub-dialogs!) unless shortcut checks are postponed or 'force' is 'true'. A forced shortcut check resets postponed checking. |
|
Alias for dialogDebugLabel(); Reimplemented from YContainerWidget. |
|
Returns a (possibly translated) text describing this dialog for debugging. |
|
Recursively fill a widgets list with all children and grandchildren of 'parent' that are in the same dialog. |
|
Format a debug label. Reimplemented from YContainerWidget. |
|
Returns true if the dialog has the `defaultsize option set. |
|
Returns true if the dialog has the `infocolor option set. |
|
Returns true if the dialog has the `smallDecorations option set. |
|
Returns true if the dialog has the `warncolor option set. |
|
Returns true if the dialog has the `decorated option set. |
|
Returns true if the dialog has the `decorated option set. |
|
Returns true, since this is a dialog widget. Reimplemented from YWidget. |
|
From now on, postpone keyboard shortcut checks - i.e. normal ( not forced ) checkKeyboardShortcuts() will do nothing. Reset this mode by forcing a shortcut check with checkKeyboardShortcuts( true ). |
|
Implements the ui command queryWidget Reimplemented from YWidget. |
|
Sets the initial dialog size. Honors the `defaultsize option and -geometry |
|
Return whether or not shortcut checking is currently postponed. |
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YContainerWidget. |
|
Return a list of all widgets that belong to this dialog. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|