VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mapScaleToolbar.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
15 
17 #include <vrvCoreQt/DtToolbar.h>
19 
20 class QHBoxLayout;
21 class QLabel;
22 
23 namespace makVrv
24 {
25  class DtDe;
26 }
27 
28 namespace makVrf
29 {
30  class DtGuiEventProcessor;
31 
36  {
37  public:
38 
41 
43  virtual ~DtMapScaleToolbar();
44 
46  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent);
47 
48  };
49 
52  {
53  Q_OBJECT
54 
55  public:
57  DtMapScaleToolbarWidget( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
58 
60  virtual ~DtMapScaleToolbarWidget();
61 
62  protected:
63 
66  virtual void updateScale();
67 
68  virtual DtGuiEventProcessor& guiEventProcessor() const;
69 
70  protected:
74  double myDpi;
76 
77  public:
80  };
81 
84  {
85  public:
86 
88 
90 
91  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
92  };
93 }
94 
makVrv::DtDe & myDe
Definition: mapScaleToolbar.h:71
double myLastViewResolution
Definition: mapScaleToolbar.h:72
QLabel * myContents
Definition: mapScaleToolbar.h:79
makVrv::DtSignalConnectionManager myConnections
Definition: mapScaleToolbar.h:73
Contains makVrv::DtWidgetBuilder class.
A widget class for showing the map scale as 1 inch of screen size to N display units of terrain size...
Definition: mapScaleToolbar.h:51
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
The base class for VR-Vantage toolbars.
Definition: DtToolbar.h:26
double myDpi
Definition: mapScaleToolbar.h:74
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
A builder for the map scale toolbar.
Definition: mapScaleToolbar.h:35
Base class to provide boost signal/slot management.
DtGuiEventProcessor * myGuiEventProcessor
Definition: mapScaleToolbar.h:75
The Gui Event Processor will process certain events that pertain to the VRF Gui, most notably terrain...
Definition: guiEventProcessor.h:46
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Class that will create an instance of the map scale widget.
Definition: mapScaleToolbar.h:83
QLabel * myTitle
Definition: mapScaleToolbar.h:78
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:25

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)