MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
trafficAnalyzer
fomClassListCtrl.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: fomClassListCtrl.h,v $ $Revision: 119313 $ $State: Exp $
7
*******************************************************************************/
8
9
#pragma once
10
#include "
trafficAnalyzerPlugin.h
"
11
12
#pragma warning(disable : 4100)
13
14
#include <QtCore/QObject>
15
16
class
Q3ListView;
17
class
Q3ListViewItem
;
18
class
DtObjectClassFedNode
;
19
class
DtInteractionClassFedNode
;
20
class
DtOMTTree
;
21
22
// DtFomClassListCtrl
23
// UI Controller type for FOM classes
24
// Populates a QListView with the object classes
25
class
DT_DLL_TRFCANLZR
DtFomClassListCtrl
:
public
QObject
26
{
27
Q_OBJECT
28
29
public
:
30
32
DtFomClassListCtrl
(
DtOMTTree
& omtTree);
33
35
virtual
~
DtFomClassListCtrl
();
36
38
virtual
void
fillListView(Q3ListView * listView);
39
42
virtual
DtObjectClassFedNode
* findCurrentObjFedNode(
Q3ListViewItem
* item);
43
46
virtual
DtInteractionClassFedNode
* findCurrentIntFedNode(
Q3ListViewItem
* item);
47
49
virtual
void
setEnableObjects(
bool
);
50
52
virtual
bool
enabledObjects();
53
55
virtual
void
setEnableInteractions(
bool
);
56
58
virtual
bool
enabledInteractions();
59
61
virtual
void
expandAll();
62
64
virtual
void
collapseAll();
65
66
protected
:
67
69
virtual
void
getQualifiedName(
const
Q3ListViewItem
& item, QString& fullName);
70
72
virtual
void
setSubListOpenState(
Q3ListViewItem
* item,
bool
openState);
73
74
signals:
75
76
protected
slots:
77
78
protected
:
79
81
void
parseOMTNode(
Q3ListViewItem
* currentItem,
DtObjectClassFedNode
* currentNode);
82
84
void
parseOMTNode(
Q3ListViewItem
* currentItem,
DtInteractionClassFedNode
* currentNode);
85
86
protected
:
87
88
Q3ListView *
myListView
;
89
DtOMTTree
&
myOmtTree
;
90
bool
myEnableObjects
;
91
bool
myEnableInteractions
;
92
};
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)