Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Examples
QSSelection Class Reference
Holds a list of selected objects for QSPlotView.
More...
#include <qsplotview.h>
Inheritance diagram for QSSelection:
[legend]List of all members.
Detailed Description
Holds a list of selected objects for QSPlotView.
Notice that selection doesn't own its objects, so QSCObject::colection() doesn't return selection but some other collection ( QSPage::objects() for example ) which the object belongs to. Only object which belongs to the same collection can be selected at one time. Before an object from another collection is added selection is cleared.
Constructor & Destructor Documentation
QSSelection::QSSelection |
( |
QObject * |
parent = NULL |
) |
|
|
virtual QSSelection::~QSSelection |
( |
|
) |
[virtual] |
|
Member Function Documentation
|
Returns the selection default collection. |
virtual void QSSelection::insert |
( |
int |
position, |
|
|
QSCObject * |
object |
|
) |
[virtual] |
|
virtual void QSSelection::remove |
( |
int |
index |
) |
[virtual] |
|
|
Returns the selection default collection. |
|
Set selection to this object. |
void QSSelection::turn |
( |
QSCObject * |
object |
) |
|
|
|
Adds a new object to the selection or removes selected object. |
The documentation for this class was generated from the following file:
Generated on Mon Mar 18 19:16:56 2002 for KMatplot library by
1.2.14 written by Dimitri van Heesch,
© 1997-2002