Salome HOME
NRI : KERNEL is now defined in KERNELCatalog.
[modules/kernel.git] / src / OCCViewer / OCCViewer_Selector.h
1 //  File      : OCCViewer_Selector.h
2 //  Created   : Wed Mar 20 10:56:53 2002
3 //  Author    : Nicolas REJNERI
4 //  Project   : SALOME
5 //  Module    : OCCViewer
6 //  Copyright : Open CASCADE 2002
7 //  $Header$
8
9 #ifndef OCCViewer_SELECTOR_H
10 #define OCCViewer_SELECTOR_H
11
12 #include "QAD.h"
13
14 // QT Include
15 #include <qobject.h>
16
17 // Open CASCADE Include
18 #include <AIS_InteractiveObject.hxx>
19 #include <AIS_ListOfInteractive.hxx>
20
21 class QAD_EXPORT OCCViewer_Selector : public QObject
22 {
23   Q_OBJECT      
24                 
25  public:
26   OCCViewer_Selector();
27   virtual ~OCCViewer_Selector();
28
29  public:
30   void          enableSelection( bool );
31   void          enableMultipleSelection( bool );
32
33  signals:
34
35   void          selSelectionDone( bool bAdded );
36   void          selSelectionCancel( bool bAdded );
37         
38  protected:
39
40   int           myNumSelected;
41   bool          myEnableSelection;
42   bool          myEnableMultipleSelection;
43 };
44
45 #endif
46