#include <calendarTools.h>
Public Types | |
enum | PopulateStyle { Replace, Append } |
Properties | |
QString | altDragString |
QString | dragString |
bool | populateLinear |
Public Slots | |
void | addColumn (const QString &, int, int, bool=true, const QString=QString(), const QString=QString(), const int scale=0) |
void | clear () |
void | hideColumn (int colnum) |
void | load (ParameterList &) |
void | populate (int) |
Signals | |
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 | populateHeaderMenu (QMenu *, QTreeWidgetItem *, int) |
void | populateMenu (QMenu *, QTreeWidgetItem *) |
void | populateMenu (QMenu *, QTreeWidgetItem *, int) |
void | populateMenu (QMenu *, XTreeWidgetItem *) |
void | populateMenu (QMenu *, XTreeWidgetItem *, int) |
void | resorted () |
void | valid (bool) |
Public Member Functions | |
PeriodsListView (QWidget *, const char *=0) | |
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 QString | column (const int) const |
virtual Q_INVOKABLE int | column (const QString) const |
Q_INVOKABLE int | columnCount () const |
Q_INVOKABLE int | currentColumn () const |
virtual Q_INVOKABLE XTreeWidgetItem * | currentItem () 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 XTreeWidgetItem * | findXTreeWidgetItemWithId (const XTreeWidget *ptree, const int pid) |
Q_INVOKABLE XTreeWidgetItem * | findXTreeWidgetItemWithId (const XTreeWidgetItem *ptreeitem, const int pid) |
Q_INVOKABLE PeriodListViewItem * | getSelected (int) |
Q_INVOKABLE void | getSelected (ParameterList &) |
Q_INVOKABLE QTreeWidgetItem * | headerItem () 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 XTreeWidgetItem * | invisibleRootItem () const |
Q_INVOKABLE bool | isFirstItemColumnSpanned (const XTreeWidgetItem *item) const |
Q_INVOKABLE bool | isPeriodSelected () |
Q_INVOKABLE XTreeWidgetItem * | itemAbove (const XTreeWidgetItem *item) const |
Q_INVOKABLE QTreeWidgetItem * | itemAt (const QPoint &p) const |
Q_INVOKABLE QTreeWidgetItem * | itemAt (int x, int y) const |
Q_INVOKABLE QTreeWidgetItem * | itemBelow (const XTreeWidgetItem *item) const |
Q_INVOKABLE QWidget * | itemWidget (XTreeWidgetItem *item, int column) const |
void | keyPressEvent (QKeyEvent *e) |
void | merge (int low, int high, int mid) |
void | mergeSort (int low, int high) |
Q_INVOKABLE void | moveColumn (int from, int to) |
Q_INVOKABLE void | openPersistentEditor (XTreeWidgetItem *item, int column=0) |
Q_INVOKABLE QList< QVariant > | periodList () |
Q_INVOKABLE QString | periodString () |
void | populate (const QString &, bool=false) |
void | populate (const QString &, int, bool=false) |
Q_INVOKABLE void | populate (XSqlQuery, bool=false, PopulateStyle=Replace) |
Q_INVOKABLE void | populate (XSqlQuery, int, bool=false, PopulateStyle=Replace) |
bool | populateLinear () |
Q_INVOKABLE QVariant | rawValue (const QString colname) const |
Q_INVOKABLE void | removeItemWidget (XTreeWidgetItem *item, int column) |
void | sCopyCellToClipboard () |
void | sCopyColumnToClipboard () |
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 (const QString &) |
void | showColumn (int colnum) |
Q_INVOKABLE QList< QPair< int, Qt::SortOrder > > | sortColumnOrder () |
virtual Q_INVOKABLE void | sortItems (int column=0, Qt::SortOrder order=Qt::AscendingOrder) |
void | sSearch (const QString &) |
void | sToggleForgetfulness () |
Q_INVOKABLE QTreeWidgetItem * | takeTopLevelItem (int index) |
Q_INVOKABLE QString | toCsv () |
Q_INVOKABLE QString | toHtml () const |
virtual Q_INVOKABLE XTreeWidgetItem * | topLevelItem (int idx) const |
Q_INVOKABLE int | topLevelItemCount () const |
Q_INVOKABLE QString | toSV (QString pSep) const |
Q_INVOKABLE QString | toTxt () const |
Q_INVOKABLE QString | toVcf () const |
Q_INVOKABLE QRect | visualItemRect (const XTreeWidgetItem *item) const |
Public Attributes | |
bool | _forgetful |
QString | _settingsName |
Static Public Attributes | |
static GuiClientInterface * | _guiClientInterface |
Protected Slots | |
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) |
Protected Member Functions | |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | resizeEvent (QResizeEvent *) |
Protected Attributes | |
QPoint | dragStartPosition |
|
inherited |
|
readwriteinherited |
|
readwriteinherited |
|
readwriteinherited |
PeriodsListView::PeriodsListView | ( | QWidget * | pParent, |
const char * | pName = 0 |
||
) |
|
slotinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
slotinherited |
|
inlineinherited |
|
virtualinherited |
|
virtualinherited |
|
inlineinherited |
|
inlineinherited |
|
virtualinherited |
|
signalinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
PeriodListViewItem * PeriodsListView::getSelected | ( | int | pIndex | ) |
void PeriodsListView::getSelected | ( | ParameterList & | pParams | ) |
|
inlineinherited |
|
inherited |
|
inlineslotinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
bool PeriodsListView::isPeriodSelected | ( | ) |
|
inherited |
|
signalinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
inlineinherited |
|
inherited |
|
slot |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
inlineinherited |
|
signalinherited |
|
inlineinherited |
QList< QVariant > PeriodsListView::periodList | ( | ) |
QString PeriodsListView::periodString | ( | ) |
|
inherited |
|
inherited |
|
slot |
|
inherited |
|
inherited |
|
protectedslotinherited |
|
signalinherited |
|
signalinherited |
|
inherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
|
protectedslotinherited |
|
inherited |
Returns the Raw Value of the first selected row on colname
|
inlineinherited |
|
protectedvirtualinherited |
|
signalinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedslotinherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Selects a row with a matching value pId on the first column in the result set. If pClear is true then any previous selections are cleared.
|
inherited |
Selects a row with a matching values pId and pAltId on the first and second columns respectively in the result set. If pClear is true then any previous selections are cleared.
|
inlineinherited |
|
inherited |
|
inherited |
|
protectedslotinherited |
|
inherited |
|
inlineinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
protectedslotinherited |
|
inherited |
|
virtualinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
signalinherited |
|
inlineinherited |
|
inherited |
|
staticinherited |
|
inherited |
|
protectedinherited |
Generated on Fri Apr 9 2021 | xTuple ERP Programmer Reference, Version 5.0.0 | 1.8.17 |