List of all members | Public Types | Properties | Public Member Functions | Public Slots | Signals | Protected Member Functions | Friends
WoLineEdit Class Reference

#include <wocluster.h>

Public Types

enum  WoStatus {
  Open = 0x01, Exploded = 0x02, Issued = 0x04, Released = 0x08,
  Closed = 0x10
}
 

Properties

int type
 
- Properties inherited from XLineEdit
QString defaultText
 
QString fieldName
 

Public Member Functions

 WoLineEdit (QWidget *, const char *=0)
 
 WoLineEdit (int, QWidget *, const char *=0)
 
Q_INVOKABLE int currentWarehouse () const
 
Q_INVOKABLE QString method () const
 
Q_INVOKABLE void setType (int pWoType)
 
Q_INVOKABLE void setWarehouse (int pWarehouseid)
 
Q_INVOKABLE int type () const
 
Q_INVOKABLE int warehouse () const
 
- Public Member Functions inherited from VirtualClusterLineEdit
 VirtualClusterLineEdit (QWidget *, const char *, const char *, const char *, const char *, const char *, const char *, const char *=0, const char *=0)
 
virtual Q_INVOKABLE bool canOpen ()
 
virtual Q_INVOKABLE QString description () const
 
virtual Q_INVOKABLE QString editPriv () const
 
QMenu * menu () const
 
virtual Q_INVOKABLE QSqlQueryModel * model () const
 
virtual Q_INVOKABLE QString name () const
 
void setMenu (QMenu *menu)
 
virtual Q_INVOKABLE QString uiName () const
 
virtual Q_INVOKABLE QString viewPriv () const
 
- Public Member Functions inherited from XLineEdit
 XLineEdit (QWidget *, const char *=0)
 
virtual QString defaultText () const
 
virtual QString fieldName () const
 
Q_INVOKABLE int id ()
 
Q_INVOKABLE bool isNull ()
 
Q_INVOKABLE bool isValid ()
 
virtual Q_INVOKABLE QString nullStr () const
 
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
 
virtual Q_INVOKABLE void setNullStr (const QString &text)
 
virtual void setText (const QVariant &)
 
Q_INVOKABLE void setValidator (QValidator *v)
 
Q_INVOKABLE double toDouble (bool *=0)
 

Public Slots

void silentSetId (const int)
 
void sList ()
 
void sSearch ()
 
- Public Slots inherited from VirtualClusterLineEdit
virtual void clear ()
 
virtual QString extraClause () const
 
virtual void sCopy ()
 
virtual void sEllipses ()
 
virtual void setEditPriv (const QString &priv)
 
virtual void setId (const int)
 
virtual void setNewPriv (const QString &priv)
 
virtual void setNumber (const QString &)
 
virtual void setShowInactive (const bool)
 
virtual void setUiName (const QString &name)
 
virtual void setViewPriv (const QString &priv)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sNew ()
 
virtual void sOpen ()
 
virtual void sSearch ()
 
- Public Slots inherited from XLineEdit
virtual void setData ()
 
virtual void setData (const QString &text)
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultText (QString p)
 
virtual void setFieldName (QString p)
 
virtual void sParse ()
 

Signals

void dueDateChanged (const QDate &)
 
void itemDescrip1Changed (const QString &)
 
void itemDescrip2Changed (const QString &)
 
void itemNumberChanged (const QString &)
 
void methodChanged (const QString &)
 
void newId (int)
 
void newItemid (int)
 
void qtyBalanceChanged (const double)
 
void qtyOrderedChanged (const double)
 
void qtyReceivedChanged (const double)
 
void startDateChanged (const QDate &)
 
void statusChanged (const QString &)
 
void uomChanged (const QString &)
 
void valid (bool)
 
void warehouseChanged (const QString &)
 
- Signals inherited from VirtualClusterLineEdit
void newId (int)
 
void parsed ()
 
void valid (bool)
 
- Signals inherited from XLineEdit
void clicked ()
 
void doubleClicked ()
 
void requestAlias ()
 
void requestCopy ()
 
void requestInfo ()
 
void requestList ()
 
void requestSearch ()
 

Protected Member Functions

woListlistFactory ()
 
woSearchsearchFactory ()
 
- Protected Member Functions inherited from VirtualClusterLineEdit
virtual bool eventFilter (QObject *obj, QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void silentSetId (const int)
 
- Protected Member Functions inherited from XLineEdit
virtual void focusOutEvent (QFocusEvent *event)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void mousePressEvent (QMouseEvent *)
 

Friends

class WoCluster
 

Additional Inherited Members

- Static Public Attributes inherited from VirtualClusterLineEdit
static GuiClientInterface_guiClientInterface = 0
 
- Protected Attributes inherited from VirtualClusterLineEdit
QString _activeClause
 
QString _activeColName
 
QCompleter * _completer
 
int _completerId
 
QAction_copyAct
 
QString _descripColName
 
QString _description
 
QString _editPriv
 
QString _extraClause
 
bool _hasActive
 
bool _hasDescription
 
bool _hasName
 
QString _idClause
 
QString _idColName
 
QAction_infoAct
 
QMenu * _menu
 
QLabel_menuLabel
 
QSqlQueryModel * _model
 
QString _name
 
QString _nameColName
 
QAction_newAct
 
QString _newPriv
 
QString _numClause
 
QString _numColName
 
QAction_openAct
 
QString _query
 
bool _showInactive
 
bool _strict
 
QString _titlePlural
 
QString _titleSingular
 
QString _uiName
 
QString _viewPriv
 
- Protected Attributes inherited from XLineEdit
QAction_aliasAct
 
QAction_copyProject
 
int _id
 
QAction_listAct
 
QString _nullStr
 
bool _parsed
 
QAction_searchAct
 
bool _valid
 
- Protected Slots inherited from VirtualClusterLineEdit
virtual void clearExtraClause ()
 
virtual void completerHighlighted (const QModelIndex &)
 
virtual VirtualInfoinfoFactory ()
 
bool isStrict () const
 
virtual void setExtraClause (const QString &pExt)
 
void setStrict (bool)
 
virtual void setStrikeOut (bool enable=false)
 
virtual void setTableAndColumnNames (const char *pTabName, const char *pIdColumn, const char *pNumberColumn, const char *pNameColumn, const char *pDescripColumn, const char *pActiveColumn)
 
virtual void setTitles (const QString &, const QString &=0)
 
virtual void sHandleCompleter ()
 
virtual void sHandleNullStr ()
 
virtual QWidgetsOpenWindow (const QString &uiName, ParameterList &params)
 
virtual void sParse ()
 
virtual void sUpdateMenu ()
 
- Protected Slots inherited from XLineEdit
virtual void sHandleNullStr ()
 

Member Enumeration Documentation

Enumerator
Open 
Exploded 
Issued 
Released 
Closed 

Constructor & Destructor Documentation

WoLineEdit::WoLineEdit ( QWidget pParent,
const char *  pName = 0 
)
WoLineEdit::WoLineEdit ( int  pWoType,
QWidget pParent,
const char *  pName = 0 
)

Member Function Documentation

Q_INVOKABLE int WoLineEdit::currentWarehouse ( ) const
inline
void WoLineEdit::dueDateChanged ( const QDate &  )
signal
void WoLineEdit::itemDescrip1Changed ( const QString &  )
signal
void WoLineEdit::itemDescrip2Changed ( const QString &  )
signal
void WoLineEdit::itemNumberChanged ( const QString &  )
signal
woList * WoLineEdit::listFactory ( )
protectedvirtual

Reimplemented from VirtualClusterLineEdit.

Q_INVOKABLE QString WoLineEdit::method ( ) const
inline
void WoLineEdit::methodChanged ( const QString &  )
signal
void WoLineEdit::newId ( int  )
signal
void WoLineEdit::newItemid ( int  )
signal
void WoLineEdit::qtyBalanceChanged ( const double  )
signal
void WoLineEdit::qtyOrderedChanged ( const double  )
signal
void WoLineEdit::qtyReceivedChanged ( const double  )
signal
woSearch * WoLineEdit::searchFactory ( )
protectedvirtual

Reimplemented from VirtualClusterLineEdit.

void WoLineEdit::setType ( int  pWoType)
void WoLineEdit::setWarehouse ( int  pWarehouseid)
void WoLineEdit::silentSetId ( const int  pId)
slot
void WoLineEdit::sList ( )
slot
void WoLineEdit::sSearch ( )
slot
void WoLineEdit::startDateChanged ( const QDate &  )
signal
void WoLineEdit::statusChanged ( const QString &  )
signal
Q_INVOKABLE int WoLineEdit::type ( ) const
inline
void WoLineEdit::uomChanged ( const QString &  )
signal
void WoLineEdit::valid ( bool  )
signal
Q_INVOKABLE int WoLineEdit::warehouse ( ) const
inline
void WoLineEdit::warehouseChanged ( const QString &  )
signal

Friends And Related Function Documentation

friend class WoCluster
friend

Property Documentation

int WoLineEdit::type
readwrite

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

Generated on Fri Oct 7 2016 14:23:35 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10