VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObjectsCountPanel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvVrlQt/vrvVrlQt.h>
15 #include <vrvCoreQt/DtPage.h>
16 #include <boost/signal.hpp>
17 
18 class QVBoxLayout;
19 
20 namespace makVrv
21 {
22  class DtObjectsCountTreeWidget;
23  class DtObjectsCountTreeLogic;
24 
29  {
30  Q_OBJECT
31 
32  public:
33 
35  virtual ~DtObjectsCountPanel();
36 
38  virtual QIcon icon();
39 
41  virtual QString title();
42 
44  virtual const std::string& pageClassName() const;
45 
47  boost::signal<void(const QRect*)> signal_resized;
48 
49  protected:
50 
53 
55  DtObjectsCountPanel(DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
56 
58  virtual void activate();
59 
61  virtual void deactivate();
62 
64  virtual void resizeEvent ( QResizeEvent * event );
65 
66  protected:
67  std::string myClassName;
68  QVBoxLayout* myLayout;
71  };
72 
76  {
77  public:
78 
81 
83  virtual ~DtObjectsCountPageCreator();
84 
88  virtual std::string pageClassName() const;
89 
91  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
92  };
93 
94 }
95 
std::string myClassName
Definition: DtObjectsCountPanel.h:67
The logic for getting object counts from a simulation and populating an DtObjectsCountTreeInterface G...
Definition: DtObjectsCountTreeLogic.h:23
Contains makVrv::DtPage class.
The page creator.
Definition: DtPage.h:117
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Contains DLL export macros.
The objects count widget displays count lists for entity and control objects that exist in the attach...
Definition: DtObjectsCountTreeWidget.h:33
The creator class needed to be used to create a DtObjectsCountPanel.
Definition: DtObjectsCountPanel.h:75
The objects counts page, displays the counts of all entities and tactical graphics control objects in...
Definition: DtObjectsCountPanel.h:28
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
DtObjectsCountTreeWidget * myTreeWidget
Definition: DtObjectsCountPanel.h:69
QVBoxLayout * myLayout
Definition: DtObjectsCountPanel.h:68
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
boost::signal< void(const QRect *)> signal_resized
Signal emitted when the count panel receives a resize event.
Definition: DtObjectsCountPanel.h:47
DtObjectsCountTreeLogic * myLogic
Definition: DtObjectsCountPanel.h:70

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)