OrderLineEdit Class Reference

#include <ordercluster.h>

List of all members.

Public Types

enum  OrderStatus { AnyStatus = 0x00, Unposted = 0x01, Open = 0x02, Closed = 0x04 }
enum  OrderType {
  AnyType = 0x00, Purchase = 0x01, Return = 0x02, Sales = 0x04,
  Transfer = 0x08
}

Public Member Functions

 OrderLineEdit (QWidget *, const char *=0)
virtual Q_INVOKABLE OrderStatuses allowedStatuses () const
virtual Q_INVOKABLE OrderTypes allowedTypes () const
virtual Q_INVOKABLE void clear ()
virtual Q_INVOKABLE QString from () const
virtual Q_INVOKABLE QString fromPrivsClause ()
virtual Q_INVOKABLE bool fromSitePrivsEnforced () const
virtual Q_INVOKABLE bool isClosed () const
virtual Q_INVOKABLE bool isOpen () const
virtual Q_INVOKABLE bool isPO () const
virtual Q_INVOKABLE bool isRA () const
virtual Q_INVOKABLE bool isSO () const
virtual Q_INVOKABLE bool isTO () const
virtual Q_INVOKABLE bool isUnposted () const
virtual Q_INVOKABLE void setExtraClause (const OrderTypes, const QString &)
virtual Q_INVOKABLE void setExtraClause (const QString &, const QString &)
virtual Q_INVOKABLE void setExtraClause (const QString &p)
virtual Q_INVOKABLE void setFromSitePrivsEnforced (const bool p)
virtual Q_INVOKABLE void setToSitePrivsEnforced (const bool p)
virtual Q_INVOKABLE OrderStatus status ()
virtual Q_INVOKABLE QString to () const
virtual Q_INVOKABLE QString toPrivsClause ()
virtual Q_INVOKABLE bool toSitePrivsEnforced () const
virtual Q_INVOKABLE QString type ()

Public Slots

virtual void setAllowedStatuses (const OrderStatuses)
virtual void setAllowedType (const QString &)
virtual void setAllowedTypes (const OrderTypes)
virtual void setId (const int, const QString &="")

Signals

void newId (const int, const QString &)
void numberChanged (const QString &, const QString &)

Protected Attributes

OrderStatuses _allowedStatuses
OrderTypes _allowedTypes
QString _from
QString _to

Protected Member Functions

virtual QString buildExtraClause ()
virtual void silentSetId (const int)

Protected Slots

virtual VirtualListlistFactory ()
virtual VirtualSearchsearchFactory ()
virtual void sNewId (const int)
virtual void sParse ()

Member Enumeration Documentation

Enumerator:
AnyStatus 
Unposted 
Open 
Closed 
Enumerator:
AnyType 
Purchase 
Return 
Sales 
Transfer 

Constructor & Destructor Documentation

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

Member Function Documentation

OrderLineEdit::OrderStatuses OrderLineEdit::allowedStatuses (  )  const [virtual]
OrderLineEdit::OrderTypes OrderLineEdit::allowedTypes (  )  const [virtual]
QString OrderLineEdit::buildExtraClause (  )  [protected, virtual]
void OrderLineEdit::clear (  )  [virtual]

Reimplemented from VirtualClusterLineEdit.

QString OrderLineEdit::from (  )  const [virtual]
virtual Q_INVOKABLE QString OrderLineEdit::fromPrivsClause (  )  [inline, virtual]
virtual Q_INVOKABLE bool OrderLineEdit::fromSitePrivsEnforced (  )  const [inline, virtual]
bool OrderLineEdit::isClosed (  )  const [virtual]
bool OrderLineEdit::isOpen (  )  const [virtual]
bool OrderLineEdit::isPO (  )  const [virtual]
bool OrderLineEdit::isRA (  )  const [virtual]
bool OrderLineEdit::isSO (  )  const [virtual]
bool OrderLineEdit::isTO (  )  const [virtual]
bool OrderLineEdit::isUnposted (  )  const [virtual]
VirtualList * OrderLineEdit::listFactory (  )  [protected, virtual, slot]

Reimplemented from VirtualClusterLineEdit.

void OrderLineEdit::newId ( const   int,
const QString  
) [signal]
void OrderLineEdit::numberChanged ( const QString ,
const QString  
) [signal]
VirtualSearch * OrderLineEdit::searchFactory (  )  [protected, virtual, slot]

Reimplemented from VirtualClusterLineEdit.

virtual void OrderLineEdit::setAllowedStatuses ( const   OrderStatuses  )  [virtual, slot]
void OrderLineEdit::setAllowedType ( const QString p  )  [virtual, slot]
void OrderLineEdit::setAllowedTypes ( const OrderTypes  p  )  [virtual, slot]
void OrderLineEdit::setExtraClause ( const OrderTypes  pTypes,
const QString pClause 
) [virtual]
void OrderLineEdit::setExtraClause ( const QString pType,
const QString pClause 
) [virtual]
virtual Q_INVOKABLE void OrderLineEdit::setExtraClause ( const QString p  )  [inline, virtual]

Reimplemented from VirtualClusterLineEdit.

void OrderLineEdit::setFromSitePrivsEnforced ( const bool  p  )  [virtual]
void OrderLineEdit::setId ( const int  pId,
const QString pType = "" 
) [virtual, slot]
void OrderLineEdit::setToSitePrivsEnforced ( const bool  p  )  [virtual]
void OrderLineEdit::silentSetId ( const int  pId  )  [protected, virtual]

Reimplemented from VirtualClusterLineEdit.

void OrderLineEdit::sNewId ( const int  p  )  [protected, virtual, slot]
void OrderLineEdit::sParse (  )  [protected, virtual, slot]

Reimplemented from VirtualClusterLineEdit.

OrderLineEdit::OrderStatus OrderLineEdit::status (  )  [virtual]
QString OrderLineEdit::to (  )  const [virtual]
virtual Q_INVOKABLE QString OrderLineEdit::toPrivsClause (  )  [inline, virtual]
virtual Q_INVOKABLE bool OrderLineEdit::toSitePrivsEnforced (  )  const [inline, virtual]
QString OrderLineEdit::type (  )  [virtual]

Member Data Documentation

OrderStatuses OrderLineEdit::_allowedStatuses [protected]
OrderTypes OrderLineEdit::_allowedTypes [protected]

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

Generated on Tue Apr 20 12:03:15 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1