MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrSimGui
fomClassLVItem.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
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 <QtGui/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
Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)