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

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