Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Related Pages  

SeqWidget Class Reference

Sequence widget. More...

#include <SeqWidget.h>

Collaboration diagram for SeqWidget:

Collaboration graph
[legend]

Public Methods

 SeqWidget (QWidget *parent, const char *name, int id, int sourceId, int position)
 Constructor. More...

 ~SeqWidget ()
 Destructor. More...

int getSourceId (void)
void clearSelection (void)
 Clears any highlighting or selection within the list of PluginItems. More...

int numPluginItems (void)
 Return the numer of PluginItems (image processing functions) contained within the Sequence widget. More...

PluginItem ** getPluginItems (void)
 Return the list of PluginItems (image processing functions) contained within the Sequence widget. More...

bool addFunction (int menuId)
 Add an Image processing function from the menu to this Sequence widget. More...

bool addFunction (int uniqueId, char *functionName)
 Add an Image processing function from the menu to this Sequence widget. More...


Detailed Description

Sequence widget.

This widget allows the images to be processed by a list of operations, and then displayed. This class requires plugin menu to be already be created.

See also:
SrcWidget


Constructor & Destructor Documentation

SeqWidget::SeqWidget QWidget *    parent,
const char *    name,
int    id,
int    sourceId,
int    position
 

Constructor.

SeqWidget::~SeqWidget  
 

Destructor.

Deletes the instance of the class.


Member Function Documentation

bool SeqWidget::addFunction int    uniqueId,
char *    functionName
 

Add an Image processing function from the menu to this Sequence widget.

Returns:
True if the function was added, false otherwise.
Parameters:
uniqueId  The uniqueId of the image processing plugin to use.
functionName  The name of the function to use.

bool SeqWidget::addFunction int    menuId
 

Add an Image processing function from the menu to this Sequence widget.

Returns:
True if the function was added, false otherwise.
Parameters:
menuId  The menuId of the function. To find this Id, use the functions in Improv to convert from uniqueId/Name to menuId.

void SeqWidget::clearSelection void   
 

Clears any highlighting or selection within the list of PluginItems.

PluginItem ** SeqWidget::getPluginItems void   
 

Return the list of PluginItems (image processing functions) contained within the Sequence widget.

Returns:
The PluginItems list.
See also:
PluginItem

int SeqWidget::getSourceId void   
 

Todo:
check that the position is with in the range

int SeqWidget::numPluginItems void   
 

Return the numer of PluginItems (image processing functions) contained within the Sequence widget.

Returns:
The number of PluginItems.


The documentation for this class was generated from the following files:
Generated on Tue Apr 1 11:01:18 2003 for ImprovQT by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002