API Documentation
Loading...
Searching...
No Matches
GroundSurfaceEditor.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Editor.h>
3#if NDEVR_GROUND_SURFACE
4#include <NDEVR/GroundSurface.h>
5namespace Ui
6{
7 class GroundSurfaceEditorUI;
8}
9namespace NDEVR
10{
11 class StatusBar;
12 class Log;
13 class CoordinateBoundsSelector;
14 class GroundSurfaceEditor : public Editor
15 {
16 public:
17 GroundSurfaceEditor(const DynamicPointer<QTDesignObject>& pattern, QWidget* parent = nullptr);
18 virtual ~GroundSurfaceEditor();
19 virtual void updateValues() override;
20 void setFromZip();
21 CoordinateBoundsSelector* boundsSelector();
22 virtual void setup(DesignObjectDialog* dialog, const ShowPropertiesSettings& style) override;
23 virtual bool fullscreenTouch() const override
24 {
25 return true;
26 }
27 protected slots:
28 void updateFromUISlot();
29 void updateBoundsFromDialog();
30 protected:
31 uint04 imageTextureResolution();
32 uint04 lineworkTextureResolution();
33 fltp08 elevationSpacing();
34 AerialImageMode aerialImageMode() const;
35 AerialImageMode aerialLineworkMode() const;
36 protected:
37 Ui::GroundSurfaceEditorUI* ui;
38 StatusBar* m_log_widget = nullptr;
39 CoordinateBoundsSelector* m_bounds_selector = nullptr;
40 Log* m_log;
41 bool has_send_out_of_bounds_warning = false;
42 };
43}
44#endif
Definition ACIColor.h:37
AerialImageMode
enum specifying what type of image to fetch. Options for terrain, satellite, or road views
Definition MercatorImageManager.h:15
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:115
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:176
Definition FontEditor.h:6