MAK Data Logger API Documentation for DIS
fomClassListDlg.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fomClassListDlg.h,v $ $Revision: 119313 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 #include "trafficAnalyzerPlugin.h"
11 
12 #pragma warning(disable : 4100)
13 
14 #include "ui_fomClassListDlg.h"
15 #include "fomClassListCtrl.h"
16 
17 #include <string>
18 
19 #include <Q3PopupMenu>
20 #include <QMouseEvent>
21 #include <QShowEvent>
22 #include <QHideEvent>
23 #include <QCloseEvent>
24 
25 class Q3PopupMenu;
26 class DtAttributeDlg;
27 class DtOMTTree;
28 class DtDatatypeManager;
29 
30 // Panel that shows you a FOM view with the extra information that the
31 // OMT Datafile provides
33 {
34 
35  Q_OBJECT
36 
37 public:
38  // Constructor
40  bool enableObjects, bool enableInteractions,
41  QWidget* parent = 0, Qt::WFlags f = 0);
42 
43  // Destructor
44  virtual ~DtFomClassListDlg();
45 
46  // Returns true if the class is extended (the extended panel is showing)
47  virtual bool isExtended();
48 
49  // Set/Get the width of the left panel
50  virtual void setLeftSideWidth(int width);
51  virtual int getLeftSideWidth();
52 
53 public slots:
54 
56  virtual void showExtendedPane(bool);
57 
59  virtual void extenderClicked();
60 
62  virtual void classClicked(Q3ListViewItem*);
63 
65  virtual void expandButtonPressed();
66 
68  virtual void collapseButtonPressed();
69 
70 signals:
71  //Functions used to signal show/hide
72  void hideWidget();
73  void showWidget();
74  void closeWidget();
75 
76 protected:
77 
78  //Functions used to signal show/hide
79  virtual void hideEvent ( QHideEvent * );
80  virtual void showEvent ( QShowEvent * );
81  virtual void closeEvent ( QCloseEvent * );
82  virtual void mousePressEvent ( QMouseEvent * );
83  virtual void mouseMoveEvent ( QMouseEvent * );
84  virtual void mouseReleaseEvent ( QMouseEvent * );
85 
86 protected:
87  Ui::DtFomClassListDlg myUi;
88 
95 
98 
99 private:
100 
101  // Copy Constructor
103 
104  // Assignment Operator
105  DtFomClassListDlg& operator=(const DtFomClassListDlg& rhs);
106 
107 };

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)