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

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