MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fomClassListCtrl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fomClassListCtrl.h,v $ $Revision: 266449 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
11 
12 #pragma warning(disable : 4100)
13 
14 #include <QObject>
15 
16 class QTreeWidget;
17 class QTreeWidgetItem;
20 class DtOMTTree;
21 
22 // DtFomClassListCtrl
23 // UI Controller type for FOM classes
24 // Populates a QListView with the object classes
26 {
27  Q_OBJECT
28 
29 public:
30 
32  DtFomClassListCtrl(DtOMTTree& omtTree);
33 
35  virtual ~DtFomClassListCtrl();
36 
38  virtual void fillListView(QTreeWidget * listView);
39 
42  virtual DtObjectClassFedNode * findCurrentObjFedNode(QTreeWidgetItem * item);
43 
46  virtual DtInteractionClassFedNode* findCurrentIntFedNode(QTreeWidgetItem* 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 QTreeWidgetItem& item, QString& fullName);
70 
72  virtual void setSubListOpenState(QTreeWidgetItem* item, bool openState);
73 
74 signals:
75 
76 protected slots:
77 
78 protected:
79 
81  void parseOMTNode(QTreeWidgetItem * currentItem, DtObjectClassFedNode * currentNode);
82 
84  void parseOMTNode(QTreeWidgetItem * currentItem, DtInteractionClassFedNode * currentNode);
85 
86 protected:
87 
92 };
bool myEnableObjects
Definition: fomClassListCtrl.h:90
QTreeWidget * myListView
Definition: fomClassListCtrl.h:88
Definition: fomClassListCtrl.h:25
defines an object class inside our Fed Tree
Definition: interactionClassFedNode.h:25
bool myEnableInteractions
Definition: fomClassListCtrl.h:91
defines an object class inside our Fed Tree
Definition: objectClassFedNode.h:30
DtOMTTree & myOmtTree
Definition: fomClassListCtrl.h:89
A tree using the an OMT File information.
Definition: omtTree.h:58
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:18

Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)