YWidgetOpt Struct Reference

collection of various widget options to be passed transparently through the various library layers. More...

#include <YWidgetOpt.h>

List of all members.

Public Attributes

YBoolOpt isDisabled
YBoolOpt notifyMode
YBoolOpt isHStretchable
YBoolOpt isVStretchable
YBoolOpt autoShortcut
YBoolOpt autoAdvance
YBoolOpt keyEvents
YBoolOpt easterEgg
YBoolOpt testMode
YBoolOpt boldFont
YLongOpt hWeight
YLongOpt vWeight
YBoolOpt isDefaultButton
YBoolOpt isOutputField
YBoolOpt isHeading
YBoolOpt autoScrollDown
YBoolOpt plainTextMode
YBoolOpt passwordMode
YBoolOpt isShrinkable
YBoolOpt isEditable
YBoolOpt immediateMode
YBoolOpt keepSorting
YBoolOpt debugLayoutMode
YBoolOpt zeroWidth
YBoolOpt zeroHeight
YBoolOpt animated
YBoolOpt tiled
YBoolOpt scaleToFit
YBoolOpt countShowDelta
YLongOpt key_Fxx
YBoolOpt searchMode
YBoolOpt summaryMode
YBoolOpt updateMode
YBoolOpt youMode
YBoolOpt instSourcesMode
YBoolOpt stepsEnabled
YBoolOpt treeEnabled
YBoolOpt hasDefaultSize
YBoolOpt hasWarnColor
YBoolOpt hasInfoColor
YBoolOpt isDecorated
YBoolOpt isCentered
YBoolOpt hasSmallDecorations


Detailed Description

collection of various widget options to be passed transparently through the various library layers.

This is a struct and not an object since there is neither a constructor that would make much sense nor a destructor: The data members are designed to initialize themselves properly, and we might as well use their well-defined access methods rather than create another layer of wrappers which would just add to overhead and confusion.

Just never use anything other than YAnyOpt and classes derived from it here, and everything will be fine.

This struct is transparently passed from YUIInterpreter::createWidget() through the YUInterpreter::create???() and Y??UI::create???() methods down to the YWidget derived constructors and the YWidget constructor itself. The general idea is to have a container for such widget options from where any of those layers can read whatever they are interested in, yet ignore what they don't know or don't want.


Member Data Documentation

YBoolOpt YWidgetOpt::isDisabled

YBoolOpt YWidgetOpt::notifyMode

YBoolOpt YWidgetOpt::isHStretchable

YBoolOpt YWidgetOpt::isVStretchable

YBoolOpt YWidgetOpt::autoShortcut

YBoolOpt YWidgetOpt::autoAdvance

YBoolOpt YWidgetOpt::keyEvents

YBoolOpt YWidgetOpt::easterEgg

YBoolOpt YWidgetOpt::testMode

YBoolOpt YWidgetOpt::boldFont

YLongOpt YWidgetOpt::hWeight

YLongOpt YWidgetOpt::vWeight

YBoolOpt YWidgetOpt::isDefaultButton

YBoolOpt YWidgetOpt::isOutputField

YBoolOpt YWidgetOpt::isHeading

YBoolOpt YWidgetOpt::autoScrollDown

YBoolOpt YWidgetOpt::plainTextMode

YBoolOpt YWidgetOpt::passwordMode

YBoolOpt YWidgetOpt::isShrinkable

YBoolOpt YWidgetOpt::isEditable

YBoolOpt YWidgetOpt::immediateMode

YBoolOpt YWidgetOpt::keepSorting

YBoolOpt YWidgetOpt::debugLayoutMode

YBoolOpt YWidgetOpt::zeroWidth

YBoolOpt YWidgetOpt::zeroHeight

YBoolOpt YWidgetOpt::animated

YBoolOpt YWidgetOpt::tiled

YBoolOpt YWidgetOpt::scaleToFit

YBoolOpt YWidgetOpt::countShowDelta

YLongOpt YWidgetOpt::key_Fxx

YBoolOpt YWidgetOpt::searchMode

YBoolOpt YWidgetOpt::summaryMode

YBoolOpt YWidgetOpt::updateMode

YBoolOpt YWidgetOpt::youMode

YBoolOpt YWidgetOpt::instSourcesMode

YBoolOpt YWidgetOpt::stepsEnabled

YBoolOpt YWidgetOpt::treeEnabled

YBoolOpt YWidgetOpt::hasDefaultSize

YBoolOpt YWidgetOpt::hasWarnColor

YBoolOpt YWidgetOpt::hasInfoColor

YBoolOpt YWidgetOpt::isDecorated

YBoolOpt YWidgetOpt::isCentered

YBoolOpt YWidgetOpt::hasSmallDecorations


The documentation for this struct was generated from the following file:
Generated on Tue Nov 6 01:20:24 2007 for yast2-core by  doxygen 1.5.0