MAK Data Logger API Documentation for DIS
 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 
29  class DT_DLL_LGRSIMGUI DtFomClassLVItem : public QTreeWidgetItem
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;
66  DtString myName;
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
Defines IMPORT/EXPORT macros for lgrSimGui library.
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21

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)