List of all members | Public Member Functions | Public Slots
PeriodsListView Class Reference

#include <calendarTools.h>

Public Member Functions

 PeriodsListView (QWidget *, const char *=0)
 
Q_INVOKABLE PeriodListViewItemgetSelected (int)
 
Q_INVOKABLE void getSelected (ParameterList &)
 
Q_INVOKABLE bool isPeriodSelected ()
 
Q_INVOKABLE QList< QVariant > periodList ()
 
Q_INVOKABLE QString periodString ()
 
- Public Member Functions inherited from XTreeWidget
 XTreeWidget (QWidget *)
 
 ~XTreeWidget ()
 
Q_INVOKABLE void addTopLevelItem (XTreeWidgetItem *item)
 
Q_INVOKABLE void addTopLevelItems (const QList< XTreeWidgetItem * > &items)
 
QString altDragString () const
 
Q_INVOKABLE int altId () const
 
Q_INVOKABLE void closePersistentEditor (XTreeWidgetItem *item, int column=0)
 
virtual Q_INVOKABLE int column (const QString) const
 
Q_INVOKABLE int columnCount () const
 
Q_INVOKABLE int currentColumn () const
 
virtual Q_INVOKABLE XTreeWidgetItemcurrentItem () const
 
QString dragString () const
 
Q_INVOKABLE void editItem (XTreeWidgetItem *item, int column=0)
 
Q_INVOKABLE QList< XTreeWidgetItem * > findItems (const QString &text, Qt::MatchFlags flags, int column=0, int role=0) const
 
Q_INVOKABLE XTreeWidgetItemfindXTreeWidgetItemWithId (const XTreeWidget *ptree, const int pid)
 
Q_INVOKABLE XTreeWidgetItemfindXTreeWidgetItemWithId (const XTreeWidgetItem *ptreeitem, const int pid)
 
Q_INVOKABLE QTreeWidgetItemheaderItem () const
 
void hideColumn (const QString &)
 
Q_INVOKABLE int id () const
 
Q_INVOKABLE int id (const QString) const
 
Q_INVOKABLE int indexOfTopLevelItem (XTreeWidgetItem *item) const
 
Q_INVOKABLE void insertTopLevelItem (int index, XTreeWidgetItem *item)
 
Q_INVOKABLE void insertTopLevelItems (int index, const QList< XTreeWidgetItem * > &items)
 
Q_INVOKABLE XTreeWidgetIteminvisibleRootItem () const
 
Q_INVOKABLE bool isFirstItemColumnSpanned (const XTreeWidgetItem *item) const
 
Q_INVOKABLE XTreeWidgetItemitemAbove (const XTreeWidgetItem *item) const
 
Q_INVOKABLE QTreeWidgetItemitemAt (const QPoint &p) const
 
Q_INVOKABLE QTreeWidgetItemitemAt (int x, int y) const
 
Q_INVOKABLE QTreeWidgetItemitemBelow (const XTreeWidgetItem *item) const
 
Q_INVOKABLE QWidgetitemWidget (XTreeWidgetItem *item, int column) const
 
Q_INVOKABLE void moveColumn (int from, int to)
 
Q_INVOKABLE void openPersistentEditor (XTreeWidgetItem *item, int column=0)
 
Q_INVOKABLE void populate (XSqlQuery, bool=FALSE, PopulateStyle=Replace)
 
Q_INVOKABLE void populate (XSqlQuery, int, bool=FALSE, PopulateStyle=Replace)
 
void populate (const QString &, bool=FALSE)
 
void populate (const QString &, int, bool=FALSE)
 
bool populateLinear ()
 
Q_INVOKABLE QVariant rawValue (const QString colname) const
 
Q_INVOKABLE void removeItemWidget (XTreeWidgetItem *item, int column)
 
void sCopyCellToClipboard ()
 
void sCopyRowToClipboard ()
 
void sCopyVisibleToClipboard ()
 
Q_INVOKABLE QList< XTreeWidgetItem * > selectedItems () const
 
void setAltDragString (QString)
 
virtual Q_INVOKABLE void setColumnCount (int columns)
 
virtual Q_INVOKABLE void setColumnLocked (int, bool)
 
virtual Q_INVOKABLE void setColumnVisible (int, bool)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item, int column)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item, int column, QItemSelectionModel::SelectionFlags command)
 
void setDragString (QString)
 
Q_INVOKABLE void setFirstItemColumnSpanned (const XTreeWidgetItem *item, bool span)
 
Q_INVOKABLE void setHeaderItem (XTreeWidgetItem *item)
 
Q_INVOKABLE void setHeaderLabel (const QString &label)
 
Q_INVOKABLE void setHeaderLabels (const QStringList &labels)
 
Q_INVOKABLE void setId (int pId, bool pClear=true)
 
Q_INVOKABLE void setId (int pId, int pAltId, bool pClear=true)
 
Q_INVOKABLE void setItemWidget (XTreeWidgetItem *item, int column, QWidget *widget)
 
void setPopulateLinear (bool alwaysLinear=true)
 
void sExport ()
 
void showColumn (int colnum)
 
void showColumn (const QString &)
 
Q_INVOKABLE int sortColumn () const
 
virtual Q_INVOKABLE void sortItems (int column, Qt::SortOrder order)
 
Q_INVOKABLE Qt::SortOrder sortOrder () const
 
void sSearch (const QString &)
 
Q_INVOKABLE QTreeWidgetItemtakeTopLevelItem (int index)
 
Q_INVOKABLE QString toCsv () const
 
Q_INVOKABLE QString toHtml () const
 
virtual Q_INVOKABLE XTreeWidgetItemtopLevelItem (int idx) const
 
Q_INVOKABLE int topLevelItemCount () const
 
Q_INVOKABLE QString toTxt () const
 
Q_INVOKABLE QString toVcf () const
 
Q_INVOKABLE QRect visualItemRect (const XTreeWidgetItem *item) const
 

Public Slots

void load (ParameterList &)
 
void populate (int)
 
- Public Slots inherited from XTreeWidget
void addColumn (const QString &, int, int, bool=true, const QString=QString(), const QString=QString(), const int scale=0)
 
void clear ()
 
void hideColumn (int colnum)
 

Additional Inherited Members

- Public Types inherited from XTreeWidget
enum  PopulateStyle { Replace, Append }
 
- Properties inherited from XTreeWidget
QString altDragString
 
QString dragString
 
bool populateLinear
 
- Signals inherited from XTreeWidget
void currentItemChanged (XTreeWidgetItem *, XTreeWidgetItem *)
 
void itemActivated (XTreeWidgetItem *item, int column)
 
void itemChanged (XTreeWidgetItem *item, int column)
 
void itemClicked (XTreeWidgetItem *item, int column)
 
void itemCollapsed (XTreeWidgetItem *item)
 
void itemDoubleClicked (XTreeWidgetItem *item, int column)
 
void itemEntered (XTreeWidgetItem *item, int column)
 
void itemExpanded (XTreeWidgetItem *item)
 
void itemPressed (XTreeWidgetItem *item, int column)
 
void itemSelected (int)
 
void newId (int)
 
void populated ()
 
void populateMenu (QMenu *, QTreeWidgetItem *)
 
void populateMenu (QMenu *, QTreeWidgetItem *, int)
 
void populateMenu (QMenu *, XTreeWidgetItem *)
 
void populateMenu (QMenu *, XTreeWidgetItem *, int)
 
void resorted ()
 
void valid (bool)
 
- Static Public Attributes inherited from XTreeWidget
static GuiClientInterface_guiClientInterface = 0
 
- Protected Attributes inherited from XTreeWidget
QPoint dragStartPosition
 
- Protected Member Functions inherited from XTreeWidget
virtual void mouseMoveEvent (QMouseEvent *)
 
virtual void mousePressEvent (QMouseEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
- Protected Slots inherited from XTreeWidget
void populateCalculatedColumns ()
 
void populateWorker ()
 
void sCurrentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 
void sHeaderClicked (int)
 
void sItemActivated (QTreeWidgetItem *item, int column)
 
void sItemChanged (QTreeWidgetItem *item, int column)
 
void sItemClicked (QTreeWidgetItem *item, int column)
 
void sItemCollapsed (QTreeWidgetItem *item)
 
void sItemDoubleClicked (QTreeWidgetItem *item, int column)
 
void sItemEntered (QTreeWidgetItem *item, int column)
 
void sItemExpanded (QTreeWidgetItem *item)
 
void sItemPressed (QTreeWidgetItem *item, int column)
 

Constructor & Destructor Documentation

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

Member Function Documentation

PeriodListViewItem * PeriodsListView::getSelected ( int  pIndex)
void PeriodsListView::getSelected ( ParameterList &  pParams)
bool PeriodsListView::isPeriodSelected ( )
void PeriodsListView::load ( ParameterList &  pParams)
slot
QList< QVariant > PeriodsListView::periodList ( )
QString PeriodsListView::periodString ( )
void PeriodsListView::populate ( int  pCalheadid)
slot

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

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