25 #ifndef YOptionalWidgetFactory_h 26 #define YOptionalWidgetFactory_h 41 class YDummySpecialWidget;
64 virtual bool hasWizard();
66 const std::string & backButtonLabel,
67 const std::string & abortButtonLabel,
68 const std::string & nextButtonLabel,
71 virtual bool hasDumbTab();
74 virtual bool hasSlider();
76 const std::string & label,
81 virtual bool hasDateField();
82 virtual YDateField * createDateField (
YWidget * parent,
const std::string & label );
84 virtual bool hasTimeField();
85 virtual YTimeField * createTimeField (
YWidget * parent,
const std::string & label );
87 virtual bool hasBarGraph();
90 virtual bool hasPatternSelector();
91 virtual YWidget * createPatternSelector (
YWidget * parent,
long modeFlags = 0 );
93 virtual bool hasSimplePatchSelector();
94 virtual YWidget * createSimplePatchSelector(
YWidget * parent,
long modeFlags = 0 );
96 virtual bool hasMultiProgressMeter();
99 virtual YMultiProgressMeter * createMultiProgressMeter (
YWidget * parent, YUIDimension dim,
const std::vector<float> & maxValues );
101 virtual bool hasPartitionSplitter();
108 const std::string & usedLabel,
109 const std::string & freeLabel,
110 const std::string & newPartLabel,
111 const std::string & freeFieldLabel,
112 const std::string & newPartFieldLabel );
115 virtual bool hasDownloadProgress();
117 const std::string & label,
118 const std::string & filename,
119 YFileSize_t expectedFileSize );
121 bool hasDummySpecialWidget();
124 virtual bool hasTimezoneSelector();
126 const std::string & pixmap,
127 const std::map<std::string,std::string> & timezones );
129 virtual bool hasGraph();
130 virtual YGraph * createGraph(
YWidget * parent,
const std::string & filename,
131 const std::string & layoutAlgorithm );
132 virtual YGraph * createGraph(
YWidget * parent,
void * graph );
134 virtual bool hasContextMenu();
156 #endif // YOptionalWidgetFactory_h Input field for entering a date.
YWizardMode
Kind of the wizard layout.
Author: Stefan Hundhammer sh@suse.de
Input field for entering a time in "hh:mm:ss" format.
Abstract base class of a libYUI user interface.
DownloadProgress: A progress bar that monitors downloading a file by repeatedly polling its size up t...
DumbTab: A very simple tab widget that can display and switch between a number of tabs...
PartitionSplitter: A (very custom) widget for easily splitting one existing partition into two...
Author: Stefan Hundhammer sh@suse.de
A graph showing partitioning of a whole.
MultiProgressMeter: Progress bar with several segments that can indicate progress individually...
Normal wizard (help panel or nothing)
A graph with nodes and edges, rendered with Graphviz.
A wizard is a more complex frame typically used for multi-step workflows:
A fancy widget with a world map.
Slider: Input widget for an integer value between a minimum and a maximum value.