VR-Forces 5.0.2 Developer's Guide
 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) 2021 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 
39  virtual DtQIconConfigurations qIconConfigurations() const;
40 
42  virtual QString title();
43 
45  virtual const std::string& pageClassName() const;
46 
48  boost::signalslib::signal<void(const QRect*)> signal_resized;
49 
50  protected:
51 
54 
56  DtObjectsCountPanel(DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
57 
59  virtual void activate();
60 
62  virtual void deactivate();
63 
65  virtual void resizeEvent ( QResizeEvent * event );
66 
67  protected:
68  std::string myClassName;
69  QVBoxLayout* myLayout;
72  };
73 
77  {
78  public:
79 
82 
84  virtual ~DtObjectsCountPageCreator();
85 
89  virtual std::string pageClassName() const;
90 
92  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
93  };
94 
95 }
96 
std::string myClassName
Definition: DtObjectsCountPanel.h:68
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. This class should be extended by all page classes.
Definition: DtPage.h:121
#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:31
The creator class needed to be used to create a DtObjectsCountPanel.
Definition: DtObjectsCountPanel.h:76
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:30
boost::signalslib::signal< void(const QRect *)> signal_resized
Signal emitted when the count panel receives a resize event.
Definition: DtObjectsCountPanel.h:48
DtObjectsCountTreeWidget * myTreeWidget
Definition: DtObjectsCountPanel.h:70
QVBoxLayout * myLayout
Definition: DtObjectsCountPanel.h:69
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:75
DtObjectsCountTreeLogic * myLogic
Definition: DtObjectsCountPanel.h:71

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)