MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fomClassLVItem.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 #ifndef fomClassLVItem_H_
10 #define fomClassLVItem_H_
11 
12 #if DtHLA
13 
14 #include <lgrSimGui/lgrSimGui.h>
15 #include <vlutil/vlString.h>
16 #include <QTreeWidgetItem>
17 
18 class QPixmap;
19 
20 namespace MAKLogger
21 {
22 
30  {
31 
32  public:
35  DtFomClassLVItem( bool filtered, const DtString& className, int group,
36  QTreeWidget* parent );
37 
39  virtual ~DtFomClassLVItem();
40 
41  public:
42 
43  void setCheckBox( bool onOff );
44  virtual void toggleCheckBox();
45  virtual void toggleCheckBoxIfSelected();
46 
47  //virtual int compare( QListViewItem* item, int col, bool ascend ) const;
48 
49  inline void setIsOn( bool yesNo );
50  inline bool isOn() const;
51 
52  public:
54  static bool initFilterPixmaps();
55  static void freeFilterPixmaps();
56 
57  protected:
59  static QPixmap* theImageFilterOnPixmap;
60  static QPixmap* theImageFilterOffPixmap;
61 
62  protected:
63 
64  bool myOnFlag;
65  int myGroup;
67  };
68 
69  inline void DtFomClassLVItem::setIsOn( bool onOff )
70  {
71  myOnFlag = onOff;
72  }
73 
74 
75  inline bool DtFomClassLVItem::isOn() const
76  {
77  return myOnFlag;
78  }
79 }
80 
81 #endif
82 #endif
int myGroup
Definition: fomClassLVItem.h:65
static QPixmap * theImageFilterOffPixmap
Definition: fomClassLVItem.h:60
Defines IMPORT/EXPORT macros for lgrSimGui library.
static QPixmap * theImageFilterOnPixmap
Static objects of the &#39;DtFomClassLVItem&#39; class.
Definition: fomClassLVItem.h:59
The class &#39;DtFomClassLVItem&#39; implements a &quot;table-row&quot; widget.
Definition: fomClassLVItem.h:29
DtString myName
Definition: fomClassLVItem.h:66
bool myOnFlag
Definition: fomClassLVItem.h:64
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21
bool isOn() const
Definition: fomClassLVItem.h:75
void setIsOn(bool yesNo)
Definition: fomClassLVItem.h:69

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)