libyui-ncurses
2.47.2
|
Widget factory for optional ("special") widgets. More...
#include <NCOptionalWidgetFactory.h>
Protected Member Functions | |
NCOptionalWidgetFactory () | |
Constructor. More... | |
virtual | ~NCOptionalWidgetFactory () |
Destructor. | |
bool | hasDumbTab () |
NCDumbTab * | createDumbTab (YWidget *parent) |
bool | hasTimeField () |
YTimeField * | createTimeField (YWidget *parent, const std::string &label) |
bool | hasDateField () |
YDateField * | createDateField (YWidget *parent, const std::string &label) |
Friends | |
class | YNCursesUI |
Widget factory for optional ("special") widgets.
Remember to always check with the corresponding "has..()" method if the current UI actually provides the requested widget. Otherwise the "create...()" method will throw an exception.
Definition at line 42 of file NCOptionalWidgetFactory.h.
|
protected |
Constructor.
Use YUI::optionalWidgetFactory() to get the singleton for this class.
Definition at line 36 of file NCOptionalWidgetFactory.cc.