##// END OF EJS Templates
Multi selection improvements
Multi selection improvements

File last commit:

r1049:ead367adcd3d
r1084:8c4e23ece78b
Show More
VisualizationSelectionZoneManager.h
26 lines | 749 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationSelectionZoneManager.h
multi selection of zones
r1049 #ifndef SCIQLOP_VISUALIZATIONSELECTIONZONEMANAGER_H
#define SCIQLOP_VISUALIZATIONSELECTIONZONEMANAGER_H
#include <Common/spimpl.h>
#include <QVector>
class VisualizationSelectionZoneItem;
class VisualizationSelectionZoneManager {
public:
VisualizationSelectionZoneManager();
void select(const QVector<VisualizationSelectionZoneItem *> &items);
void setSelected(VisualizationSelectionZoneItem *item, bool value);
void clearSelection();
QVector<VisualizationSelectionZoneItem *> selectedItems() const;
private:
class VisualizationSelectionZoneManagerPrivate;
spimpl::unique_impl_ptr<VisualizationSelectionZoneManagerPrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONSELECTIONZONEMANAGER_H