class toListView

The TOra implementation of a listview which offers a few extra goodies to the baseclass. More...

Definition#include <toresultview.h>
InheritsQListView (qt) [public ], toEditWidget [public ]
Inherited byresultCols, toResultConstraint, toResultDepend, toResultIndexes, toResultLong, toResultPlan, toResultReferences, toResultStats, toResultView
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Slots


Detailed Description

The TOra implementation of a listview which offers a few extra goodies to the baseclass. First of all tooltip which can display contents that doesn't fit in the list, printing, integration into toMain with Edit menu etc, drag & drop, export as file, display item as memo and context menu.

 toListView (QWidget *parent,const char *name=NULL)

toListView

Create new list view.

Parameters:
parentParent of list.
nameName of list.

QString  sqlName (void)

sqlName

[virtual]

Get SQL name of list.

void  setSQLName (const QString &name)

setSQLName

[virtual]

Set SQL name of list.

QString  menuText (void)

menuText

Get the whole text for the item and column selected when menu was poped up.

void  editPrint (void)

editPrint

[virtual]

Print this list

Reimplemented from toEditWidget.

void  editSearch (toSearchReplace *)

editSearch

[virtual]

Reimplemented for internal reasons.

Reimplemented from toEditWidget.

void  focusInEvent (QFocusEvent *e)

focusInEvent

[virtual]

Reimplemented for internal reasons.

Reimplemented from QListView.

QString  middleString ()

middleString

[virtual]

The string to be displayed in the middle of the footer when printing.

Returns: String to be placed in middle.

void  addMenues (QPopupMenu *menu)

addMenues

[virtual]

Adds option to add menues to the popup menu before it is displayed.

Parameters:
menuMenu to add entries to.

void  editSave (bool ask)

editSave

[virtual]

Export list as file

Reimplemented from toEditWidget.

void  displayMenu (QListViewItem *item,const QPoint &pnt,int col)

displayMenu

[virtual slot]

Display the menu at the given point and column.

Parameters:
itemItem to display.
pntPoint to display menu at.
colColumn to display menu for.

void  displayMemo (void)

displayMemo

[virtual slot]

Display memo of selected menu column

void  menuCallback (int id)

menuCallback

[protected slots virtual slot]

Callback when menu is selected. If you override this make sure you call the parents function when you have parsed your entries.

Parameters:
idID of the menu item selected.