List of all members | Public Types | Public Member Functions | Public Slots | Protected Slots
GLCluster Class Reference

#include <glcluster.h>

Public Types

enum  Type {
  cUndefined = 0x00, cAsset = 0x01, cLiability = 0x02, cExpense = 0x04,
  cRevenue = 0x08, cEquity = 0x10
}
 

Public Member Functions

 GLCluster (QWidget *, const char *=0)
 
Q_INVOKABLE int companyId ()
 
Q_INVOKABLE bool ignoreCompany ()
 
Q_INVOKABLE bool projectVisible ()
 
Q_INVOKABLE void setIgnoreCompany (bool p)
 
Q_INVOKABLE bool setProjectVisible (bool p)
 
Q_INVOKABLE void setShowExternal (bool p)
 
Q_INVOKABLE void setType (unsigned int pType)
 
Q_INVOKABLE bool showExternal ()
 
Q_INVOKABLE unsigned int type () const
 
- Public Member Functions inherited from VirtualCluster
 VirtualCluster (QWidget *, const char *=0)
 
 VirtualCluster (QWidget *, VirtualClusterLineEdit *=0, const char *=0)
 
virtual QString defaultNumber () const
 
virtual Q_INVOKABLE QString description () const
 
virtual bool descriptionVisible () const
 
virtual Q_INVOKABLE QString extraClause () const
 
virtual QString fieldName () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE bool isStrict () const
 
virtual Q_INVOKABLE bool isValid () const
 
virtual QString label () const
 
virtual Q_INVOKABLE QString name () const
 
virtual bool nameVisible () const
 
virtual QString nullStr () const
 
virtual QString number () const
 
virtual Qt::Orientation orientation ()
 
virtual bool readOnly () const
 
virtual void setDescriptionVisible (const bool p)
 
virtual void setNameVisible (const bool p)
 
virtual void setNullStr (const QString &text)
 
virtual void setOrientation (Qt::Orientation orientation)
 

Public Slots

void setId (const int p)
 
- Public Slots inherited from VirtualCluster
virtual void clear ()
 
virtual void clearExtraClause ()
 
virtual void sEllipses ()
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultNumber (const QString &p)
 
virtual void setDescription (const QString &p)
 
virtual void setEnabled (const bool p)
 
virtual void setExtraClause (const QString &p)
 
virtual void setFieldName (QString p)
 
virtual void setId (const int p)
 
virtual void setLabel (const QString &p)
 
virtual void setName (const QString &p)
 
virtual void setNumber (const int p)
 
virtual void setNumber (const QString &p)
 
virtual void setReadOnly (const bool b)
 
virtual void setShowInactive (const bool)
 
virtual void setStrict (const bool b)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sRefresh ()
 
virtual void sSearch ()
 
virtual void updateMapperData ()
 

Protected Slots

void sHandleProjectId ()
 
void sHandleProjectState (int p)
 
void sNewId (int p)
 

Additional Inherited Members

- Properties inherited from VirtualCluster
QString defaultNumber
 
bool descriptionVisible
 
QString fieldName
 
QString label
 
bool nameVisible
 
QString nullStr
 
QString number
 
Qt::Orientation orientation
 
bool readOnly
 
- Signals inherited from VirtualCluster
void newId (int)
 
void valid (bool)
 
- Protected Attributes inherited from VirtualCluster
QString _default
 
QLabel_description
 
QString _fieldName
 
QGridLayout * _grid
 
QSpacerItem * _hspcr
 
QLabel_label
 
XDataWidgetMapper_mapper
 
QLabel_name
 
VirtualClusterLineEdit_number
 
Qt::Orientation _orientation
 
bool _readOnly
 
- Protected Member Functions inherited from VirtualCluster
virtual void addNumberWidget (VirtualClusterLineEdit *pNumberWidget)
 

Member Enumeration Documentation

Enumerator
cUndefined 
cAsset 
cLiability 
cExpense 
cRevenue 
cEquity 

Constructor & Destructor Documentation

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

Member Function Documentation

Q_INVOKABLE int GLCluster::companyId ( )
inline
Q_INVOKABLE bool GLCluster::ignoreCompany ( )
inline
bool GLCluster::projectVisible ( )
void GLCluster::setId ( const int  p)
slot
Q_INVOKABLE void GLCluster::setIgnoreCompany ( bool  p)
inline
bool GLCluster::setProjectVisible ( bool  p)
Q_INVOKABLE void GLCluster::setShowExternal ( bool  p)
inline
Q_INVOKABLE void GLCluster::setType ( unsigned int  pType)
inline
void GLCluster::sHandleProjectId ( )
protectedslot
void GLCluster::sHandleProjectState ( int  p)
protectedslot
Q_INVOKABLE bool GLCluster::showExternal ( )
inline
void GLCluster::sNewId ( int  p)
protectedslot
Q_INVOKABLE unsigned int GLCluster::type ( ) const
inline

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

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