82 virtual NCDialog * createDialog ( YDialogType dialogType, YDialogColorMode colorMode = YDialogNormalColor );
88 virtual NCLayoutBox * createLayoutBox ( YWidget * parent, YUIDimension dim );
89 virtual NCButtonBox * createButtonBox ( YWidget * parent );
96 virtual NCPushButton * createPushButton ( YWidget * parent,
const std::string & label );
97 virtual NCLabel * createLabel ( YWidget * parent,
const std::string & text,
bool isHeading =
false,
bool isOutputField =
false );
98 virtual NCInputField * createInputField ( YWidget * parent,
const std::string & label,
bool passwordMode =
false );
99 virtual NCCheckBox * createCheckBox ( YWidget * parent,
const std::string & label,
bool isChecked =
false );
100 virtual NCRadioButton * createRadioButton ( YWidget * parent,
const std::string & label,
bool isChecked =
false );
101 virtual NCComboBox * createComboBox ( YWidget * parent,
const std::string & label,
bool editable =
false );
102 virtual NCSelectionBox * createSelectionBox ( YWidget * parent,
const std::string & label );
103 virtual NCTree * createTree ( YWidget * parent,
const std::string & label,
bool multiselection =
false,
bool recursiveselection =
false );
104 virtual NCTable * createTable ( YWidget * parent, YTableHeader * tableHeader,
bool multiSelection =
false );
105 virtual NCProgressBar * createProgressBar ( YWidget * parent,
const std::string & label,
int maxValue = 100 );
106 virtual NCRichText * createRichText ( YWidget * parent,
const std::string & text = std::string(),
bool plainTextMode =
false );
113 virtual NCIntField * createIntField ( YWidget * parent,
const std::string & label,
int minVal,
int maxVal,
int initialVal );
114 virtual NCMenuButton * createMenuButton ( YWidget * parent,
const std::string & label );
115 virtual NCMenuBar * createMenuBar ( YWidget * parent );
116 virtual NCMultiLineEdit * createMultiLineEdit ( YWidget * parent,
const std::string & label );
117 virtual NCImage * createImage ( YWidget * parent,
const std::string & imagePath,
bool animated =
false );
118 virtual NCLogView * createLogView ( YWidget * parent,
const std::string & label,
int visibleLines,
int storedLines = 0 );
119 virtual NCMultiSelectionBox*createMultiSelectionBox ( YWidget * parent,
const std::string & label );
120 virtual YPackageSelector * createPackageSelector ( YWidget * parent,
long ModeFlags = 0 );
121 virtual NCBusyIndicator * createBusyIndicator ( YWidget * parent,
const std::string & label,
int timeout = 1000 );
124 virtual YWidget * createPkgSpecial ( YWidget * parent,
const std::string & subwidgetName );
131 virtual NCSpacing * createSpacing ( YWidget * parent, YUIDimension dim,
bool stretchable =
false, YLayoutSize_t size = 0.0 );
132 virtual NCEmpty * createEmpty ( YWidget * parent );
133 virtual NCAlignment * createAlignment ( YWidget * parent, YAlignmentType horAlignment, YAlignmentType vertAlignment );
134 virtual NCSquash * createSquash ( YWidget * parent,
bool horSquash,
bool vertSquash );
141 virtual NCFrame * createFrame ( YWidget * parent,
const std::string & label );
142 virtual NCCheckBoxFrame * createCheckBoxFrame ( YWidget * parent,
const std::string & label,
bool checked );
157 virtual NCItemSelector * createItemSelector ( YWidget * parent,
bool enforceSingleSelection =
true );
158 virtual NCCustomStatusItemSelector * createCustomStatusItemSelector ( YWidget * parent,
const YItemCustomStatusVector & customStates );
163 friend class YNCursesUI;
Definition NCRichText.h:36