OpendTect  6.6
uiscalebaritem.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: Nanne Hemstra
8  Date: April 2012
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "treeitem.h"
15 
16 namespace Pick { class Set; }
17 
18 mClass(Annotations) ScaleBarSubItem : public SubItem
19 {
20 public:
21  ScaleBarSubItem(Pick::Set&,int displayid=-1);
22  bool init();
23  static const char* sKeyManager() { return "ScaleBarAnnotations"; }
24 
25 protected:
26  ~ScaleBarSubItem() { removeStuff(); }
27 
28  const char* parentType() const;
29  void fillStoragePar(IOPar&) const;
30 
34 
35  const char* managerName() const { return sKeyManager();}
36 
37  MenuItem propmnuitem_;
39 
40  static const char* sKeyOrientation() { return "Orientation"; }
41  static const char* sKeyLineWidth() { return "Line width"; }
42 };
43 
44 
Annotations
Definition: treeitem.h:21
ScaleBarSubItem::sKeyLineWidth
static const char * sKeyLineWidth()
Definition: uiscalebaritem.h:41
Pick::Set
Set of picks with something in common.
Definition: pickset.h:34
treeitem.h
ScaleBarSubItem::handleMenuCB
void handleMenuCB(CallBacker *)
Pick
Definition: picklocation.h:21
ScaleBarSubItem::managerName
const char * managerName() const
Definition: uiscalebaritem.h:35
ScaleBarSubItem::fillStoragePar
void fillStoragePar(IOPar &) const
ScaleBarSubItem::sKeyOrientation
static const char * sKeyOrientation()
Definition: uiscalebaritem.h:40
MenuItem
Definition: menuhandler.h:76
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
ScaleBarSubItem::createMenuCB
void createMenuCB(CallBacker *)
ScaleBarSubItem::orientation_
int orientation_
Definition: uiscalebaritem.h:38
ScaleBarSubItem::~ScaleBarSubItem
~ScaleBarSubItem()
Definition: uiscalebaritem.h:26
ScaleBarSubItem::parentType
const char * parentType() const
ScaleBarSubItem::ScaleBarSubItem
ScaleBarSubItem(Pick::Set &, int displayid=-1)
mClass
#define mClass(module)
Definition: commondefs.h:181
ScaleBarSubItem::sKeyManager
static const char * sKeyManager()
Definition: uiscalebaritem.h:23
ScaleBarSubItem::init
bool init()
ScaleBarSubItem::propertyChange
void propertyChange(CallBacker *)
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
ScaleBarSubItem
Definition: uiodannottreeitem.h:125

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