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

#include <numbergencombobox.h>

Public Types

enum  GenMethod { Manual = 0x01, Automatic = 0x02, Override = 0x04, Shared = 0x08 }
 

Properties

GenMethods allowedMethods
 
QString automaticText
 
QString manualText
 
QString overrideText
 
QString sharedText
 

Public Member Functions

 NumberGenComboBox (QWidget *parent=0)
 
virtual ~NumberGenComboBox ()
 
Q_INVOKABLE GenMethods allowedMethods () const
 
Q_INVOKABLE void append (GenMethod method, QString text, QString code=QString())
 
Q_INVOKABLE QString automaticText () const
 
Q_INVOKABLE QString manualText () const
 
Q_INVOKABLE GenMethod method () const
 
Q_INVOKABLE QString methodCode () const
 
Q_INVOKABLE QString overrideText () const
 
Q_INVOKABLE QString sharedText () const
 

Public Slots

void handleIndexChanged (const int index)
 
void setAllowedMethods (const GenMethods methods)
 
void setAutomaticText (const QString text)
 
void setManualText (const QString text)
 
void setMethod (const GenMethod method)
 
void setMethod (const QString methodCode)
 
void setOverrideText (const QString text)
 
void setSharedText (const QString text)
 

Signals

void newMethod (GenMethod)
 
void newMethod (int)
 
void newMethodCode (QString)
 

Static Public Member Functions

static Q_INVOKABLE QString methodToCode (const GenMethod method)
 

Protected Member Functions

int indexOfMethod (const GenMethod method) const
 

Member Enumeration Documentation

Enumerator
Manual 
Automatic 
Override 
Shared 

Constructor & Destructor Documentation

NumberGenComboBox::NumberGenComboBox ( QWidget parent = 0)
NumberGenComboBox::~NumberGenComboBox ( )
virtual

Member Function Documentation

Q_INVOKABLE GenMethods NumberGenComboBox::allowedMethods ( ) const
void NumberGenComboBox::append ( NumberGenComboBox::GenMethod  id,
QString  text,
QString  code = QString() 
)
Q_INVOKABLE QString NumberGenComboBox::automaticText ( ) const
void NumberGenComboBox::handleIndexChanged ( const int  index)
slot
int NumberGenComboBox::indexOfMethod ( const GenMethod  method) const
protected
Q_INVOKABLE QString NumberGenComboBox::manualText ( ) const
NumberGenComboBox::GenMethod NumberGenComboBox::method ( ) const
QString NumberGenComboBox::methodCode ( ) const
QString NumberGenComboBox::methodToCode ( const GenMethod  method)
static
void NumberGenComboBox::newMethod ( GenMethod  )
signal
void NumberGenComboBox::newMethod ( int  )
signal
void NumberGenComboBox::newMethodCode ( QString  )
signal
Q_INVOKABLE QString NumberGenComboBox::overrideText ( ) const
void NumberGenComboBox::setAllowedMethods ( const GenMethods  methods)
slot
void NumberGenComboBox::setAutomaticText ( const QString  text)
slot
void NumberGenComboBox::setManualText ( const QString  text)
slot
void NumberGenComboBox::setMethod ( const GenMethod  method)
slot
void NumberGenComboBox::setMethod ( const QString  methodCode)
slot
void NumberGenComboBox::setOverrideText ( const QString  text)
slot
void NumberGenComboBox::setSharedText ( const QString  text)
slot
Q_INVOKABLE QString NumberGenComboBox::sharedText ( ) const

Property Documentation

NumberGenComboBox::GenMethods NumberGenComboBox::allowedMethods
readwrite
QString NumberGenComboBox::automaticText
readwrite
QString NumberGenComboBox::manualText
readwrite
QString NumberGenComboBox::overrideText
readwrite
QString NumberGenComboBox::sharedText
readwrite

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

Generated on Fri Oct 7 2016 15:37:59 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10