List of all members | Public Types | Properties | Public Member Functions | Public Slots
WComboBox Class Reference

#include <warehouseCluster.h>

Public Types

enum  WComboBoxTypes {
  All, AllActive, NonTransit, Shipping,
  Sold, Supply, Transit, AllActiveInventory
}
 
- Public Types inherited from XComboBox
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, Contracts,
  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, SalesCategoriesActive, SalesReps, SalesRepsActive,
  SaleTypes, ShipVias, ShippingCharges, ShippingForms,
  ShippingZones, SiteTypes, SoProjects, Subaccounts,
  TaxAuths, TaxClasses, TaxCodes, TaxZones,
  TaxTypes, Terms, TaskCommentTypes, TimeAttendanceCommentTypes,
  TodoItemCommentTypes, TransferOrderCommentTypes, TransferOrderItemCommentTypes, UOMs,
  Users, ActiveUsers, VendorCommentTypes, VendorGroups,
  VendorTypes, WarehouseCommentTypes, WoProjects, WorkCenters,
  WorkOrderCommentTypes
}
 

Properties

WComboBoxTypes type
 
- Properties inherited from XComboBox
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

 WComboBox (QWidget *, const char *=0)
 
virtual void setAllowNull (bool)
 
void setType (WComboBoxTypes)
 
WComboBoxTypes type ()
 
- Public Member Functions inherited from XComboBox
 XComboBox (QWidget *=0, const char *=0)
 
 XComboBox (bool, QWidget *=0, const char *=0)
 
virtual ~XComboBox ()
 
virtual bool allowNull () const
 
QString code () const
 
virtual Defaults defaultCode () const
 
QString fieldName () const
 
int id (int) const
 
Q_INVOKABLE int id () 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 QLabellabel () const
 
QString listDisplayFieldName () const
 
QString listIdFieldName () const
 
QString listSchemaName () const
 
QString listTableName () const
 
QString nullStr () const
 
Q_INVOKABLE void removeItem (int idx)
 
void setCode (const QString &)
 
Q_INVOKABLE void setLabel (QLabel *pLab)
 
virtual void setNull ()
 
void setNullStr (const QString &)
 
void setType (XComboBoxTypes)
 
virtual void showPopup ()
 
QSize sizeHint () const
 
XComboBoxTypes type ()
 

Public Slots

void findItemsites (int)
 
void setId (int)
 
- Public Slots inherited from XComboBox
void append (int, const QString &)
 
void append (int, const QString &, const QString &)
 
void clear ()
 
void populate (XSqlQuery, int=-1)
 
void populate (const QString &, int=-1)
 
void populate ()
 
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 (QVariant &)
 
void setText (const QString &)
 
void setText (const QVariant &)
 
void updateMapperData ()
 

Additional Inherited Members

- Signals inherited from XComboBox
void clicked ()
 
void newID (int)
 
void notNull (bool)
 
void valid (bool)
 
- Static Public Attributes inherited from XComboBox
static GuiClientInterface_guiClientInterface = 0
 
- Protected Attributes inherited from XComboBox
bool _allowNull
 
XComboBoxPrivate_data
 
- Protected Member Functions inherited from XComboBox
QString currentDefault ()
 
void init ()
 
void mousePressEvent (QMouseEvent *)
 
- Protected Slots inherited from XComboBox
void sHandleNewIndex (int)
 

Member Enumeration Documentation

Enumerator
All 
AllActive 
NonTransit 
Shipping 
Sold 
Supply 
Transit 
AllActiveInventory 

Constructor & Destructor Documentation

WComboBox::WComboBox ( QWidget parent,
const char *  name = 0 
)

Member Function Documentation

void WComboBox::findItemsites ( int  pItemID)
slot
void WComboBox::setAllowNull ( bool  pAllowNull)
virtual

Reimplemented from XComboBox.

void WComboBox::setId ( int  pId)
slot
void WComboBox::setType ( WComboBoxTypes  pType)
WComboBoxTypes WComboBox::type ( )

Property Documentation

WComboBox::WComboBoxTypes WComboBox::type
readwrite

The documentation for this class was generated from the following files:

Generated on Fri Oct 7 2016 15:34:26 xTuple ERP Programmer Reference, Version 4.4.0 doxygen 1.8.10