MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
listenStatus.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <lgrGui/lgrGui.h>
12 
13 
14 #include <QColor>
15 #include <QIcon>
16 #include <QWidget>
17 
18 namespace MAKLogger
19 {
20  class DtLgrGuiModel;
21 
24  {
25  Q_OBJECT
26 
27  public:
28  DtListenStatus(DtLgrGuiModel& model, QWidget* parent);
29  virtual ~DtListenStatus();
30 
32  void setListening(bool listen);
33 
35  bool isListening() const;
36 
38  void setListenOnIdle(bool listen);
39 
41  bool listenOnIdle() const;
42 
43 
44  signals:
45 
46  public slots:
47 
49  void postModelUpdate(DtLgrGuiModel&);
50 
51 
52  protected:
53 
54  virtual void drawIcons();
55  virtual void paintEvent( QPaintEvent * );
56  virtual void contextMenuEvent(QContextMenuEvent*);
57  virtual void mouseDoubleClickEvent(QMouseEvent*);
58 
59  protected:
60 
63 
64  QIcon myListenIcon;
65  };
66 }
bool myListenOnIdle
Definition: listenStatus.h:62
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
QIcon myListenIcon
Definition: listenStatus.h:64
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
Listen Status widget which will show listen status via icon.
Definition: listenStatus.h:23
Defines INPORT/EXPORT macros for lgrGui library.
bool myListening
Definition: listenStatus.h:61

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)