VR-Forces 4.10 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvVrlQt/vrvVrlQt.h>
12 #include <vrvCoreQt/DtPage.h>
13 #include <vrvUtil/signalslib.h>
14 
15 class QVBoxLayout;
16 
17 namespace makVrv
18 {
19  class DtObjectsCountTreeWidget;
20  class DtObjectsCountTreeLogic;
21 
26  {
27  Q_OBJECT
28 
29  public:
30 
32  virtual ~DtObjectsCountPanel();
33 
35  virtual QIcon icon();
36 
38  virtual QString title();
39 
41  virtual const std::string& pageClassName() const;
42 
44  boost::signalslib::signal<void(const QRect*)> signal_resized;
45 
46  protected:
47 
50 
52  DtObjectsCountPanel(DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
53 
55  virtual void activate();
56 
58  virtual void deactivate();
59 
61  virtual void resizeEvent ( QResizeEvent * event );
62 
63  protected:
64  std::string myClassName;
65  QVBoxLayout* myLayout;
68  };
69 
73  {
74  public:
75 
78 
80  virtual ~DtObjectsCountPageCreator();
81 
85  virtual std::string pageClassName() const;
86 
88  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
89  };
90 
91 }
92 
std::string myClassName
Definition: DtObjectsCountPanel.h:64
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:114
#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:30
The creator class needed to be used to create a DtObjectsCountPanel.
Definition: DtObjectsCountPanel.h:72
The objects counts page, displays the counts of all entities and tactical graphics control objects in...
Definition: DtObjectsCountPanel.h:25
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:27
boost::signalslib::signal< void(const QRect *)> signal_resized
Signal emitted when the count panel receives a resize event.
Definition: DtObjectsCountPanel.h:44
DtObjectsCountTreeWidget * myTreeWidget
Definition: DtObjectsCountPanel.h:66
QVBoxLayout * myLayout
Definition: DtObjectsCountPanel.h:65
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtObjectsCountTreeLogic * myLogic
Definition: DtObjectsCountPanel.h:67

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)