class toToolWidget

Simple baseclass for widgets defining the main tool widget. More...

Definition#include <totool.h>
InheritsQVBox (qt) [public ], toHelpContext [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals


Detailed Description

Simple baseclass for widgets defining the main tool widget. It is in no way mandatory and all it does is register the widget in the connetion.

void  connectionChange (void)

connectionChange

[signal]

Emitted when the connection is changed.

 toToolWidget (toTool &tool, const QString &ctx, QWidget *parent, toConnection &conn, const char *name=NULL)

toToolWidget

Create widget.

Parameters:
ctxHelp context for this tool.
parentParent widget.
connConnection of widget.
nameName of widget.

 ~toToolWidget ()

~toToolWidget

toConnectionconnection ()

connection

Get the current connection.

Returns: Reference to connection.

toTooltool (void)

tool

Get the tool for this tool widget.

Returns: Reference to a tool object.

bool  canHandle (toConnection &conn)

canHandle

[virtual]

Check if this tool can handle a specific connection.

Parameters:
providerName of connection.

Returns: True if connection is handled.

void  setConnection (toConnection &conn)

setConnection

Change connection of tool.

toTimertimer (void)

timer

Get timer of tool. Used by some results to get update time.

Returns: Pointer to a timer object.

void  exportData (std::map<QCString,QString> &data,const QCString &prefix)

exportData

[virtual]

Export data to a map.

Parameters:
dataA map that can be used to recreate the data of a chart.
prefixPrefix to add to the map.

void  importData (std::map<QCString,QString> &data,const QCString &prefix)

importData

[virtual]

Import data

Parameters:
dataData to read from a map.
prefixPrefix to read data from.