iVS3D v2.0.9
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");
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
65 void setResolutionList(QStringList resList, int idx);
66 void setResolution(QString resolution);
67 void setResolutionValid(bool valid);
68
69 QString getExportFormat();
70 ExportFormat getExportFormatEnum();
71 bool setOutputFormat(QString format);
72 bool setOutputFormat(ExportFormat format);
73
78 void setAltitudeVisible(bool visible);
79
84 void setAltitude(double altitude);
85
86 double getAltitude();
87 void enableFormat(QString format, bool enable);
88 void enableFormat(ExportFormat format, bool enable);
89
90 std::shared_ptr<MaskStackView> getMaskStackView();
91
92signals:
97 void sig_pathChanged(QString path);
109 void sig_abort();
114
119 void sig_resChanged(QString resolution);
120
124 void sig_altitudeChanged(double altitude);
125
126
127
128public slots:
134 void slot_displayProgress(int progress, QString currentOperation);
139 void slot_displayMessage(QString message);
140
145 void slot_displayWarning(QString warning);
146
150 void slot_clearWarnings();
151
152private slots:
153 void slot_pathChanged(const QString &path);
154 void slot_addAuto();
155 void slot_export();
156 void slot_reconstruct();
157 void slot_abort();
158
159private:
168 QLayout *m_layout;
169};
170
171#endif // OUTPUTWIDGET_H
The ExportWidget class provides a user interface to configure export:
Definition exportwidget.h:43
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:133
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:167
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 slot_clearWarnings()
[slot] slot_clearWarnings clears all currently shown warnings
Definition outputwidget.cpp:148
void enableExport(bool enabled)
enableExport enables / disables the export button
Definition outputwidget.cpp:36
void sig_resChanged(QString resolution)
[signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
void slot_displayWarning(QString warning)
[slot] slot_displayWarning appends a warning to the warning list
Definition outputwidget.cpp:143
ExportWidget * m_exportW
m_exportW Widget holding the ui elements for export settings
Definition outputwidget.h:163
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:123
void setAltitudeVisible(bool visible)
setAltitudeVisible will show or hide the altitude selector
Definition outputwidget.cpp:118
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:60
void slot_displayMessage(QString message)
[slot] slot_displayMessage gets invoked by the ExportThread giving a new information/message
Definition outputwidget.cpp:138
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