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

#include <numbergencombobox.h>

Inheritance diagram for NumberGenComboBox:
QComboBox

Public Types

enum  GenMethod { Manual, Automatic, Override, Shared }
 

Properties

GenMethods allowedMethods
 
QString automaticText
 
QString manualText
 
QString overrideText
 
QString sharedText
 

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)
 

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
 

Static Public Member Functions

static Q_INVOKABLE QString methodToCode (const GenMethod method)
 

Protected Member Functions

int indexOfMethod (const GenMethod method) const
 

Member Enumeration Documentation

◆ GenMethod

Enumerator
Manual 
Automatic 
Override 
Shared 

Property Documentation

◆ allowedMethods

NumberGenComboBox::GenMethods NumberGenComboBox::allowedMethods
readwrite

◆ automaticText

QString NumberGenComboBox::automaticText
readwrite

◆ manualText

QString NumberGenComboBox::manualText
readwrite

◆ overrideText

QString NumberGenComboBox::overrideText
readwrite

◆ sharedText

QString NumberGenComboBox::sharedText
readwrite

Constructor & Destructor Documentation

◆ NumberGenComboBox()

NumberGenComboBox::NumberGenComboBox ( QWidget parent = 0)

◆ ~NumberGenComboBox()

NumberGenComboBox::~NumberGenComboBox ( )
virtual

Member Function Documentation

◆ allowedMethods()

Q_INVOKABLE GenMethods NumberGenComboBox::allowedMethods ( ) const

◆ append()

void NumberGenComboBox::append ( NumberGenComboBox::GenMethod  id,
QString  text,
QString  code = QString() 
)

◆ automaticText()

Q_INVOKABLE QString NumberGenComboBox::automaticText ( ) const

◆ handleIndexChanged

void NumberGenComboBox::handleIndexChanged ( const int  index)
slot

◆ indexOfMethod()

int NumberGenComboBox::indexOfMethod ( const GenMethod  method) const
protected

◆ manualText()

Q_INVOKABLE QString NumberGenComboBox::manualText ( ) const

◆ method()

NumberGenComboBox::GenMethod NumberGenComboBox::method ( ) const

◆ methodCode()

QString NumberGenComboBox::methodCode ( ) const

◆ methodToCode()

QString NumberGenComboBox::methodToCode ( const GenMethod  method)
static

◆ newMethod [1/2]

void NumberGenComboBox::newMethod ( GenMethod  )
signal

◆ newMethod [2/2]

void NumberGenComboBox::newMethod ( int  )
signal

◆ newMethodCode

void NumberGenComboBox::newMethodCode ( QString  )
signal

◆ overrideText()

Q_INVOKABLE QString NumberGenComboBox::overrideText ( ) const

◆ setAllowedMethods

void NumberGenComboBox::setAllowedMethods ( const GenMethods  methods)
slot

◆ setAutomaticText

void NumberGenComboBox::setAutomaticText ( const QString  text)
slot

◆ setManualText

void NumberGenComboBox::setManualText ( const QString  text)
slot

◆ setMethod [1/2]

void NumberGenComboBox::setMethod ( const GenMethod  method)
slot

◆ setMethod [2/2]

void NumberGenComboBox::setMethod ( const QString  methodCode)
slot

◆ setOverrideText

void NumberGenComboBox::setOverrideText ( const QString  text)
slot

◆ setSharedText

void NumberGenComboBox::setSharedText ( const QString  text)
slot

◆ sharedText()

Q_INVOKABLE QString NumberGenComboBox::sharedText ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.1.0 doxygen 1.8.17