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

#include <revisioncluster.h>

Inheritance diagram for RevisionLineEdit:
VirtualClusterLineEdit XLineEdit QLineEdit

Public Types

enum  Modes { View, Use, Maintain }
 
enum  RevisionTypes { All, BOM, BOO }
 
enum  Statuses { Active, Substitute, Pending, Inactive }
 

Properties

QString defaultText
 
QString fieldName
 
Modes mode
 
RevisionTypes type
 

Public Slots

void activate ()
 
virtual void clear ()
 
void deactivate ()
 
virtual QString extraClause () const
 
virtual void sCopy ()
 
virtual void sEllipses ()
 
void setActive ()
 
virtual void setData ()
 
virtual void setData (const QString &text)
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultText (QString p)
 
virtual void setEditPriv (const QString &priv)
 
virtual void setFieldName (QString p)
 
virtual void setId (const int, const QString &)
 
void setMode (Modes)
 
void setMode (QString)
 
virtual void setNewPriv (const QString &priv)
 
virtual void setNumber (const QString &)
 
virtual void setShowInactive (const bool)
 
void setTargetId (int pItem)
 
void setType (QString)
 
void setType (RevisionTypes)
 
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 ()
 

Signals

void canActivate (bool)
 
void canDeactivate (bool)
 
void clicked ()
 
void doubleClicked ()
 
void modeChanged ()
 
void newId (int)
 
void parsed ()
 
void requestAlias ()
 
void requestInfo ()
 
void requestList ()
 
void requestSearch ()
 
void valid (bool)
 

Public Member Functions

 RevisionLineEdit (QWidget *, const char *=0)
 
virtual Q_INVOKABLE bool canOpen ()
 
virtual QString defaultText () const
 
virtual Q_INVOKABLE QString description () const
 
virtual Q_INVOKABLE QString editPriv () const
 
virtual QString fieldName () const
 
Q_INVOKABLE int id ()
 
Q_INVOKABLE bool isNull ()
 
Q_INVOKABLE bool isValid ()
 
QMenu * menu () const
 
virtual Modes mode ()
 
virtual Q_INVOKABLE QSqlQueryModel * model () const
 
virtual Q_INVOKABLE QString name () const
 
virtual Q_INVOKABLE QString nullStr () const
 
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
 
void setMenu (QMenu *menu)
 
virtual Q_INVOKABLE void setNullStr (const QString &text)
 
virtual void setText (const QVariant &)
 
Q_INVOKABLE void setValidator (QValidator *v)
 
virtual Statuses status ()
 
Q_INVOKABLE double toDouble (bool *=0)
 
virtual RevisionTypes type ()
 
virtual QString typeText ()
 
virtual Q_INVOKABLE QString uiName () const
 
virtual Q_INVOKABLE QString viewPriv () const
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

virtual void clearExtraClause ()
 
virtual void completerActivated (const QModelIndex &)
 
virtual void completerHighlighted (const QModelIndex &)
 
virtual VirtualInfoinfoFactory ()
 
bool isStrict () const
 
virtual VirtualListlistFactory ()
 
virtual VirtualSearchsearchFactory ()
 
virtual void setExtraClause (const QString &pExt)
 
virtual void setId (const int)
 
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, const char *=0, const char *=0)
 
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 Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void mousePressEvent (QMouseEvent *)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void silentSetId (const int)
 

Protected Attributes

QString _activeClause
 
QString _activeColName
 
QAction_aliasAct
 
QCompleter * _completer
 
int _completerId
 
QAction_copyAct
 
QString _descripColName
 
QString _description
 
QString _editPriv
 
QString _extraClause
 
bool _hasActive
 
bool _hasDescription
 
bool _hasName
 
int _id
 
QString _idClause
 
QString _idColName
 
QAction_infoAct
 
QAction_listAct
 
QMenu * _menu
 
QLabel_menuLabel
 
QSqlQueryModel * _model
 
QString _name
 
QString _nameColName
 
QAction_newAct
 
QString _newPriv
 
QString _nullStr
 
QString _numClause
 
QString _numColName
 
QAction_openAct
 
bool _parsed
 
QString _query
 
QAction_searchAct
 
bool _showInactive
 
bool _strict
 
QString _titlePlural
 
QString _titleSingular
 
QString _uiName
 
bool _valid
 
QString _viewPriv
 

Friends

class RevisionCluster
 

Member Enumeration Documentation

◆ Modes

Enumerator
View 
Use 
Maintain 

◆ RevisionTypes

Enumerator
All 
BOM 
BOO 

◆ Statuses

Enumerator
Active 
Substitute 
Pending 
Inactive 

Property Documentation

◆ defaultText

QString XLineEdit::defaultText
readwriteinherited

◆ fieldName

QString XLineEdit::fieldName
readwriteinherited

◆ mode

RevisionLineEdit::Modes RevisionLineEdit::mode
readwrite

◆ type

RevisionLineEdit::RevisionTypes RevisionLineEdit::type
readwrite

Constructor & Destructor Documentation

◆ RevisionLineEdit()

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

Member Function Documentation

◆ activate

void RevisionLineEdit::activate ( )
slot

◆ canActivate

void RevisionLineEdit::canActivate ( bool  )
signal

◆ canDeactivate

void RevisionLineEdit::canDeactivate ( bool  )
signal

◆ canOpen()

bool VirtualClusterLineEdit::canOpen ( )
virtualinherited

Reimplemented in CLineEdit, and VendorLineEdit.

◆ clear

void VirtualClusterLineEdit::clear ( )
virtualslotinherited

Reimplemented in OrderLineEdit.

◆ clearExtraClause

virtual void VirtualClusterLineEdit::clearExtraClause ( )
inlineprotectedvirtualslotinherited

◆ clicked

void XLineEdit::clicked ( )
signalinherited

◆ completerActivated

void VirtualClusterLineEdit::completerActivated ( const QModelIndex &  pIndex)
protectedvirtualslotinherited

◆ completerHighlighted

void VirtualClusterLineEdit::completerHighlighted ( const QModelIndex &  pIndex)
protectedvirtualslotinherited

◆ deactivate

void RevisionLineEdit::deactivate ( )
slot

◆ defaultText()

virtual QString XLineEdit::defaultText ( ) const
inlinevirtualinherited

◆ description()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::description ( ) const
inlinevirtualinherited

◆ doubleClicked

void XLineEdit::doubleClicked ( )
signalinherited

◆ editPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::editPriv ( ) const
inlinevirtualinherited

◆ eventFilter()

bool VirtualClusterLineEdit::eventFilter ( QObject obj,
QEvent *  event 
)
protectedvirtualinherited

◆ extraClause

virtual QString VirtualClusterLineEdit::extraClause ( ) const
inlinevirtualslotinherited

◆ fieldName()

virtual QString XLineEdit::fieldName ( ) const
inlinevirtualinherited

Reimplemented in XDateEdit.

◆ focusInEvent()

void VirtualClusterLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtualinherited

Reimplemented from XLineEdit.

◆ focusOutEvent()

void XLineEdit::focusOutEvent ( QFocusEvent *  event)
protectedvirtualinherited

◆ id()

int XLineEdit::id ( )
inherited

◆ infoFactory

VirtualInfo * VirtualClusterLineEdit::infoFactory ( )
protectedvirtualslotinherited

◆ isNull()

bool XLineEdit::isNull ( )
inherited

◆ isStrict

bool VirtualClusterLineEdit::isStrict ( ) const
inlineprotectedslotinherited

◆ isValid()

bool XLineEdit::isValid ( )
inherited

◆ keyPressEvent()

void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protectedinherited

◆ listFactory

VirtualList * VirtualClusterLineEdit::listFactory ( )
protectedvirtualslotinherited

◆ menu()

QMenu* VirtualClusterLineEdit::menu ( ) const
inlineinherited

◆ mode()

virtual Modes RevisionLineEdit::mode ( )
virtual

◆ modeChanged

void RevisionLineEdit::modeChanged ( )
signal

◆ model()

virtual Q_INVOKABLE QSqlQueryModel* VirtualClusterLineEdit::model ( ) const
inlinevirtualinherited

◆ mouseDoubleClickEvent()

void XLineEdit::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedinherited

◆ mousePressEvent()

void XLineEdit::mousePressEvent ( QMouseEvent *  event)
protectedinherited

◆ name()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::name ( ) const
inlinevirtualinherited

◆ newId

void VirtualClusterLineEdit::newId ( int  )
signalinherited

◆ nullStr()

virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtualinherited

◆ parsed

void VirtualClusterLineEdit::parsed ( )
signalinherited

◆ requestAlias

void XLineEdit::requestAlias ( )
signalinherited

◆ requestInfo

void XLineEdit::requestInfo ( )
signalinherited

◆ requestList

void XLineEdit::requestList ( )
signalinherited

◆ requestSearch

void XLineEdit::requestSearch ( )
signalinherited

◆ resizeEvent()

void VirtualClusterLineEdit::resizeEvent ( QResizeEvent *  e)
protectedvirtualinherited

◆ sCopy

void VirtualClusterLineEdit::sCopy ( )
virtualslotinherited

◆ searchFactory

VirtualSearch * VirtualClusterLineEdit::searchFactory ( )
protectedvirtualslotinherited

◆ sEllipses

void VirtualClusterLineEdit::sEllipses ( )
virtualslotinherited

◆ setActive

void RevisionLineEdit::setActive ( )
slot

◆ setData [1/2]

void XLineEdit::setData ( )
virtualslotinherited

◆ setData [2/2]

void XLineEdit::setData ( const QString &  text)
virtualslotinherited

◆ setDataWidgetMap

void XLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
virtualslotinherited

◆ setDefaultText

virtual void XLineEdit::setDefaultText ( QString  p)
inlinevirtualslotinherited

◆ setDouble()

void XLineEdit::setDouble ( const double  pDouble,
const int  pPrec = -1 
)
virtualinherited

◆ setEditPriv

void VirtualClusterLineEdit::setEditPriv ( const QString &  priv)
virtualslotinherited

◆ setExtraClause

virtual void VirtualClusterLineEdit::setExtraClause ( const QString &  pExt)
inlineprotectedvirtualslotinherited

Reimplemented in OrderLineEdit, ApopenLineEdit, and AropenLineEdit.

◆ setFieldName

virtual void XLineEdit::setFieldName ( QString  p)
inlinevirtualslotinherited

◆ setId [1/2]

void RevisionLineEdit::setId ( const int  pId)
protectedvirtualslot

◆ setId [2/2]

void VirtualClusterLineEdit::setId ( const int  pId,
const QString &   
)
virtualslotinherited

◆ setMenu()

void VirtualClusterLineEdit::setMenu ( QMenu *  menu)
inherited

◆ setMode [1/2]

void RevisionLineEdit::setMode ( Modes  pMode)
slot

◆ setMode [2/2]

void RevisionLineEdit::setMode ( QString  pmode)
slot

◆ setNewPriv

void VirtualClusterLineEdit::setNewPriv ( const QString &  priv)
virtualslotinherited

◆ setNullStr()

void XLineEdit::setNullStr ( const QString &  text)
virtualinherited

◆ setNumber

void VirtualClusterLineEdit::setNumber ( const QString &  pNumber)
virtualslotinherited

◆ setShowInactive

void VirtualClusterLineEdit::setShowInactive ( const bool  p)
virtualslotinherited

◆ setStrict

void VirtualClusterLineEdit::setStrict ( bool  b)
protectedslotinherited

◆ setStrikeOut

void VirtualClusterLineEdit::setStrikeOut ( bool  enable = false)
protectedvirtualslotinherited

◆ setTableAndColumnNames

void VirtualClusterLineEdit::setTableAndColumnNames ( const char *  pTabName,
const char *  pIdColumn,
const char *  pNumberColumn,
const char *  pNameColumn,
const char *  pDescripColumn,
const char *  pActiveColumn,
const char *  = 0,
const char *  = 0 
)
protectedvirtualslotinherited

◆ setTargetId

void RevisionLineEdit::setTargetId ( int  pItem)
slot

◆ setText()

void XLineEdit::setText ( const QVariant &  pVariant)
virtualinherited

◆ setTitles

void VirtualClusterLineEdit::setTitles ( const QString &  s,
const QString &  p = 0 
)
protectedvirtualslotinherited

◆ setType [1/2]

void RevisionLineEdit::setType ( QString  ptype)
slot

◆ setType [2/2]

void RevisionLineEdit::setType ( RevisionTypes  pType)
slot

◆ setUiName

void VirtualClusterLineEdit::setUiName ( const QString &  name)
virtualslotinherited

◆ setValidator()

Q_INVOKABLE void XLineEdit::setValidator ( QValidator *  v)
inlineinherited

◆ setViewPriv

void VirtualClusterLineEdit::setViewPriv ( const QString &  priv)
virtualslotinherited

◆ sHandleCompleter

void VirtualClusterLineEdit::sHandleCompleter ( )
protectedvirtualslotinherited

◆ sHandleNullStr

void VirtualClusterLineEdit::sHandleNullStr ( )
protectedvirtualslotinherited

◆ silentSetId()

void VirtualClusterLineEdit::silentSetId ( const int  pId)
protectedvirtualinherited

Reimplemented in OrderLineEdit, and QuoteLineEdit.

◆ sInfo

void VirtualClusterLineEdit::sInfo ( )
virtualslotinherited

◆ sList

void VirtualClusterLineEdit::sList ( )
virtualslotinherited

◆ sNew

void VirtualClusterLineEdit::sNew ( )
virtualslotinherited

◆ sOpen

void VirtualClusterLineEdit::sOpen ( )
virtualslotinherited

◆ sOpenWindow

QWidget * VirtualClusterLineEdit::sOpenWindow ( const QString &  uiName,
ParameterList &  params 
)
protectedvirtualslotinherited

◆ sParse

void RevisionLineEdit::sParse ( )
protectedvirtualslot

◆ sSearch

void VirtualClusterLineEdit::sSearch ( )
virtualslotinherited

◆ status()

RevisionLineEdit::Statuses RevisionLineEdit::status ( )
virtual

◆ sUpdateMenu

void RevisionLineEdit::sUpdateMenu ( )
protectedvirtualslot

◆ toDouble()

double XLineEdit::toDouble ( bool *  pIsValid = 0)
inherited

◆ type()

virtual RevisionTypes RevisionLineEdit::type ( )
virtual

◆ typeText()

QString RevisionLineEdit::typeText ( )
virtual

◆ uiName()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::uiName ( ) const
inlinevirtualinherited

◆ valid

void VirtualClusterLineEdit::valid ( bool  )
signalinherited

◆ viewPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::viewPriv ( ) const
inlinevirtualinherited

Friends And Related Function Documentation

◆ RevisionCluster

friend class RevisionCluster
friend

Member Data Documentation

◆ _activeClause

QString VirtualClusterLineEdit::_activeClause
protectedinherited

◆ _activeColName

QString VirtualClusterLineEdit::_activeColName
protectedinherited

◆ _aliasAct

QAction* XLineEdit::_aliasAct
protectedinherited

◆ _completer

QCompleter* VirtualClusterLineEdit::_completer
protectedinherited

◆ _completerId

int VirtualClusterLineEdit::_completerId
protectedinherited

◆ _copyAct

QAction* VirtualClusterLineEdit::_copyAct
protectedinherited

◆ _descripColName

QString VirtualClusterLineEdit::_descripColName
protectedinherited

◆ _description

QString VirtualClusterLineEdit::_description
protectedinherited

◆ _editPriv

QString VirtualClusterLineEdit::_editPriv
protectedinherited

◆ _extraClause

QString VirtualClusterLineEdit::_extraClause
protectedinherited

◆ _guiClientInterface

GuiClientInterface * VirtualClusterLineEdit::_guiClientInterface
staticinherited

◆ _hasActive

bool VirtualClusterLineEdit::_hasActive
protectedinherited

◆ _hasDescription

bool VirtualClusterLineEdit::_hasDescription
protectedinherited

◆ _hasName

bool VirtualClusterLineEdit::_hasName
protectedinherited

◆ _id

int XLineEdit::_id
protectedinherited

◆ _idClause

QString VirtualClusterLineEdit::_idClause
protectedinherited

◆ _idColName

QString VirtualClusterLineEdit::_idColName
protectedinherited

◆ _infoAct

QAction* VirtualClusterLineEdit::_infoAct
protectedinherited

◆ _listAct

QAction* XLineEdit::_listAct
protectedinherited

◆ _menu

QMenu* VirtualClusterLineEdit::_menu
protectedinherited

◆ _menuLabel

QLabel* VirtualClusterLineEdit::_menuLabel
protectedinherited

◆ _model

QSqlQueryModel* VirtualClusterLineEdit::_model
protectedinherited

◆ _name

QString VirtualClusterLineEdit::_name
protectedinherited

◆ _nameColName

QString VirtualClusterLineEdit::_nameColName
protectedinherited

◆ _newAct

QAction* VirtualClusterLineEdit::_newAct
protectedinherited

◆ _newPriv

QString VirtualClusterLineEdit::_newPriv
protectedinherited

◆ _nullStr

QString XLineEdit::_nullStr
protectedinherited

◆ _numClause

QString VirtualClusterLineEdit::_numClause
protectedinherited

◆ _numColName

QString VirtualClusterLineEdit::_numColName
protectedinherited

◆ _openAct

QAction* VirtualClusterLineEdit::_openAct
protectedinherited

◆ _parsed

bool XLineEdit::_parsed
protectedinherited

◆ _query

QString VirtualClusterLineEdit::_query
protectedinherited

◆ _searchAct

QAction* XLineEdit::_searchAct
protectedinherited

◆ _showInactive

bool VirtualClusterLineEdit::_showInactive
protectedinherited

◆ _strict

bool VirtualClusterLineEdit::_strict
protectedinherited

◆ _titlePlural

QString VirtualClusterLineEdit::_titlePlural
protectedinherited

◆ _titleSingular

QString VirtualClusterLineEdit::_titleSingular
protectedinherited

◆ _uiName

QString VirtualClusterLineEdit::_uiName
protectedinherited

◆ _valid

bool XLineEdit::_valid
protectedinherited

◆ _viewPriv

QString VirtualClusterLineEdit::_viewPriv
protectedinherited

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