OpendTect-6_4  6.4
uiflatauxdataeditorlist.h
Go to the documentation of this file.
1 #ifndef uiflatauxdataeditorlist_h
2 #define uiflatauxdataeditorlist_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: June 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiflatviewmod.h"
16 #include "uigroup.h"
17 #include "uimenuhandler.h"
18 
19 class MenuHandler;
20 class uiListBox;
21 
22 namespace FlatView { class AuxDataEditor; }
23 
30 {
31 public:
34 
35  void addEditor(FlatView::AuxDataEditor*);
37  void removeEditor(FlatView::AuxDataEditor*);
38 
39  void updateList(CallBacker* = 0);
40  void setSelection(const FlatView::AuxDataEditor*,int id);
42 
43  bool isRectangleSelection() const;
44  void useRectangleSelection(bool yn);
45 
46  NotifierAccess& selectionChange() { return change_; }
47  void getSelections(ObjectSet<FlatView::AuxDataEditor>&,
48  TypeSet<int>& ids );
49 
50  MenuHandler& menuhandler() { return *uimenuhandler_; }
51 
52  NotifierAccess& pointSelectionChanged() { return ptselchange_; }
56 protected:
57 
58  void pointSelectionChangedCB(CallBacker*);
59  void rightClickedCB(CallBacker*);
60  virtual void listSelChangeCB(CallBacker*);
61  int findEditorIDPair( const FlatView::AuxDataEditor*,
62  int id) const;
63 
65 
67  //coupled, 1 per row in the list
69  //coupled, 1 per row in the list
70 
73 
76 
78 };
79 
80 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: menuhandler.h:187
Interface class for Notifier. See comments there.
Definition: callback.h:161
uiListBox * listbox_
Definition: uiflatauxdataeditorlist.h:71
ObjectSet< FlatView::AuxDataEditor > editors_
Definition: uiflatauxdataeditorlist.h:64
uiMenuHandler * uimenuhandler_
Definition: uiflatauxdataeditorlist.h:72
Notifier< uiFlatViewAuxDataEditorList > ptselchange_
Definition: uiflatauxdataeditorlist.h:75
Definition: uiparent.h:26
NotifierAccess & pointSelectionChanged()
Definition: uiflatauxdataeditorlist.h:52
Definition: uimenuhandler.h:27
List Box.
Definition: uilistbox.h:75
ObjectSet< FlatView::AuxDataEditor > listboxeditors_
Definition: uiflatauxdataeditorlist.h:68
bool isrectangleselection_
Definition: uiflatauxdataeditorlist.h:77
Editor for FlatView::AuxData. Allows the end-user to click-drag-release the points in data...
Definition: flatauxdataeditor.h:119
A list with all auxdata in a FlatView::AuxDataEditor where the user can select which one should be ac...
Definition: uiflatauxdataeditorlist.h:29
NotifierAccess & selectionChange()
Definition: uiflatauxdataeditorlist.h:46
Notifier< uiFlatViewAuxDataEditorList > change_
Definition: uiflatauxdataeditorlist.h:74
TypeSet< int > listboxids_
Definition: uiflatauxdataeditorlist.h:66
MenuHandler & menuhandler()
Definition: uiflatauxdataeditorlist.h:50
Definition: bitmap2rgb.h:18

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019