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

#include <customerselector.h>

Inheritance diagram for CustomerSelector:
QWidget Ui::CustomerSelector Ui_CustomerSelector

Public Types

enum  CustomerSelectorState {
  AllCust, SelectedCust, SelectedGroup, SelectedType,
  TypePattern
}
 

Properties

enum CustomerSelectorState
 

Public Slots

virtual void setCurrentSelection (int p)
 
virtual void setCustGroupId (int p)
 
virtual void setCustId (int p)
 
virtual void setCustTypeId (int p)
 
virtual void setStackElement ()
 
virtual void setState (enum CustomerSelectorState p)
 
virtual void setState (int p)
 
virtual void setTypePattern (const QString &p)
 

Signals

void newCustGroupId (int)
 
void newCustId (int)
 
void newCustTypeId (int)
 
void newState (int)
 
void newTypePattern (QString)
 
void updated ()
 
void validCust (bool)
 
void validCustGroup (bool)
 

Public Member Functions

 CustomerSelector (QWidget *=0, const char *=0)
 
virtual ~CustomerSelector ()
 
virtual Q_INVOKABLE void appendValue (ParameterList &)
 
virtual Q_INVOKABLE void bindValue (XSqlQuery &)
 
virtual Q_INVOKABLE int custGroupId ()
 
virtual Q_INVOKABLE int custId ()
 
virtual Q_INVOKABLE int custTypeId ()
 
Q_INVOKABLE bool isAll ()
 
virtual bool isAllowedType (const int s)
 
Q_INVOKABLE bool isSelectedCust ()
 
Q_INVOKABLE bool isSelectedGroup ()
 
Q_INVOKABLE bool isSelectedType ()
 
Q_INVOKABLE bool isTypePattern ()
 
virtual Q_INVOKABLE bool isValid ()
 
virtual void populate (int selection)
 
void retranslateUi (QWidget *CustomerSelector)
 
void retranslateUi (QWidget *CustomerSelector)
 
virtual QString selectCode ()
 
void setupUi (QWidget *CustomerSelector)
 
void setupUi (QWidget *CustomerSelector)
 
enum CustomerSelectorState state ()
 
virtual void synchronize (CustomerSelector *)
 
virtual Q_INVOKABLE QString typePattern ()
 

Public Attributes

QWidget_all
 
CustCluster_cust
 
XComboBox_customerGroup
 
XLineEdit_customerType
 
QWidget_customerTypePattern
 
XComboBox_customerTypes
 
XComboBox_select
 
QWidget_selectedCustomer
 
QWidget_selectedCustomerGroup
 
QWidget_selectedCustomerType
 
QStackedWidget * _selectStack
 
QFormLayout * formLayout
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_3
 
QVBoxLayout * verticalLayout_4
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 
QSpacerItem * verticalSpacer_5
 

Protected Slots

virtual void languageChange ()
 
virtual void sTypePatternFinished ()
 

Member Enumeration Documentation

◆ CustomerSelectorState

Enumerator
AllCust 
SelectedCust 
SelectedGroup 
SelectedType 
TypePattern 

Property Documentation

◆ CustomerSelectorState

Constructor & Destructor Documentation

◆ CustomerSelector()

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

◆ ~CustomerSelector()

CustomerSelector::~CustomerSelector ( )
virtual

Member Function Documentation

◆ appendValue()

void CustomerSelector::appendValue ( ParameterList &  pParams)
virtual

◆ bindValue()

void CustomerSelector::bindValue ( XSqlQuery &  pQuery)
virtual

◆ custGroupId()

virtual Q_INVOKABLE int CustomerSelector::custGroupId ( )
inlinevirtual

◆ custId()

virtual Q_INVOKABLE int CustomerSelector::custId ( )
inlinevirtual

◆ custTypeId()

virtual Q_INVOKABLE int CustomerSelector::custTypeId ( )
inlinevirtual

◆ isAll()

Q_INVOKABLE bool CustomerSelector::isAll ( )
inline

◆ isAllowedType()

bool CustomerSelector::isAllowedType ( const int  s)
virtual

◆ isSelectedCust()

Q_INVOKABLE bool CustomerSelector::isSelectedCust ( )
inline

◆ isSelectedGroup()

Q_INVOKABLE bool CustomerSelector::isSelectedGroup ( )
inline

◆ isSelectedType()

Q_INVOKABLE bool CustomerSelector::isSelectedType ( )
inline

◆ isTypePattern()

Q_INVOKABLE bool CustomerSelector::isTypePattern ( )
inline

◆ isValid()

bool CustomerSelector::isValid ( )
virtual

◆ languageChange

void CustomerSelector::languageChange ( )
protectedvirtualslot

◆ newCustGroupId

void CustomerSelector::newCustGroupId ( int  )
signal

◆ newCustId

void CustomerSelector::newCustId ( int  )
signal

◆ newCustTypeId

void CustomerSelector::newCustTypeId ( int  )
signal

◆ newState

void CustomerSelector::newState ( int  )
signal

◆ newTypePattern

void CustomerSelector::newTypePattern ( QString  )
signal

◆ populate()

void CustomerSelector::populate ( int  selection)
virtual

◆ retranslateUi() [1/2]

void Ui_CustomerSelector::retranslateUi ( QWidget CustomerSelector)
inlineinherited

◆ retranslateUi() [2/2]

void Ui_CustomerSelector::retranslateUi ( QWidget CustomerSelector)
inlineinherited

◆ selectCode()

QString CustomerSelector::selectCode ( )
virtual

◆ setCurrentSelection

virtual void CustomerSelector::setCurrentSelection ( int  p)
inlinevirtualslot

◆ setCustGroupId

void CustomerSelector::setCustGroupId ( int  p)
virtualslot

◆ setCustId

void CustomerSelector::setCustId ( int  p)
virtualslot

◆ setCustTypeId

void CustomerSelector::setCustTypeId ( int  p)
virtualslot

◆ setStackElement

void CustomerSelector::setStackElement ( )
virtualslot

◆ setState [1/2]

void CustomerSelector::setState ( enum CustomerSelectorState  p)
virtualslot

◆ setState [2/2]

virtual void CustomerSelector::setState ( int  p)
inlinevirtualslot

◆ setTypePattern

void CustomerSelector::setTypePattern ( const QString &  p)
virtualslot

◆ setupUi() [1/2]

void Ui_CustomerSelector::setupUi ( QWidget CustomerSelector)
inlineinherited

◆ setupUi() [2/2]

void Ui_CustomerSelector::setupUi ( QWidget CustomerSelector)
inlineinherited

◆ state()

enum CustomerSelectorState CustomerSelector::state ( )
inline

◆ sTypePatternFinished

void CustomerSelector::sTypePatternFinished ( )
protectedvirtualslot

◆ synchronize()

void CustomerSelector::synchronize ( CustomerSelector p)
virtual

◆ typePattern()

virtual Q_INVOKABLE QString CustomerSelector::typePattern ( )
inlinevirtual

◆ updated

void CustomerSelector::updated ( )
signal

◆ validCust

void CustomerSelector::validCust ( bool  )
signal

◆ validCustGroup

void CustomerSelector::validCustGroup ( bool  )
signal

Member Data Documentation

◆ _all

QWidget * Ui_CustomerSelector::_all
inherited

◆ _cust

CustCluster * Ui_CustomerSelector::_cust
inherited

◆ _customerGroup

XComboBox * Ui_CustomerSelector::_customerGroup
inherited

◆ _customerType

XLineEdit * Ui_CustomerSelector::_customerType
inherited

◆ _customerTypePattern

QWidget * Ui_CustomerSelector::_customerTypePattern
inherited

◆ _customerTypes

XComboBox * Ui_CustomerSelector::_customerTypes
inherited

◆ _select

XComboBox * Ui_CustomerSelector::_select
inherited

◆ _selectedCustomer

QWidget * Ui_CustomerSelector::_selectedCustomer
inherited

◆ _selectedCustomerGroup

QWidget * Ui_CustomerSelector::_selectedCustomerGroup
inherited

◆ _selectedCustomerType

QWidget * Ui_CustomerSelector::_selectedCustomerType
inherited

◆ _selectStack

QStackedWidget * Ui_CustomerSelector::_selectStack
inherited

◆ formLayout

QFormLayout * Ui_CustomerSelector::formLayout
inherited

◆ verticalLayout

QVBoxLayout * Ui_CustomerSelector::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout * Ui_CustomerSelector::verticalLayout_2
inherited

◆ verticalLayout_3

QVBoxLayout * Ui_CustomerSelector::verticalLayout_3
inherited

◆ verticalLayout_4

QVBoxLayout * Ui_CustomerSelector::verticalLayout_4
inherited

◆ verticalSpacer_2

QSpacerItem * Ui_CustomerSelector::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem * Ui_CustomerSelector::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem * Ui_CustomerSelector::verticalSpacer_4
inherited

◆ verticalSpacer_5

QSpacerItem * Ui_CustomerSelector::verticalSpacer_5
inherited

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