OpendTect-6_4  6.4
uiicon.h
Go to the documentation of this file.
1 #ifndef uiicon_h
2 #define uiicon_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: April 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uibasemod.h"
16 #include "bufstring.h"
17 
18 mFDQtclass(QIcon)
19 
20 
21 
27 mExpClass(uiBase) uiIcon
28 {
29 public:
30  uiIcon();
31  uiIcon(const char* icon_identifier);
32  uiIcon(const uiIcon&);
33  ~uiIcon();
34 
35  void setIdentifier(const char*);
36  bool isEmpty() const;
37  const char* source() const;
38 
39  mQtclass(QIcon&) qicon() { return qicon_; }
40  const mQtclass(QIcon&) qicon() const { return qicon_; }
41 
42  static const char* None();
43 
44 protected:
45 
46  mQtclass(QIcon&) qicon_;
47  BufferString srcnm_;
48 };
49 
50 #endif
#define mExpClass(module)
Definition: commondefs.h:160
#define mQtclass(cls)
Definition: commondefs.h:229
FixedString None()
Definition: keystrs.h:90
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
mFDQtclass(QIcon) class uiIcon
Manager for icons of different sizes.
Definition: uiicon.h:18
bool isEmpty(const NLAModel *mdl)

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