libyui-ncurses
|
#include <NCOptionalWidgetFactory.h>
Protected Member Functions | |
NCOptionalWidgetFactory () | |
virtual | ~NCOptionalWidgetFactory () |
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.
|
protected |
Constructor.
Use YUI::optionalWidgetFactory() to get the singleton for this class.
|
protectedvirtual |
Destructor.