List of all members | Public Member Functions | Public Slots | Signals | Static Public Attributes | Protected Attributes | Protected Member Functions | Protected Slots | Friends
VirtualClusterLineEdit Class Reference

#include <virtualCluster.h>

Public Member Functions

 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

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 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 ()
 

Static Public Attributes

static GuiClientInterface_guiClientInterface = 0
 

Protected Attributes

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 Member Functions

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 *)
 

Protected Slots

virtual void clearExtraClause ()
 
virtual void completerHighlighted (const QModelIndex &)
 
virtual VirtualInfoinfoFactory ()
 
bool isStrict () const
 
virtual VirtualListlistFactory ()
 
virtual VirtualSearchsearchFactory ()
 
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 ()
 

Friends

class VirtualCluster
 
class VirtualInfo
 
class VirtualList
 
class VirtualSearch
 

Additional Inherited Members

- Properties inherited from XLineEdit
QString defaultText
 
QString fieldName
 

Constructor & Destructor Documentation

VirtualClusterLineEdit::VirtualClusterLineEdit ( QWidget pParent,
const char *  pTabName,
const char *  pIdColumn,
const char *  pNumberColumn,
const char *  pNameColumn,
const char *  pDescripColumn,
const char *  pExtra,
const char *  pName = 0,
const char *  pActiveColumn = 0 
)

Member Function Documentation

bool VirtualClusterLineEdit::canOpen ( )
virtual

Reimplemented in CLineEdit.

void VirtualClusterLineEdit::clear ( )
virtualslot

Reimplemented in OrderLineEdit.

virtual void VirtualClusterLineEdit::clearExtraClause ( )
inlineprotectedvirtualslot
void VirtualClusterLineEdit::completerHighlighted ( const QModelIndex &  index)
protectedvirtualslot
virtual Q_INVOKABLE QString VirtualClusterLineEdit::description ( ) const
inlinevirtual
virtual Q_INVOKABLE QString VirtualClusterLineEdit::editPriv ( ) const
inlinevirtual
bool VirtualClusterLineEdit::eventFilter ( QObject obj,
QEvent *  event 
)
protectedvirtual
virtual QString VirtualClusterLineEdit::extraClause ( ) const
inlinevirtualslot
void VirtualClusterLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Reimplemented from XLineEdit.

VirtualInfo * VirtualClusterLineEdit::infoFactory ( )
protectedvirtualslot
bool VirtualClusterLineEdit::isStrict ( ) const
inlineprotectedslot
VirtualList * VirtualClusterLineEdit::listFactory ( )
protectedvirtualslot
QMenu* VirtualClusterLineEdit::menu ( ) const
inline
virtual Q_INVOKABLE QSqlQueryModel* VirtualClusterLineEdit::model ( ) const
inlinevirtual
virtual Q_INVOKABLE QString VirtualClusterLineEdit::name ( ) const
inlinevirtual
void VirtualClusterLineEdit::newId ( int  )
signal
void VirtualClusterLineEdit::parsed ( )
signal
void VirtualClusterLineEdit::resizeEvent ( QResizeEvent *  e)
protectedvirtual
void VirtualClusterLineEdit::sCopy ( )
virtualslot
VirtualSearch * VirtualClusterLineEdit::searchFactory ( )
protectedvirtualslot
void VirtualClusterLineEdit::sEllipses ( )
virtualslot
void VirtualClusterLineEdit::setEditPriv ( const QString &  priv)
virtualslot
virtual void VirtualClusterLineEdit::setExtraClause ( const QString &  pExt)
inlineprotectedvirtualslot

Reimplemented in OrderLineEdit, and AropenLineEdit.

void VirtualClusterLineEdit::setId ( const int  pId)
virtualslot
void VirtualClusterLineEdit::setMenu ( QMenu *  menu)
void VirtualClusterLineEdit::setNewPriv ( const QString &  priv)
virtualslot
void VirtualClusterLineEdit::setNumber ( const QString &  pNumber)
virtualslot
void VirtualClusterLineEdit::setShowInactive ( const bool  p)
virtualslot
void VirtualClusterLineEdit::setStrict ( bool  b)
protectedslot
void VirtualClusterLineEdit::setStrikeOut ( bool  enable = false)
protectedvirtualslot
void VirtualClusterLineEdit::setTableAndColumnNames ( const char *  pTabName,
const char *  pIdColumn,
const char *  pNumberColumn,
const char *  pNameColumn,
const char *  pDescripColumn,
const char *  pActiveColumn 
)
protectedvirtualslot
void VirtualClusterLineEdit::setTitles ( const QString &  s,
const QString &  p = 0 
)
protectedvirtualslot
void VirtualClusterLineEdit::setUiName ( const QString &  name)
virtualslot
void VirtualClusterLineEdit::setViewPriv ( const QString &  priv)
virtualslot
void VirtualClusterLineEdit::sHandleCompleter ( )
protectedvirtualslot
void VirtualClusterLineEdit::sHandleNullStr ( )
protectedvirtualslot
void VirtualClusterLineEdit::silentSetId ( const int  pId)
protectedvirtual

Reimplemented in OrderLineEdit, and QuoteLineEdit.

void VirtualClusterLineEdit::sInfo ( )
virtualslot
void VirtualClusterLineEdit::sList ( )
virtualslot
void VirtualClusterLineEdit::sNew ( )
virtualslot
void VirtualClusterLineEdit::sOpen ( )
virtualslot
QWidget * VirtualClusterLineEdit::sOpenWindow ( const QString &  uiName,
ParameterList &  params 
)
protectedvirtualslot
void VirtualClusterLineEdit::sParse ( )
protectedvirtualslot
void VirtualClusterLineEdit::sSearch ( )
virtualslot
void VirtualClusterLineEdit::sUpdateMenu ( )
protectedvirtualslot
virtual Q_INVOKABLE QString VirtualClusterLineEdit::uiName ( ) const
inlinevirtual
void VirtualClusterLineEdit::valid ( bool  )
signal
virtual Q_INVOKABLE QString VirtualClusterLineEdit::viewPriv ( ) const
inlinevirtual

Friends And Related Function Documentation

friend class VirtualCluster
friend
friend class VirtualInfo
friend
friend class VirtualList
friend
friend class VirtualSearch
friend

Member Data Documentation

QString VirtualClusterLineEdit::_activeClause
protected
QString VirtualClusterLineEdit::_activeColName
protected
QCompleter* VirtualClusterLineEdit::_completer
protected
int VirtualClusterLineEdit::_completerId
protected
QAction* VirtualClusterLineEdit::_copyAct
protected
QString VirtualClusterLineEdit::_descripColName
protected
QString VirtualClusterLineEdit::_description
protected
QString VirtualClusterLineEdit::_editPriv
protected
QString VirtualClusterLineEdit::_extraClause
protected
GuiClientInterface * VirtualClusterLineEdit::_guiClientInterface = 0
static
bool VirtualClusterLineEdit::_hasActive
protected
bool VirtualClusterLineEdit::_hasDescription
protected
bool VirtualClusterLineEdit::_hasName
protected
QString VirtualClusterLineEdit::_idClause
protected
QString VirtualClusterLineEdit::_idColName
protected
QAction* VirtualClusterLineEdit::_infoAct
protected
QMenu* VirtualClusterLineEdit::_menu
protected
QLabel* VirtualClusterLineEdit::_menuLabel
protected
QSqlQueryModel* VirtualClusterLineEdit::_model
protected
QString VirtualClusterLineEdit::_name
protected
QString VirtualClusterLineEdit::_nameColName
protected
QAction* VirtualClusterLineEdit::_newAct
protected
QString VirtualClusterLineEdit::_newPriv
protected
QString VirtualClusterLineEdit::_numClause
protected
QString VirtualClusterLineEdit::_numColName
protected
QAction* VirtualClusterLineEdit::_openAct
protected
QString VirtualClusterLineEdit::_query
protected
bool VirtualClusterLineEdit::_showInactive
protected
bool VirtualClusterLineEdit::_strict
protected
QString VirtualClusterLineEdit::_titlePlural
protected
QString VirtualClusterLineEdit::_titleSingular
protected
QString VirtualClusterLineEdit::_uiName
protected
QString VirtualClusterLineEdit::_viewPriv
protected

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