#include <qcalc.h>
Public Slots | ||||
void | makeGroup () | |||
Method that creates a new folder containing all items on localList (ie selected). Inserts folder in place of selected items or at root if nothing is selected. | ||||
void | paste () | |||
Method that pastes a new item into the current list view using the content of the clipboard as WLcontext. | ||||
void | renameSelectedItemAlias () | |||
void | deleteListItems () | |||
void | deleteAllItems () | |||
void | insertVirtualItem () | |||
void | tabChanged (QWidget *qwdgt) | |||
void | validateWLitems () | |||
Method that validates all items on this list view against the Working List
| ||||
void | propagateSelection (const char *, const char *) | |||
void | propagateDrop (const char *) | |||
Signals | ||||
void | pasteDetected () | |||
void | SelectionUpdated () | |||
void | listItemDeleted () | |||
Public Member Functions | ||||
QcalcListView (QWidget *parent, QcalcWindow *QjW, const char *name=0) | ||||
~QcalcListView () | ||||
void | insertEntries (const QString &context) | |||
void | insertEntries (QguListItem *dropAt, QguListItem *item) | |||
Method that inserts a new item at target dropAt in the current list view. Item takes WLcontext as its name. | ||||
virtual void | dropEvent (QDropEvent *event) | |||
Event handler called when the drag is dropped on this list view. Re-implemented from QWidget. Drop uses dragList. | ||||
bool | reNameItemAlias (QcalcListVirtualItem *item) | |||
void | setSelectedList (QguListItem *item) | |||
Method that sets the selected list (localList) to contain item and all its descendents. | ||||
virtual void | getAliasArrDim (QString, Dim_var &) | |||
virtual QguAliasObjType | getAliasObjectType (QString) | |||
virtual QguAliasType | getAliasObject (QString, QdObject_var) | |||
virtual QdObject_var | getAliasResultObject (QString) | |||
Public Attributes | ||||
QcalcWindow * | owner | |||
QString | m_qstrWidgetText | |||
QdTimeSeq_var | qdtargetTT | |||
Protected Member Functions | ||||
void | keyPressEvent (QKeyEvent *e) | |||
virtual void | contentsMouseReleaseEvent (QMouseEvent *event) | |||
Method that processes the mouse up event. It has been re-implemented from Q3ListView. | ||||
virtual void | contentsMousePressEvent (QMouseEvent *event) | |||
Method to process mouse down events. Re-implemented from Q3ListView. Handles select, multi-select and drag. | ||||
virtual void | contentsMouseMoveEvent (QMouseEvent *event) | |||
Method that processes the mouse move event. It has been re-implemented from Q3ListView. | ||||
virtual void | dragMoveEvent (QDragMoveEvent *event) | |||
Event handler that is called when a drag is in progress. Re-implemented from QWidget. | ||||
virtual void | contentsMouseDoubleClickEvent (QMouseEvent *event) | |||
Method that processes the mouse double-click event. It has been re-implemented from Q3ListView. | ||||
Private Types | ||||
typedef void(QCheckBox::* | CheckBoxFnPtr )(bool bOn) | |||
Private Attributes | ||||
QString | m_strAliseName | |||
char | m_chChar | |||
Friends | ||||
Vostream & | operator<< (Vostream &, QcalcListView &) | |||
Vistream & | operator>> (Vistream &, QcalcListView &) |
The main signals that are processed in this class are:
The main slots for this class are grouped into 5 categories:
typedef void( QCheckBox::* QcalcListView::CheckBoxFnPtr)(bool bOn) [private] |
QcalcListView::QcalcListView | ( | QWidget * | parent, | |
QcalcWindow * | QjW, | |||
const char * | name = 0 | |||
) |
QcalcListView::~QcalcListView | ( | ) |
void QcalcListView::contentsMouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Method that processes the mouse double-click event. It has been re-implemented from Q3ListView.
event | of type QMouseEvent * |
None |
Reimplemented from QguListView.
void QcalcListView::contentsMouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Method that processes the mouse move event. It has been re-implemented from Q3ListView.
event | of type QMouseEvent * |
none |
Reimplemented from QguListView.
void QcalcListView::contentsMousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Method to process mouse down events. Re-implemented from Q3ListView. Handles select, multi-select and drag.
event | of type QMouseEvent * |
none |
Reimplemented from QguListView.
void QcalcListView::contentsMouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Method that processes the mouse up event. It has been re-implemented from Q3ListView.
event | of type QMouseEvent * |
none |
Reimplemented from QguListView.
void QcalcListView::deleteAllItems | ( | ) | [slot] |
void QcalcListView::deleteListItems | ( | ) | [slot] |
Reimplemented from QguListView.
void QcalcListView::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
Event handler that is called when a drag is in progress. Re-implemented from QWidget.
event | of type QDragMoveEvent * |
none |
Reimplemented from QguListView.
void QcalcListView::dropEvent | ( | QDropEvent * | event | ) | [virtual] |
Event handler called when the drag is dropped on this list view. Re-implemented from QWidget. Drop uses dragList.
event | of type QDropEvent * |
None |
Reimplemented from QguListView.
void QcalcListView::getAliasArrDim | ( | QString | objName, | |
Dim_var & | dim | |||
) | [virtual] |
Reimplemented from QguListView.
QguAliasType QcalcListView::getAliasObject | ( | QString | objName, | |
QdObject_var | dobj | |||
) | [virtual] |
Reimplemented from QguListView.
QguAliasObjType QcalcListView::getAliasObjectType | ( | QString | objName | ) | [virtual] |
Reimplemented from QguListView.
QdObject_var QcalcListView::getAliasResultObject | ( | QString | objName | ) | [virtual] |
Reimplemented from QguListView.
void QcalcListView::insertEntries | ( | QguListItem * | dropAt, | |
QguListItem * | item | |||
) | [virtual] |
Method that inserts a new item at target dropAt in the current list view. Item takes WLcontext as its name.
dropAt | of type QguListItem* | |
item | of type QguListItem* |
none |
Reimplemented from QguListView.
void QcalcListView::insertEntries | ( | const QString & | context | ) | [virtual] |
Reimplemented from QguListView.
void QcalcListView::insertVirtualItem | ( | ) | [slot] |
void QcalcListView::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
void QcalcListView::listItemDeleted | ( | ) | [signal] |
void QcalcListView::makeGroup | ( | ) | [slot] |
Method that creates a new folder containing all items on localList (ie selected). Inserts folder in place of selected items or at root if nothing is selected.
None |
None |
Reimplemented from QguListView.
void QcalcListView::paste | ( | ) | [slot] |
Method that pastes a new item into the current list view using the content of the clipboard as WLcontext.
None |
None |
Reimplemented from QguListView.
void QcalcListView::pasteDetected | ( | ) | [signal] |
void QcalcListView::propagateDrop | ( | const char * | objString | ) | [slot] |
void QcalcListView::propagateSelection | ( | const char * | compString, | |
const char * | compType | |||
) | [slot] |
bool QcalcListView::reNameItemAlias | ( | QcalcListVirtualItem * | item | ) |
void QcalcListView::renameSelectedItemAlias | ( | ) | [slot] |
void QcalcListView::SelectionUpdated | ( | ) | [signal] |
void QcalcListView::setSelectedList | ( | QguListItem * | item | ) |
Method that sets the selected list (localList) to contain item and all its descendents.
item | of type QguListItem * |
none |
Reimplemented from QguListView.
void QcalcListView::tabChanged | ( | QWidget * | qwdgt | ) | [slot] |
void QcalcListView::validateWLitems | ( | ) | [slot] |
Method that validates all items on this list view against the Working List
None. |
Reimplemented from QguListView.
Vostream& operator<< | ( | Vostream & | , | |
QcalcListView & | ||||
) | [friend] |
Vistream& operator>> | ( | Vistream & | , | |
QcalcListView & | ||||
) | [friend] |
char QcalcListView::m_chChar [private] |
QString QcalcListView::m_qstrWidgetText |
QString QcalcListView::m_strAliseName [private] |