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::animated
 

YBoolOpt YWidgetOpt::autoAdvance
 

YBoolOpt YWidgetOpt::autoScrollDown
 

YBoolOpt YWidgetOpt::autoShortcut
 

YBoolOpt YWidgetOpt::boldFont
 

YBoolOpt YWidgetOpt::countShowDelta
 

YBoolOpt YWidgetOpt::debugLayoutMode
 

YBoolOpt YWidgetOpt::easterEgg
 

YBoolOpt YWidgetOpt::hasDefaultSize
 

YBoolOpt YWidgetOpt::hasInfoColor
 

YBoolOpt YWidgetOpt::hasSmallDecorations
 

YBoolOpt YWidgetOpt::hasWarnColor
 

YLongOpt YWidgetOpt::hWeight
 

YBoolOpt YWidgetOpt::immediateMode
 

YBoolOpt YWidgetOpt::instSourcesMode
 

YBoolOpt YWidgetOpt::isCentered
 

YBoolOpt YWidgetOpt::isDecorated
 

YBoolOpt YWidgetOpt::isDefaultButton
 

YBoolOpt YWidgetOpt::isDisabled
 

YBoolOpt YWidgetOpt::isEditable
 

YBoolOpt YWidgetOpt::isHeading
 

YBoolOpt YWidgetOpt::isHStretchable
 

YBoolOpt YWidgetOpt::isOutputField
 

YBoolOpt YWidgetOpt::isShrinkable
 

YBoolOpt YWidgetOpt::isVStretchable
 

YBoolOpt YWidgetOpt::keepSorting
 

YLongOpt YWidgetOpt::key_Fxx
 

YBoolOpt YWidgetOpt::keyEvents
 

YBoolOpt YWidgetOpt::notifyMode
 

YBoolOpt YWidgetOpt::passwordMode
 

YBoolOpt YWidgetOpt::plainTextMode
 

YBoolOpt YWidgetOpt::scaleToFit
 

YBoolOpt YWidgetOpt::searchMode
 

YBoolOpt YWidgetOpt::stepsEnabled
 

YBoolOpt YWidgetOpt::summaryMode
 

YBoolOpt YWidgetOpt::testMode
 

YBoolOpt YWidgetOpt::tiled
 

YBoolOpt YWidgetOpt::treeEnabled
 

YBoolOpt YWidgetOpt::updateMode
 

YLongOpt YWidgetOpt::vWeight
 

YBoolOpt YWidgetOpt::youMode
 

YBoolOpt YWidgetOpt::zeroHeight
 

YBoolOpt YWidgetOpt::zeroWidth
 


The documentation for this struct was generated from the following file:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by  doxygen 1.4.6