MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fomClassListDlg.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fomClassListDlg.h,v $ $Revision: 276309 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
11 
12 #pragma warning(disable : 4100)
13 
14 #include "ui_fomClassListDlg.h"
16 
17 #include <string>
18 
19 #include <QMouseEvent>
20 #include <QShowEvent>
21 #include <QHideEvent>
22 #include <QCloseEvent>
23 
24 class DtAttributeDlg;
25 class DtOMTTree;
26 class DtDatatypeManager;
27 
28 // Panel that shows you a FOM view with the extra information that the
29 // OMT Datafile provides
31 {
32 
33  Q_OBJECT
34 
35 public:
36  // Constructor
37  DtFomClassListDlg(DtOMTTree& omtTree, DtDatatypeManager& dm,
38  bool enableObjects, bool enableInteractions,
39  QWidget* parent = 0, Qt::WindowFlags f = 0);
40 
41 
42  // Destructor
43  virtual ~DtFomClassListDlg();
44 
45  // Returns true if the class is extended (the extended panel is showing)
46  virtual bool isExtended();
47 
48  // Set/Get the width of the left panel
49  virtual void setLeftSideWidth(int width);
50  virtual int getLeftSideWidth();
51 
52 public slots:
53 
55  virtual void showExtendedPane(bool);
56 
58  virtual void extenderClicked();
59 
61  virtual void classClicked(QTreeWidgetItem * current, QTreeWidgetItem * previous);
62 
64  virtual void expandButtonPressed();
65 
67  virtual void collapseButtonPressed();
68 
69 signals:
70  //Functions used to signal show/hide
71  void hideWidget();
72  void showWidget();
73  void closeWidget();
74 
75 protected:
76 
77  //Functions used to signal show/hide
78  virtual void hideEvent ( QHideEvent * );
79  virtual void showEvent ( QShowEvent * );
80  virtual void closeEvent ( QCloseEvent * );
81  virtual void mousePressEvent ( QMouseEvent * );
82  virtual void mouseMoveEvent ( QMouseEvent * );
83  virtual void mouseReleaseEvent ( QMouseEvent * );
84 
85 protected:
86  Ui::DtFomClassListDlg myUi;
87 
89  DtOMTTree& myOmtTree;
90  DtDatatypeManager& myDatatypeManager;
94 
97 
98 private:
99 
100  // Copy Constructor
102 
103  // Assignment Operator
104  DtFomClassListDlg& operator=(const DtFomClassListDlg& rhs);
105 
106 };
DtFomClassListCtrl myController
Definition: fomClassListDlg.h:88
Definition: fomClassListDlg.h:30
bool myEnableObjects
Definition: fomClassListDlg.h:95
Definition: fomClassListCtrl.h:25
bool myMouseResize
Definition: fomClassListDlg.h:93
bool myEnableInteractions
Definition: fomClassListDlg.h:96
DtAttributeDlg * myIntegratedAttributeDlg
Definition: fomClassListDlg.h:92
Ui::DtFomClassListDlg myUi
Definition: fomClassListDlg.h:86
DtOMTTree & myOmtTree
Definition: fomClassListDlg.h:89
DtDatatypeManager & myDatatypeManager
Definition: fomClassListDlg.h:90
QTreeWidgetItem * myCurrentItem
Definition: fomClassListDlg.h:91
Definition: attributeDlg.h:31
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:16

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)