List of all members | Public Types | Properties | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
CalendarComboBox Class Reference

#include <calendarTools.h>

Inheritance diagram for CalendarComboBox:
XComboBox QComboBox

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, Contracts,
  CostCategories, Countries, Currencies, CurrenciesNotBase,
  CustomerCommentTypes, CustomerGroups, CustomerTypes, 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, 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, WorkCentersActive, 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 Slots

void append (int, const QString &)
 
void append (int, const QString &, 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 QString &)
 
void setText (const QVariant &)
 
void setText (QVariant &)
 
void updateMapperData ()
 

Signals

void clicked ()
 
void newCalendarId (int)
 
void newID (int)
 
void notNull (bool)
 
void select (ParameterList &)
 
void valid (bool)
 

Public Member Functions

 CalendarComboBox (QWidget *, const char *=0)
 
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 QLabellabel () const
 
QString listDisplayFieldName () const
 
QString listIdFieldName () const
 
QString listSchemaName () const
 
QString listTableName () const
 
Q_INVOKABLE void load (ParameterList &)
 
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 ()
 

Static Public Member Functions

static void cleanup ()
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

void sHandleNewIndex (int)
 

Protected Member Functions

QString currentDefault ()
 
void init ()
 
void mousePressEvent (QMouseEvent *)
 
void wheelEvent (QWheelEvent *)
 

Protected Attributes

bool _allowNull
 
XComboBoxPrivate_data
 

Member Enumeration Documentation

◆ Defaults

enum XComboBox::Defaults
inherited
Enumerator
First 
None 

◆ XComboBoxTypes

enum XComboBox::XComboBoxTypes
inherited
Enumerator
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 
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 
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 
WorkCentersActive 
WorkOrderCommentTypes 

Property Documentation

◆ allowNull

bool XComboBox::allowNull
readwriteinherited

◆ code

QString XComboBox::code
readwriteinherited

◆ currentDefault

QString XComboBox::currentDefault
readinherited

◆ defaultCode

XComboBox::Defaults XComboBox::defaultCode
readwriteinherited

◆ fieldName

QString XComboBox::fieldName
readwriteinherited

◆ listDisplayFieldName

QString XComboBox::listDisplayFieldName
readwriteinherited

◆ listIdFieldName

QString XComboBox::listIdFieldName
readwriteinherited

◆ listSchemaName

QString XComboBox::listSchemaName
readwriteinherited

◆ listTableName

QString XComboBox::listTableName
readwriteinherited

◆ nullStr

QString XComboBox::nullStr
readwriteinherited

◆ text

QString XComboBox::text
readwriteinherited

◆ type

enum XComboBox::XComboBoxTypes XComboBox::type
readwriteinherited

Constructor & Destructor Documentation

◆ CalendarComboBox()

CalendarComboBox::CalendarComboBox ( QWidget pParent,
const char *  pName = 0 
)

Member Function Documentation

◆ allowNull()

virtual bool XComboBox::allowNull ( ) const
virtualinherited

◆ append [1/2]

void XComboBox::append ( int  pId,
const QString &  pText 
)
slotinherited

◆ append [2/2]

void XComboBox::append ( int  pId,
const QString &  pText,
const QString &  pCode 
)
slotinherited

◆ cleanup()

void XComboBox::cleanup ( )
staticinherited

◆ clear

void XComboBox::clear ( )
slotinherited

◆ clicked

void XComboBox::clicked ( )
signalinherited

◆ code()

QString XComboBox::code ( ) const
inherited

◆ currentDefault()

QString XComboBox::currentDefault ( )
protectedinherited

◆ defaultCode()

virtual Defaults XComboBox::defaultCode ( ) const
virtualinherited

◆ fieldName()

QString XComboBox::fieldName ( ) const
inherited

◆ id() [1/2]

int XComboBox::id ( ) const
inherited

◆ id() [2/2]

int XComboBox::id ( int  pIndex) const
inherited

◆ init()

void XComboBox::init ( )
protectedinherited

◆ insertEditor() [1/2]

void XComboBox::insertEditor ( XComboBoxTypes  type,
const QString &  uiName,
const QString &  privilege 
)
inherited

◆ insertEditor() [2/2]

void XComboBox::insertEditor ( XComboBoxTypes  type,
QObject obj,
const char *  slot,
const QString &  privilege = QString() 
)
inherited

◆ isValid()

bool XComboBox::isValid ( ) const
inherited

◆ label()

QLabel * XComboBox::label ( ) const
inherited

◆ listDisplayFieldName()

QString XComboBox::listDisplayFieldName ( ) const
inherited

◆ listIdFieldName()

QString XComboBox::listIdFieldName ( ) const
inherited

◆ listSchemaName()

QString XComboBox::listSchemaName ( ) const
inherited

◆ listTableName()

QString XComboBox::listTableName ( ) const
inherited

◆ load()

void CalendarComboBox::load ( ParameterList &  pParams)

◆ mousePressEvent()

void XComboBox::mousePressEvent ( QMouseEvent *  event)
protectedinherited

◆ newCalendarId

void CalendarComboBox::newCalendarId ( int  )
signal

◆ newID

void XComboBox::newID ( int  )
signalinherited

◆ notNull

void XComboBox::notNull ( bool  )
signalinherited

◆ nullStr()

QString XComboBox::nullStr ( ) const
inherited

◆ populate [1/3]

void XComboBox::populate ( )
slotinherited

◆ populate [2/3]

void XComboBox::populate ( const QString &  pSql,
int  pSelected = -1 
)
slotinherited

◆ populate [3/3]

void XComboBox::populate ( XSqlQuery  pQuery,
int  pSelected = -1 
)
slotinherited

◆ removeItem()

void XComboBox::removeItem ( int  idx)
inherited

◆ replace()

void XComboBox::replace ( int  index,
const QString &  text,
const QString &  code 
)
inherited

◆ select

void CalendarComboBox::select ( ParameterList &  )
signal

◆ setAllowNull()

void XComboBox::setAllowNull ( bool  pAllowNull)
virtualinherited

Reimplemented in WComboBox.

◆ setCode()

void XComboBox::setCode ( const QString &  pString)
inherited

◆ setDataWidgetMap

void XComboBox::setDataWidgetMap ( XDataWidgetMapper m)
slotinherited

◆ setDefaultCode

void XComboBox::setDefaultCode ( Defaults  p)
slotinherited

◆ setFieldName

void XComboBox::setFieldName ( QString  p)
slotinherited

◆ setId

void XComboBox::setId ( int  pTarget)
slotinherited

◆ setItemCode()

void XComboBox::setItemCode ( int  index,
const QString &  code 
)
inherited

◆ setItemIcon()

void XComboBox::setItemIcon ( int  index,
const QIcon &  icon 
)
inherited

◆ setItemText()

void XComboBox::setItemText ( int  index,
const QString &  text 
)
inherited

◆ setLabel()

void XComboBox::setLabel ( QLabel pLab)
inherited

◆ setListDisplayFieldName

void XComboBox::setListDisplayFieldName ( QString  p)
slotinherited

◆ setListIdFieldName

void XComboBox::setListIdFieldName ( QString  p)
slotinherited

◆ setListSchemaName

void XComboBox::setListSchemaName ( QString  p)
slotinherited

◆ setListTableName

void XComboBox::setListTableName ( QString  p)
slotinherited

◆ setNull()

void XComboBox::setNull ( )
virtualinherited

◆ setNullStr()

void XComboBox::setNullStr ( const QString &  pNullStr)
inherited

◆ setText [1/3]

void XComboBox::setText ( const QString &  pString)
slotinherited

◆ setText [2/3]

void XComboBox::setText ( const QVariant &  pVariant)
slotinherited

◆ setText [3/3]

void XComboBox::setText ( QVariant &  pVariant)
slotinherited

◆ setType()

void XComboBox::setType ( XComboBoxTypes  pType)
inherited

◆ sHandleNewIndex

void XComboBox::sHandleNewIndex ( int  pIndex)
protectedslotinherited

◆ showPopup()

void XComboBox::showPopup ( )
virtualinherited

◆ sizeHint()

QSize XComboBox::sizeHint ( ) const
inherited

◆ type()

XComboBoxTypes XComboBox::type ( )
inherited

◆ updateMapperData

void XComboBox::updateMapperData ( )
slotinherited

◆ valid

void XComboBox::valid ( bool  )
signalinherited

◆ wheelEvent()

void XComboBox::wheelEvent ( QWheelEvent *  event)
protectedinherited

Member Data Documentation

◆ _allowNull

bool XComboBox::_allowNull
protectedinherited

◆ _data

XComboBoxPrivate* XComboBox::_data
protectedinherited

◆ _guiClientInterface

GuiClientInterface * XComboBox::_guiClientInterface
staticinherited

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17