#include <xcombobox.h>
|
enum | Defaults { First,
None
} |
|
enum | XComboBoxTypes {
AddressCommentTypes,
AddressGroups,
Adhoc,
APBankAccounts,
APTerms,
ARBankAccounts,
ARCMReasonCodes,
ARDMReasonCodes,
ARTerms,
AccountGroups,
AccountingPeriods,
Agent,
AllCommentTypes,
AllProjects,
BBOMHeadCommentTypes,
BBOMItemCommentTypes,
BOMHeadCommentTypes,
BOMItemCommentTypes,
BOOHeadCommentTypes,
BOOItemCommentTypes,
CRMAccounts,
CRMAccountCommentTypes,
CRMRoleAddress,
CRMRoleContact,
CRMRolePhone,
CRMRoleEmail,
ClassCodes,
Companies,
ContactCommentTypes,
ContactGroups,
Contracts,
CostCategories,
Countries,
Currencies,
CurrenciesNotBase,
CustomerCommentTypes,
CustomerGroups,
CustomerTypes,
EmployeeGroups,
EmployeeCommentTypes,
ExchangeRateCommentTypes,
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,
ProspectGroups,
ProfitCenters,
ProjectCommentTypes,
ProspectCommentTypes,
PurchaseOrderCommentTypes,
PurchaseOrderItemCommentTypes,
ReasonCodes,
RegistrationTypes,
Reports,
ReturnReasonCodes,
ReturnAuthCommentTypes,
ReturnAuthItemCommentTypes,
QuoteCommentTypes,
QuoteItemCommentTypes,
SalesOrderCommentTypes,
SalesOrderItemCommentTypes,
SalesCategories,
SalesCategoriesActive,
SalesReps,
SalesRepsActive,
SaleTypes,
ShipVias,
ShippingCharges,
ShippingForms,
ShippingZones,
SiteTypes,
SoProjects,
Subaccounts,
TaxAuths,
TaxClasses,
TaxCodes,
TaxZones,
TaxTypes,
Terms,
TaskCommentTypes,
TimeAttendanceCommentTypes,
TransferOrderCommentTypes,
TransferOrderItemCommentTypes,
UOMs,
Users,
ActiveUsers,
VendorCommentTypes,
VendorGroups,
VendorTypes,
WarehouseCommentTypes,
WoProjects,
WorkCenters,
WorkCentersActive,
WorkOrderCommentTypes
} |
|
|
| XComboBox (bool, QWidget *=0, const char *=0) |
|
| XComboBox (QWidget *=0, const char *=0) |
|
virtual | ~XComboBox () |
|
virtual bool | allowNull () const |
|
QString | code () const |
|
virtual Defaults | defaultCode () const |
|
QString | fieldName () const |
|
Q_INVOKABLE int | id () const |
|
int | id (int) const |
|
Q_INVOKABLE void | insertEditor (XComboBoxTypes type, const QString &uiName, const QString &privilege) |
|
Q_INVOKABLE void | insertEditor (XComboBoxTypes type, QObject *obj, const char *slot, const QString &privilege=QString()) |
|
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) |
|
Q_INVOKABLE void | replace (int index, const QString &text, const QString &code) |
|
virtual void | setAllowNull (bool) |
|
void | setCode (const QString &) |
|
Q_INVOKABLE void | setItemCode (int index, const QString &code) |
|
Q_INVOKABLE void | setItemIcon (int index, const QIcon &icon) |
|
Q_INVOKABLE void | setItemText (int index, const QString &text) |
|
Q_INVOKABLE void | setLabel (QLabel *pLab) |
|
virtual void | setNull () |
|
void | setNullStr (const QString &) |
|
void | setType (XComboBoxTypes) |
|
virtual void | showPopup () |
|
QSize | sizeHint () const |
|
XComboBoxTypes | type () |
|
◆ Defaults
◆ XComboBoxTypes
Enumerator |
---|
AddressCommentTypes | |
AddressGroups | |
Adhoc | |
APBankAccounts | |
APTerms | |
ARBankAccounts | |
ARCMReasonCodes | |
ARDMReasonCodes | |
ARTerms | |
AccountGroups | |
AccountingPeriods | |
Agent | |
AllCommentTypes | |
AllProjects | |
BBOMHeadCommentTypes | |
BBOMItemCommentTypes | |
BOMHeadCommentTypes | |
BOMItemCommentTypes | |
BOOHeadCommentTypes | |
BOOItemCommentTypes | |
CRMAccounts | |
CRMAccountCommentTypes | |
CRMRoleAddress | |
CRMRoleContact | |
CRMRolePhone | |
CRMRoleEmail | |
ClassCodes | |
Companies | |
ContactCommentTypes | |
ContactGroups | |
Contracts | |
CostCategories | |
Countries | |
Currencies | |
CurrenciesNotBase | |
CustomerCommentTypes | |
CustomerGroups | |
CustomerTypes | |
EmployeeGroups | |
EmployeeCommentTypes | |
ExchangeRateCommentTypes | |
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 | |
ProspectGroups | |
ProfitCenters | |
ProjectCommentTypes | |
ProspectCommentTypes | |
PurchaseOrderCommentTypes | |
PurchaseOrderItemCommentTypes | |
ReasonCodes | |
RegistrationTypes | |
Reports | |
ReturnReasonCodes | |
ReturnAuthCommentTypes | |
ReturnAuthItemCommentTypes | |
QuoteCommentTypes | |
QuoteItemCommentTypes | |
SalesOrderCommentTypes | |
SalesOrderItemCommentTypes | |
SalesCategories | |
SalesCategoriesActive | |
SalesReps | |
SalesRepsActive | |
SaleTypes | |
ShipVias | |
ShippingCharges | |
ShippingForms | |
ShippingZones | |
SiteTypes | |
SoProjects | |
Subaccounts | |
TaxAuths | |
TaxClasses | |
TaxCodes | |
TaxZones | |
TaxTypes | |
Terms | |
TaskCommentTypes | |
TimeAttendanceCommentTypes | |
TransferOrderCommentTypes | |
TransferOrderItemCommentTypes | |
UOMs | |
Users | |
ActiveUsers | |
VendorCommentTypes | |
VendorGroups | |
VendorTypes | |
WarehouseCommentTypes | |
WoProjects | |
WorkCenters | |
WorkCentersActive | |
WorkOrderCommentTypes | |
◆ allowNull
bool XComboBox::allowNull |
|
readwrite |
◆ code
◆ currentDefault
QString XComboBox::currentDefault |
|
read |
◆ defaultCode
◆ fieldName
QString XComboBox::fieldName |
|
readwrite |
◆ listDisplayFieldName
QString XComboBox::listDisplayFieldName |
|
readwrite |
◆ listIdFieldName
QString XComboBox::listIdFieldName |
|
readwrite |
◆ listSchemaName
QString XComboBox::listSchemaName |
|
readwrite |
◆ listTableName
QString XComboBox::listTableName |
|
readwrite |
◆ nullStr
QString XComboBox::nullStr |
|
readwrite |
◆ text
◆ type
◆ XComboBox() [1/2]
XComboBox::XComboBox |
( |
QWidget * |
pParent = 0 , |
|
|
const char * |
pName = 0 |
|
) |
| |
◆ XComboBox() [2/2]
XComboBox::XComboBox |
( |
bool |
pEditable, |
|
|
QWidget * |
pParent = 0 , |
|
|
const char * |
pName = 0 |
|
) |
| |
◆ ~XComboBox()
XComboBox::~XComboBox |
( |
| ) |
|
|
virtual |
◆ allowNull()
virtual bool XComboBox::allowNull |
( |
| ) |
const |
|
virtual |
◆ append [1/2]
void XComboBox::append |
( |
int |
pId, |
|
|
const QString & |
pText |
|
) |
| |
|
slot |
◆ append [2/2]
void XComboBox::append |
( |
int |
pId, |
|
|
const QString & |
pText, |
|
|
const QString & |
pCode |
|
) |
| |
|
slot |
◆ cleanup()
void XComboBox::cleanup |
( |
| ) |
|
|
static |
◆ clear
void XComboBox::clear |
( |
| ) |
|
|
slot |
◆ clicked
void XComboBox::clicked |
( |
| ) |
|
|
signal |
◆ code()
QString XComboBox::code |
( |
| ) |
const |
◆ currentDefault()
QString XComboBox::currentDefault |
( |
| ) |
|
|
protected |
◆ defaultCode()
virtual Defaults XComboBox::defaultCode |
( |
| ) |
const |
|
virtual |
◆ fieldName()
QString XComboBox::fieldName |
( |
| ) |
const |
◆ id() [1/2]
int XComboBox::id |
( |
| ) |
const |
◆ id() [2/2]
int XComboBox::id |
( |
int |
pIndex | ) |
const |
◆ init()
◆ insertEditor() [1/2]
void XComboBox::insertEditor |
( |
XComboBoxTypes |
type, |
|
|
const QString & |
uiName, |
|
|
const QString & |
privilege |
|
) |
| |
◆ insertEditor() [2/2]
void XComboBox::insertEditor |
( |
XComboBoxTypes |
type, |
|
|
QObject * |
obj, |
|
|
const char * |
slot, |
|
|
const QString & |
privilege = QString() |
|
) |
| |
◆ isValid()
bool XComboBox::isValid |
( |
| ) |
const |
◆ label()
QLabel * XComboBox::label |
( |
| ) |
const |
◆ listDisplayFieldName()
QString XComboBox::listDisplayFieldName |
( |
| ) |
const |
◆ listIdFieldName()
QString XComboBox::listIdFieldName |
( |
| ) |
const |
◆ listSchemaName()
QString XComboBox::listSchemaName |
( |
| ) |
const |
◆ listTableName()
QString XComboBox::listTableName |
( |
| ) |
const |
◆ mousePressEvent()
void XComboBox::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ newID
void XComboBox::newID |
( |
int |
| ) |
|
|
signal |
◆ notNull
void XComboBox::notNull |
( |
bool |
| ) |
|
|
signal |
◆ nullStr()
QString XComboBox::nullStr |
( |
| ) |
const |
◆ populate [1/3]
void XComboBox::populate |
( |
| ) |
|
|
slot |
◆ populate [2/3]
void XComboBox::populate |
( |
const QString & |
pSql, |
|
|
int |
pSelected = -1 |
|
) |
| |
|
slot |
◆ populate [3/3]
void XComboBox::populate |
( |
XSqlQuery |
pQuery, |
|
|
int |
pSelected = -1 |
|
) |
| |
|
slot |
◆ removeItem()
void XComboBox::removeItem |
( |
int |
idx | ) |
|
◆ replace()
void XComboBox::replace |
( |
int |
index, |
|
|
const QString & |
text, |
|
|
const QString & |
code |
|
) |
| |
◆ setAllowNull()
void XComboBox::setAllowNull |
( |
bool |
pAllowNull | ) |
|
|
virtual |
◆ setCode()
void XComboBox::setCode |
( |
const QString & |
pString | ) |
|
◆ setDataWidgetMap
◆ setDefaultCode
void XComboBox::setDefaultCode |
( |
Defaults |
p | ) |
|
|
slot |
◆ setFieldName
void XComboBox::setFieldName |
( |
QString |
p | ) |
|
|
slot |
◆ setId
void XComboBox::setId |
( |
int |
pTarget | ) |
|
|
slot |
◆ setItemCode()
void XComboBox::setItemCode |
( |
int |
index, |
|
|
const QString & |
code |
|
) |
| |
◆ setItemIcon()
void XComboBox::setItemIcon |
( |
int |
index, |
|
|
const QIcon & |
icon |
|
) |
| |
◆ setItemText()
void XComboBox::setItemText |
( |
int |
index, |
|
|
const QString & |
text |
|
) |
| |
◆ setLabel()
void XComboBox::setLabel |
( |
QLabel * |
pLab | ) |
|
◆ setListDisplayFieldName
void XComboBox::setListDisplayFieldName |
( |
QString |
p | ) |
|
|
slot |
◆ setListIdFieldName
void XComboBox::setListIdFieldName |
( |
QString |
p | ) |
|
|
slot |
◆ setListSchemaName
void XComboBox::setListSchemaName |
( |
QString |
p | ) |
|
|
slot |
◆ setListTableName
void XComboBox::setListTableName |
( |
QString |
p | ) |
|
|
slot |
◆ setNull()
void XComboBox::setNull |
( |
| ) |
|
|
virtual |
◆ setNullStr()
void XComboBox::setNullStr |
( |
const QString & |
pNullStr | ) |
|
◆ setText [1/3]
void XComboBox::setText |
( |
const QString & |
pString | ) |
|
|
slot |
◆ setText [2/3]
void XComboBox::setText |
( |
const QVariant & |
pVariant | ) |
|
|
slot |
◆ setText [3/3]
void XComboBox::setText |
( |
QVariant & |
pVariant | ) |
|
|
slot |
◆ setType()
◆ sHandleNewIndex
void XComboBox::sHandleNewIndex |
( |
int |
pIndex | ) |
|
|
protectedslot |
◆ showPopup()
void XComboBox::showPopup |
( |
| ) |
|
|
virtual |
◆ sizeHint()
QSize XComboBox::sizeHint |
( |
| ) |
const |
◆ type()
◆ updateMapperData
void XComboBox::updateMapperData |
( |
| ) |
|
|
slot |
◆ valid
void XComboBox::valid |
( |
bool |
| ) |
|
|
signal |
◆ wheelEvent()
void XComboBox::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protected |
◆ _allowNull
bool XComboBox::_allowNull |
|
protected |
◆ _data
◆ _guiClientInterface
◆ _lastid
The documentation for this class was generated from the following files:
- xcombobox.h
- xcombobox.cpp