OpendTect-6_4  6.4
uicoltabmarker.h
Go to the documentation of this file.
1 #ifndef uicoltabmarker_h
2 #define uicoltabmarker_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Satyaki Maitra
8  Date: April 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uitoolsmod.h"
15 #include "uidialog.h"
16 #include "uigraphicsview.h"
17 #include "uistring.h"
18 
19 namespace ColTab{ class Sequence; }
20 class MouseEventHandler;
22 class uiTable;
23 class uiParent;
24 class uiWorld2Ui;
25 
26 
29 public:
31 
33 
34 protected:
35 
38 
39  void fillTable();
40  void rebuildColTab();
41  void mouseClick(CallBacker*);
42  void markerInserted(CallBacker*);
43  void markerDeleted(CallBacker*);
44  void markerPosChgd(CallBacker*);
45  bool acceptOK(CallBacker*);
46 
47 };
48 
49 
52 public:
56 
58 
59 protected:
60 
64  int selidx_;
67 
68  void addMarker(float,bool);
69  void removeMarker(int);
70  bool changeColor(int);
71 
72  void drawMarkers(CallBacker*);
73  void mouseClk(CallBacker*);
74  void mouse2Clk(CallBacker*);
75  void mouseRelease(CallBacker*);
76  void mouseMove(CallBacker*);
77  void markerChgd(CallBacker*);
78 };
79 
80 #endif
Class to provide coordinate conversion between a cartesian coordinate system (or any other transforme...
Definition: uiworld2ui.h:55
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Notifier< uiColTabMarkerDlg > markersChanged
Definition: uicoltabmarker.h:32
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
Definition: uicoltabmarker.h:50
Notifier< uiColTabMarkerCanvas > markerChanged
Definition: uicoltabmarker.h:57
ColTab::Sequence & ctab_
Definition: uicoltabmarker.h:37
Definition: uitable.h:30
Definition: uiparent.h:26
MouseEventHandler & meh_
Definition: uicoltabmarker.h:66
Definition: uidialog.h:42
Definition: uigraphicsitem.h:157
uiParent * parent_
Definition: uicoltabmarker.h:62
int selidx_
Definition: uicoltabmarker.h:64
Definition: uicoltabmarker.h:27
uiWorld2Ui * w2ui_
Definition: uicoltabmarker.h:61
Definition: mouseevent.h:162
ColTab::Sequence & ctab_
Definition: uicoltabmarker.h:65
uiGraphicsItemGroup * markerlineitmgrp_
Definition: uicoltabmarker.h:63
Definition: uigraphicsview.h:51
Color Table
Definition: coltab.h:22
uiTable * table_
Definition: uicoltabmarker.h:36

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