OpendTect-6_4  6.4
uisystemtrayicon.h
Go to the documentation of this file.
1 #ifndef uisystemtrayicon_h
2 #define uisystemtrayicon_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: January 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uibasemod.h"
16 #include "callback.h"
17 
18 mFDQtclass(QSystemTrayIcon)
20 
21 class uiIcon;
22 class uiMenu;
23 class uiString;
24 
26 {
27 public:
28 
29  uiSystemTrayIcon(const uiIcon&);
31 
32  void setIcon(const uiIcon&);
33  void setToolTip(const uiString&);
34  void setMenu(uiMenu*); // becomes mine
35  void show();
36  void hide();
37 
43 
44 protected:
45 
46  mQtclass(QSystemTrayIcon*) qsystemtrayicon_;
48 
49  uiMenu* menu_;
50 };
51 
52 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mQtclass(cls)
Definition: commondefs.h:229
void hide(const char *, bool yn)
only Windows
Definition: uistring.h:89
Notifier< uiSystemTrayIcon > clicked
Definition: uisystemtrayicon.h:39
mFDQtclass(QSystemTrayIcon) mFDQtclass(QSystemTrayIconMessenger) class uiIcon
Notifier< uiSystemTrayIcon > doubleClicked
Definition: uisystemtrayicon.h:42
Definition: uimenu.h:65
Definition: uisystemtrayicon.h:25
Helper class for uiSystemTrayIcon to relay Qt&#39;s messages.
Definition: i_qsystemtrayicon.h:27
Notifier< uiSystemTrayIcon > middleClicked
Definition: uisystemtrayicon.h:41
Notifier< uiSystemTrayIcon > messageClicked
Definition: uisystemtrayicon.h:38
Notifier< uiSystemTrayIcon > rightClicked
Definition: uisystemtrayicon.h:40

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