API Documentation
Loading...
Searching...
No Matches
CoordinateProjectionChooser.h
Go to the documentation of this file.
1#pragma once
2#include "Base/Headers/UUID.h"
5#include <QWidget>
6namespace Ui
7{
8 class CoordinateProjectionChooserUI;
9}
10class QTableWidget;
11namespace NDEVR
12{
13 class CoordinateProjectionChooser : public QWidget
14 {
15 Q_OBJECT
16 public:
17 CoordinateProjectionChooser(QWidget* parent = nullptr);
18 void setProjection(UUID projection_id);
19
20 signals:
21 void acceptedSignal(const UUID id);
23 protected:
24 void init();
25 void updateSearch(bool finished, bool allow_download = true);
26 void saveINI();
27 void readINI();
29 void setupTable(QTableWidget* widget, const Buffer<UUID>& projections);
30
31 void updateTables();
32 virtual void showEvent(QShowEvent* event) override;
33 protected slots:
34 void coordinateProjectionTableSelected(int row, int column);
35 void tabChangedSlot();
36 private:
37 String m_recent_projections_string;
38 Buffer<UUID> m_recent_projections;
39 protected:
41 Ui::CoordinateProjectionChooserUI* ui;
43 };
44}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition CoordinateProjectionChooser.h:14
void init()
Definition CoordinateProjectionChooser.cpp:82
void setupTable(QTableWidget *widget, const Buffer< UUID > &projections)
Definition CoordinateProjectionChooser.cpp:128
virtual void showEvent(QShowEvent *event) override
Definition CoordinateProjectionChooser.cpp:154
bool m_has_loaded_authorities
Definition CoordinateProjectionChooser.h:42
void tabChangedSlot()
Definition CoordinateProjectionChooser.cpp:201
void coordinateProjectionTableSelected(int row, int column)
Definition CoordinateProjectionChooser.cpp:196
CoordinateProjectionChooser(QWidget *parent=nullptr)
Definition CoordinateProjectionChooser.cpp:28
void setProjection(UUID projection_id)
Definition CoordinateProjectionChooser.cpp:34
Ui::CoordinateProjectionChooserUI * ui
Definition CoordinateProjectionChooser.h:41
void saveINI()
Definition CoordinateProjectionChooser.cpp:162
UUID m_projection
Definition CoordinateProjectionChooser.h:40
void acceptedSignal(const UUID id)
void readINI()
Definition CoordinateProjectionChooser.cpp:176
void updateSearch(bool finished, bool allow_download=true)
Definition CoordinateProjectionChooser.cpp:221
INIFactory getINIFactory()
Definition CoordinateProjectionChooser.cpp:190
void updateTables()
Definition CoordinateProjectionChooser.cpp:146
Definition INIReader.h:57
Definition String.h:40
Definition UUID.h:66
Definition ACIColor.h:37
Definition FontEditor.h:6