iVS3D v2.0.0
Loading...
Searching...
No Matches
outputwidget.h
1#ifndef OUTPUTWIDGET_H
2#define OUTPUTWIDGET_H
3
4#include <QWidget>
5#include <QLayout>
6#include <QGroupBox>
7
8#include "exportwidget.h"
9#include "progresswidget.h"
10#include "progressdisplay.h"
11
25class OutputWidget : public QWidget
26{
27 Q_OBJECT
28public:
34 explicit OutputWidget(QWidget *parent = nullptr, QString title = "Output", QStringList transformList = QStringList());
35
40 void setOutputPath(QString path);
45 void enableExport(bool enabled);
50 void enableExportPathChange(bool enabled);
55 void enableReconstruct(bool enabled);
59 void showProgress();
63 void showExportOptions();
64
69 std::vector<bool> getSelectedITransformMasks();
70
76 bool setSelectedITransformMasks(std::vector<bool> selection);
77
82 void enableCreateFilesWidget(bool enable);
83
84 void setResolutionList(QStringList resList, int idx);
85 void setResolution(QString resolution);
86 void setResolutionValid(bool valid);
87
88 QString getExportFormat();
89 bool setOutputFormat(QString format);
90
95 void setAltitudeVisible(bool visible);
96
101 void setAltitude(double altitude);
102
103 double getAltitude();
104 void enableFormat(QString format, bool enable);
105
106signals:
111 void sig_pathChanged(QString path);
123 void sig_abort();
128
133 void sig_resChanged(QString resolution);
134
138 void sig_altitudeChanged(double altitude);
139
140
141
142public slots:
148 void slot_displayProgress(int progress, QString currentOperation);
153 void slot_displayMessage(QString message);
154
155private slots:
156 void slot_pathChanged(const QString &path);
157 void slot_addAuto();
158 void slot_export();
159 void slot_reconstruct();
160 void slot_abort();
161
162private:
171 QLayout *m_layout;
172};
173
174#endif // OUTPUTWIDGET_H
The ExportWidget class provides a user interface to configure export:
Definition exportwidget.h:34
The OutputWidget class is responsible for controlling the Widget on the bottom right holding export d...
Definition outputwidget.h:26
void slot_displayProgress(int progress, QString currentOperation)
[slot] slot_displayProgress gets invoked by the ExportThread giving new progress information
Definition outputwidget.cpp:127
bool setSelectedITransformMasks(std::vector< bool > selection)
setSelectedITransformMasks setter for masks that should be exported
Definition outputwidget.cpp:72
void sig_abort()
sig_abort signal for the ExportController to abort the export (triggered by user)
ProgressWidget * m_progressW
m_progressW holding the ui elements for the export progress bar
Definition outputwidget.h:170
void enableCreateFilesWidget(bool enable)
disableCreateFilesWidget will disable the create files for widget on the exportWidget
Definition outputwidget.cpp:77
void sig_addAuto()
sig_addAuto signal to add the current output to the automatic execution (triggered by user)
void sig_pathChanged(QString path)
sig_pathChanged gets emitted once the export path has been altered
void enableReconstruct(bool enabled)
enableReconstruct enables / disables the reconstruct button
Definition outputwidget.cpp:46
void enableExport(bool enabled)
enableExport enables / disables the export button
Definition outputwidget.cpp:36
std::vector< bool > getSelectedITransformMasks()
getSelectedITransformMasks getter for all selected masks that should be exported
Definition outputwidget.cpp:67
void sig_resChanged(QString resolution)
[signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
ExportWidget * m_exportW
m_exportW Widget holding the ui elements for export settings
Definition outputwidget.h:166
void sig_altitudeChanged(double altitude)
[signal] sig_altitudeChanged() is emitted when the altitude is changed by the user.
void showProgress()
showProgress switches from showing export settings to export progress bar
Definition outputwidget.cpp:51
void setAltitude(double altitude)
setAltitude sets the value of the altitude selector
Definition outputwidget.cpp:117
void setAltitudeVisible(bool visible)
setAltitudeVisible will show or hide the altitude selector
Definition outputwidget.cpp:112
void sig_export()
sig_export signal for the ExportController to start the export (without cropping)
void sig_reconstruct()
sig_reconstruct signal for the ExportController to start the reconstruction software (and create proj...
void setOutputPath(QString path)
setOutputPath sets the path text in the output folder text field
Definition outputwidget.cpp:31
void showExportOptions()
showExportOptions switches from showing export progress bar to export settings
Definition outputwidget.cpp:59
void slot_displayMessage(QString message)
[slot] slot_displayMessage gets invoked by the ExportThread giving a new information/message
Definition outputwidget.cpp:132
void enableExportPathChange(bool enabled)
enableExportPathChange enables / disables modification of the export path
Definition outputwidget.cpp:41
The ProgressWidget class widget inside the ProgressDialog that holds the concrete progress bar and ab...
Definition progresswidget.h:22