class toResultStats

This widget will displays information about statistics in either a database or a session. More...

Definition#include <toresultstats.h>
InheritstoResultView [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals


Detailed Description

This widget will displays information about statistics in either a database or a session.

 toResultStats (bool OnlyChanged,int ses,QWidget *parent,const char *name=NULL)

toResultStats

Create statistics widget for session statistics.

Parameters:
OnlyChangedOnly display changed items.
sesSession ID to display info about.
parentParent widget.
nameName of widget.

 toResultStats (bool OnlyChanged,QWidget *parent,const char *name=NULL)

toResultStats

Create statistics widget for the current session statistics.

Parameters:
OnlyChangedOnly display changed items.
parentParent widget.
nameName of widget.

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

toResultStats

Create statistics widget for the current database statistics.

Parameters:
parentParent widget.
nameName of widget.

 ~toResultStats ()

~toResultStats

Destroy object.

void  resetStats (void)

resetStats

Reset statistics. Read in last values without updating widget data.

void  changeSession (toQuery &conn)

changeSession

Change the session that the current query will run on.

Parameters:
queryQuery to check connection for.

void  changeSession (int ses)

changeSession

Change session to specified id.

Parameters:
sesSession ID to change to.

bool  canHandle (toConnection &conn)

canHandle

[virtual]

Support Oracle

Reimplemented from toResultView.

void  sessionChanged (int ses)

sessionChanged

[signal]

Emitted when session is changed.

Parameters:
sesNew session ID.

void  sessionChanged (const QString &)

sessionChanged

[signal]

Emitted when session is changed.

Parameters:
sesNew session ID as string.

void  refreshStats (bool reset=true)

refreshStats

[slot]

Update the statistics.

Parameters:
resetSet delta to current values. This means that the next time this widget is updated the delta will be from the new values.