27 #ifndef GLVIEWER_SELECTOR_H
28 #define GLVIEWER_SELECTOR_H
38 #include <Quantity_NameOfColor.hxx>
57 void setMinRectSize(
const QSize& minSize );
60 virtual void detect(
int x,
int y ) = 0;
64 virtual void select(
bool append =
false ) = 0;
66 virtual void select(
const QRect&,
bool append =
false ) = 0;
#define GLVIEWER_API
Macro for exports.
Definition: GLViewer.h:37
SelectionChangeStatus
Definition: GLViewer_Defs.h:36
Definition: GLViewer_Selector.h:47
virtual void setHilightColor(Quantity_NameOfColor)=0
GLViewer_Viewer * myViewer
Definition: GLViewer_Selector.h:88
bool myLocked
Definition: GLViewer_Selector.h:89
void selSelectionCancel()
virtual int numSelected() const =0
virtual void select(const QRect &, bool append=false)=0
Selects by rect.
virtual void unselectAll()=0
virtual void checkSelection(int, bool, int)=0
Checks selection state and emits 'selSelectionDone' or 'selSelectionCancel'
QSize myMinRectSize
Definition: GLViewer_Selector.h:90
virtual void detect(int x, int y)=0
Highlights in point (x,y)
void selSelectionDone(bool append, SelectionChangeStatus status)
virtual void select(bool append=false)=0
Selects highlight objects.
static void setAppendKey(int k)
Definition: GLViewer_Selector.h:78
virtual void setSelectColor(Quantity_NameOfColor)=0
virtual void undetectAll()=0
static int appendKey()
Definition: GLViewer_Selector.h:77
static int apppendKey
Definition: GLViewer_Selector.h:94
Definition: GLViewer_Viewer.h:60
For more information see QT documentation.
Definition: SUIT_Application.h:42