ParameterWidget Class Reference

#include <parameterwidget.h>

List of all members.

Public Types

enum  ParameterWidgetTypes {
  Crmacct, User, Text, Date,
  XComBox, Contact, Multiselect
}

Public Member Functions

 ParameterWidget (QWidget *pParent, const char *=0)
void appendValue (ParameterList &)
Q_INVOKABLE void applyDefaultFilterSet ()
Q_INVOKABLE ParameterList parameters ()

Public Slots

void addParam ()
void applySaved (int pId=0, int filter_id=0)
void changeFilterObject (int index)
void clearFilters ()
void removeParam (int)
void save ()
void setFiltersDefault ()
void setFiltersVisabiltyPreference ()
void setSavedFilters (int defaultId=-1)
void setSavedFiltersIndex (QString)
void setType (QString, QString, enum ParameterWidgetTypes=Text, QVariant pDefault=0, QVariant extraInfo=QVariant())
void setXComboBoxType (QString, QString, QString, QVariant pDefault=0)
void setXComboBoxType (QString, QString, enum XComboBox::XComboBoxTypes, QVariant pDefault=0)
void sManageFilters ()
void storeFilterValue (int pId=-1, QObject *filter=0)
void toggleSave ()

Signals

void cleared ()
void filterSetSaved ()
void updated ()

Protected Member Functions

bool containsUsedType (QString)
int getFilterIndex (const QWidget *filterwidget)
QWidgetgetFilterWidget (const int index)
QString getParameterTypeKey (QString)
void setSelectedFilter (int filter_id)
virtual void showEvent (QShowEvent *)

Protected Slots

void resetMultiselect (QTableWidgetItem *item)

Member Enumeration Documentation

Enumerator:
Crmacct 
User 
Text 
Date 
XComBox 
Contact 
Multiselect 

Constructor & Destructor Documentation

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

Member Function Documentation

void ParameterWidget::addParam (  )  [slot]
void ParameterWidget::appendValue ( ParameterList &  pParams  ) 
void ParameterWidget::applyDefaultFilterSet (  ) 
void ParameterWidget::applySaved ( int  pId = 0,
int  filter_id = 0 
) [slot]
void ParameterWidget::changeFilterObject ( int  index  )  [slot]
void ParameterWidget::cleared (  )  [signal]
void ParameterWidget::clearFilters (  )  [slot]
bool ParameterWidget::containsUsedType ( QString  value  )  [protected]
void ParameterWidget::filterSetSaved (  )  [signal]
int ParameterWidget::getFilterIndex ( const QWidget filterwidget  )  [protected]
QWidget * ParameterWidget::getFilterWidget ( const int  index  )  [protected]
QString ParameterWidget::getParameterTypeKey ( QString  pValue  )  [protected]
ParameterList ParameterWidget::parameters (  ) 
void ParameterWidget::removeParam ( int  pRow  )  [slot]
void ParameterWidget::resetMultiselect ( QTableWidgetItem item  )  [protected, slot]
void ParameterWidget::save (  )  [slot]
void ParameterWidget::setFiltersDefault (  )  [slot]
void ParameterWidget::setFiltersVisabiltyPreference (  )  [slot]
void ParameterWidget::setSavedFilters ( int  defaultId = -1  )  [slot]
void ParameterWidget::setSavedFiltersIndex ( QString  filterSetName  )  [slot]
void ParameterWidget::setSelectedFilter ( int  filter_id  )  [protected]
void ParameterWidget::setType ( QString  ,
QString  ,
enum  ParameterWidgetTypes = Text,
QVariant  pDefault = 0,
QVariant  extraInfo = QVariant() 
) [slot]
void ParameterWidget::setXComboBoxType ( QString  pName,
QString  pParam,
QString  pQry,
QVariant  pDefault = 0 
) [slot]
void ParameterWidget::setXComboBoxType ( QString  pName,
QString  pParam,
enum XComboBox::XComboBoxTypes  xType,
QVariant  pDefault = 0 
) [slot]
void ParameterWidget::showEvent ( QShowEvent event  )  [protected, virtual]

Reimplemented from QWidget.

void ParameterWidget::sManageFilters (  )  [slot]
void ParameterWidget::storeFilterValue ( int  pId = -1,
QObject filter = 0 
) [slot]
void ParameterWidget::toggleSave (  )  [slot]
void ParameterWidget::updated (  )  [signal]

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

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