25#ifndef YQWidgetFactory_h
26#define YQWidgetFactory_h
29#include <yui/YWidgetFactory.h>
31#include "YQAlignment.h"
32#include "YQButtonBox.h"
33#include "YQCheckBox.h"
34#include "YQCheckBoxFrame.h"
35#include "YQComboBox.h"
36#include "YQCustomStatusItemSelector.h"
41#include "YQInputField.h"
42#include "YQIntField.h"
43#include "YQItemSelector.h"
45#include "YQLayoutBox.h"
48#include "YQMenuButton.h"
49#include "YQMultiLineEdit.h"
50#include "YQMultiSelectionBox.h"
51#include "YQProgressBar.h"
52#include "YQPushButton.h"
53#include "YQRadioButton.h"
54#include "YQRadioButtonGroup.h"
55#include "YQReplacePoint.h"
56#include "YQRichText.h"
57#include "YQSelectionBox.h"
61#include "YQTimeField.h"
63#include "YQBusyIndicator.h"
83 virtual YQDialog * createDialog ( YDialogType dialogType, YDialogColorMode colorMode = YDialogNormalColor );
89 virtual YQLayoutBox * createLayoutBox ( YWidget * parent, YUIDimension dim );
90 virtual YQButtonBox * createButtonBox ( YWidget * parent );
96 virtual YQPushButton * createPushButton ( YWidget * parent,
const std::string & label );
97 virtual YQLabel * createLabel ( YWidget * parent,
const std::string & text,
bool isHeading =
false,
bool isOutputField =
false );
98 virtual YQInputField * createInputField ( YWidget * parent,
const std::string & label,
bool passwordMode =
false );
99 virtual YQCheckBox * createCheckBox ( YWidget * parent,
const std::string & label,
bool isChecked =
false );
100 virtual YQRadioButton * createRadioButton ( YWidget * parent,
const std::string & label,
bool isChecked =
false );
101 virtual YQComboBox * createComboBox ( YWidget * parent,
const std::string & label,
bool editable =
false );
102 virtual YQSelectionBox * createSelectionBox ( YWidget * parent,
const std::string & label );
103 virtual YQTree * createTree ( YWidget * parent,
const std::string & label,
bool multiselection =
false,
bool recursiveselection =
false );
104 virtual YQTable * createTable ( YWidget * parent, YTableHeader * header,
bool multiSelection =
false );
105 virtual YQProgressBar * createProgressBar ( YWidget * parent,
const std::string & label,
int maxValue = 100 );
106 virtual YQRichText * createRichText ( YWidget * parent,
const std::string & text = std::string(),
bool plainTextMode =
false );
112 virtual YQIntField * createIntField ( YWidget * parent,
const std::string & label,
int minVal,
int maxVal,
int initialVal );
113 virtual YQMenuButton * createMenuButton ( YWidget * parent,
const std::string & label );
114 virtual YQMultiLineEdit * createMultiLineEdit ( YWidget * parent,
const std::string & label );
115 virtual YQImage * createImage ( YWidget * parent,
const std::string & imageFileName,
bool animated =
false );
116 virtual YQLogView * createLogView ( YWidget * parent,
const std::string & label,
int visibleLines,
int storedLines = 0 );
117 virtual YQMultiSelectionBox *createMultiSelectionBox( YWidget * parent,
const std::string & label );
118 virtual YQBusyIndicator * createBusyIndicator ( YWidget * parent,
const std::string & label,
int maxValue = 100 );
120 virtual YPackageSelector * createPackageSelector ( YWidget * parent,
long modeFlags = 0 );
121 virtual YWidget * createPkgSpecial ( YWidget * parent,
const std::string & name );
127 virtual YQSpacing * createSpacing ( YWidget * parent, YUIDimension dim,
bool stretchable =
false, YLayoutSize_t size = 0.0 );
128 virtual YQEmpty * createEmpty ( YWidget * parent );
129 virtual YQAlignment * createAlignment ( YWidget * parent, YAlignmentType horAlignment, YAlignmentType vertAlignment );
130 virtual YQSquash * createSquash ( YWidget * parent,
bool horSquash,
bool vertSquash );
136 virtual YQFrame * createFrame ( YWidget * parent,
const std::string & label );
137 virtual YQCheckBoxFrame * createCheckBoxFrame ( YWidget * parent,
const std::string & label,
bool checked );
150 virtual YQItemSelector * createItemSelector ( YWidget * parent,
bool enforceSingleSelection =
true );
151 virtual YQCustomStatusItemSelector * createCustomStatusItemSelector ( YWidget * parent,
const YItemCustomStatusVector & customStates );
152 virtual YQMenuBar * createMenuBar ( YWidget * parent );
Definition YQAlignment.h:36
Definition YQBusyIndicator.h:40
Definition YQCheckBoxFrame.h:37
Definition YQCheckBox.h:33
Definition YQComboBox.h:38
Definition YQCustomStatusItemSelector.h:42
Definition YQIntField.h:40
Definition YQItemSelector.h:43
Definition YQLayoutBox.h:35
Definition YQLogView.h:40
Definition YQMultiLineEdit.h:40
Definition YQMultiSelectionBox.h:39
Definition YQProgressBar.h:39
Definition YQReplacePoint.h:36
Definition YQRichText.h:40
Definition YQSelectionBox.h:40
Definition YQSpacing.h:33