MAK Data Logger API Documentation for DIS
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;
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(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;
92 };

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)