Public Types |
enum | Defaults { First,
None
} |
enum | XComboBoxTypes {
AddressCommentTypes,
Adhoc,
APBankAccounts,
APTerms,
ARBankAccounts,
ARCMReasonCodes,
ARDMReasonCodes,
ARTerms,
AccountingPeriods,
Agent,
AllCommentTypes,
AllProjects,
BBOMHeadCommentTypes,
BBOMItemCommentTypes,
BOMHeadCommentTypes,
BOMItemCommentTypes,
BOOHeadCommentTypes,
BOOItemCommentTypes,
CRMAccounts,
CRMAccountCommentTypes,
ClassCodes,
Companies,
ContactCommentTypes,
CostCategories,
Countries,
Currencies,
CurrenciesNotBase,
CustomerCommentTypes,
CustomerGroups,
CustomerTypes,
EmployeeCommentTypes,
ExpenseCategories,
FinancialLayouts,
FiscalYears,
FreightClasses,
Honorifics,
IncidentCategory,
IncidentCommentTypes,
IncidentPriority,
IncidentResolution,
IncidentSeverity,
ItemCommentTypes,
ItemGroups,
ItemSiteCommentTypes,
ItemSourceCommentTypes,
Locales,
LocaleCountries,
LocaleLanguages,
LocationCommentTypes,
LotSerialCommentTypes,
OpportunityCommentTypes,
OpportunityStages,
OpportunitySources,
OpportunityTypes,
PlannerCodes,
PoProjects,
ProductCategories,
ProfitCenters,
ProjectCommentTypes,
PurchaseOrderCommentTypes,
PurchaseOrderItemCommentTypes,
ReasonCodes,
RegistrationTypes,
Reports,
ReturnReasonCodes,
ReturnAuthCommentTypes,
ReturnAuthItemCommentTypes,
QuoteCommentTypes,
QuoteItemCommentTypes,
SalesOrderCommentTypes,
SalesOrderItemCommentTypes,
SalesCategories,
SalesReps,
SalesRepsActive,
ShipVias,
ShippingCharges,
ShippingForms,
SiteTypes,
SoProjects,
Subaccounts,
TaxAuths,
TaxClasses,
TaxCodes,
TaxZones,
TaxTypes,
Terms,
TaskCommentTypes,
TodoItemCommentTypes,
TransferOrderCommentTypes,
TransferOrderItemCommentTypes,
UOMs,
Users,
ActiveUsers,
VendorCommentTypes,
VendorGroups,
VendorTypes,
WarehouseCommentTypes,
WoProjects,
WorkCenters,
WorkOrderCommentTypes
} |
Properties |
bool | allowNull |
QString | code |
QString | currentDefault |
Defaults | defaultCode |
QString | fieldName |
QString | listDisplayFieldName |
QString | listIdFieldName |
QString | listSchemaName |
QString | listTableName |
QString | nullStr |
QString | text |
XComboBoxTypes | type |
Public Member Functions |
| XComboBox (bool, QWidget *=0, const char *=0) |
| XComboBox (QWidget *=0, const char *=0) |
virtual bool | allowNull () const |
QString | code () const |
virtual Defaults | defaultCode () |
Q_INVOKABLE bool | editable () const |
QString | fieldName () const |
Q_INVOKABLE int | id () const |
int | id (int) const |
Q_INVOKABLE bool | isValid () const |
Q_INVOKABLE QLabel * | label () const |
QString | listDisplayFieldName () const |
QString | listIdFieldName () const |
QString | listSchemaName () const |
QString | listTableName () const |
QString | nullStr () const |
Q_INVOKABLE void | removeItem (int idx) |
virtual void | setAllowNull (bool) |
void | setCode (QString) |
Q_INVOKABLE void | setEditable (bool) |
Q_INVOKABLE void | setLabel (QLabel *pLab) |
virtual void | setNull () |
void | setNullStr (const QString &) |
void | setType (XComboBoxTypes) |
QSize | sizeHint () const |
XComboBoxTypes | type () |
Public Slots |
void | append (int, const QString &, const QString &) |
void | append (int, const QString &) |
void | clear () |
void | populate () |
void | populate (const QString &, int=-1) |
void | populate (XSqlQuery, int=-1) |
void | setDataWidgetMap (XDataWidgetMapper *m) |
void | setDefaultCode (Defaults p) |
void | setFieldName (QString p) |
void | setId (int) |
void | setListDisplayFieldName (QString p) |
void | setListIdFieldName (QString p) |
void | setListSchemaName (QString p) |
void | setListTableName (QString p) |
void | setText (const QVariant &) |
void | setText (const QString &) |
void | setText (QVariant &) |
void | updateMapperData () |
Signals |
void | clicked () |
void | newID (int) |
void | notNull (bool) |
void | valid (bool) |
Protected Attributes |
bool | _allowNull |
QList< QString > | _codes |
QList< int > | _ids |
QLabel * | _label |
int | _lastId |
QString | _nullStr |
enum XComboBoxTypes | _type |
Protected Member Functions |
QString | currentDefault () |
void | mousePressEvent (QMouseEvent *) |