Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef fomClassLVItem_H_
00010 #define fomClassLVItem_H_
00011
00012 #if DtHLA
00013
00014 #include "lgrSimGui.h"
00015 #include <vlutil/vlString.h>
00016 #include <QtGui/QTreeWidgetItem>
00017
00018 class QPixmap;
00019
00020 namespace MAKLogger
00021 {
00022
00029 class DT_DLL_LGRSIMGUI DtFomClassLVItem : public QTreeWidgetItem
00030 {
00031
00032 public:
00035 DtFomClassLVItem( bool filtered, const DtString& className, int group,
00036 QTreeWidget* parent );
00037
00039 virtual ~DtFomClassLVItem();
00040
00041 public:
00042
00043 void setCheckBox( bool onOff );
00044 virtual void toggleCheckBox();
00045 virtual void toggleCheckBoxIfSelected();
00046
00047
00048
00049 inline void setIsOn( bool yesNo );
00050 inline bool isOn() const;
00051
00052 public:
00054 static bool initFilterPixmaps();
00055 static void freeFilterPixmaps();
00056
00057 protected:
00059 static QPixmap* theImageFilterOnPixmap;
00060 static QPixmap* theImageFilterOffPixmap;
00061
00062 protected:
00063
00064 bool myOnFlag;
00065 int myGroup;
00066 DtString myName;
00067 };
00068
00069 inline void DtFomClassLVItem::setIsOn( bool onOff )
00070 {
00071 myOnFlag = onOff;
00072 }
00073
00074
00075 inline bool DtFomClassLVItem::isOn() const
00076 {
00077 return myOnFlag;
00078 }
00079 }
00080
00081 #endif //! DtHLA
00082 #endif //! DtFomClassLVItem_H_