VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
printTerrainDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 
11 
12 #include <QtPrintSupport/QPrinter>
13 
14 namespace makVrv
15 {
16  class DtDe;
17  class DtOsgAdapterQtWidget;
18 }
19 
20 namespace makVrf
21 {
26  {
27  public:
28 
31 
33  virtual ~DtPrintTerrainDialog();
34 
36  virtual void exec();
37 
38  protected:
39 
41  virtual void printMapArea();
42 
43  protected:
45  QPrinter myPrinter;
46  };
47 
50  {
51  public:
54 
56  virtual ~DtPrintTerrainDialogCreator();
57 
58  static DtPrintTerrainDialogCreator& instance(makVrv::DtDe&);
59  static void registerInstance(makVrv::DtDe&, DtPrintTerrainDialogCreator*);
60 
62  virtual DtPrintTerrainDialog* create(makVrv::DtDe&);
63  };
64 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Creator class that can be registered to return a subclass of the print dialog for extension...
Definition: printTerrainDialog.h:49
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
makVrv::DtDe & myDe
Definition: printTerrainDialog.h:44
Contains makVrv::DtVirtualBaseClass class.
Puts up a print dialog, that, if accepted, will print the map area. If there are multiple channels/ob...
Definition: printTerrainDialog.h:25
QPrinter myPrinter
Definition: printTerrainDialog.h:45
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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)