OpendTect  6.6
uiicon.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: April 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uibasemod.h"
15 #include "bufstring.h"
16 
17 mFDQtclass(QIcon)
18 
19 
20 
26 mExpClass(uiBase) uiIcon
27 {
28 public:
29  uiIcon();
30  uiIcon(const char* icon_identifier);
31  uiIcon(const uiIcon&);
32  ~uiIcon();
33 
34  void setIdentifier(const char*);
35  bool isEmpty() const;
36  const char* source() const;
37 
38  mQtclass(QIcon&) qicon() { return qicon_; }
39  const mQtclass(QIcon&) qicon() const { return qicon_; }
40 
41  static const char* None();
42 
43 protected:
44 
45  mQtclass(QIcon&) qicon_;
46  BufferString srcnm_;
47 };
48 
mFDQtclass
mFDQtclass(QIcon) class uiIcon
Manager for icons of different sizes.
Definition: uiicon.h:17
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
bufstring.h
isEmpty
bool isEmpty(const NLAModel *mdl)
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Network::None
@ None
Definition: networkcommon.h:33
mQtclass
#define mQtclass(cls)
Definition: commondefs.h:234

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