The OutputWidget class is responsible for controlling the Widget on the bottom right holding export details and the export progress bar It uses different Signals&Slots to communicate with the Exportcontroller, aswell as controlling and parsing the data in its ui elements. Holds two different Widgets ExportWidget m_exportW and ProgressWidget m_progressW to easily switch between showing export settings and export progress bar.
More...
#include <outputwidget.h>
|
| void | sig_pathChanged (QString path) |
| | sig_pathChanged gets emitted once the export path has been altered
|
| |
|
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 projectfiles and batchfiles)
|
| |
|
void | sig_abort () |
| | sig_abort signal for the ExportController to abort the export (triggered by user)
|
| |
|
void | sig_addAuto () |
| | sig_addAuto signal to add the current output to the automatic execution (triggered by user)
|
| |
| void | sig_resChanged (QString resolution) |
| | [signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
|
| |
|
void | sig_altitudeChanged (double altitude) |
| | [signal] sig_altitudeChanged() is emitted when the altitude is changed by the user.
|
| |
|
| | OutputWidget (QWidget *parent=nullptr, QString title="Output", QStringList transformList=QStringList()) |
| | OutputWidget constructor, initializes member variables aswell as connecting its Signals&Slots and configuring its ui elements.
|
| |
| void | setOutputPath (QString path) |
| | setOutputPath sets the path text in the output folder text field
|
| |
| void | enableExport (bool enabled) |
| | enableExport enables / disables the export button
|
| |
| void | enableExportPathChange (bool enabled) |
| | enableExportPathChange enables / disables modification of the export path
|
| |
| void | enableReconstruct (bool enabled) |
| | enableReconstruct enables / disables the reconstruct button
|
| |
|
void | showProgress () |
| | showProgress switches from showing export settings to export progress bar
|
| |
|
void | showExportOptions () |
| | showExportOptions switches from showing export progress bar to export settings
|
| |
| std::vector< bool > | getSelectedITransformMasks () |
| | getSelectedITransformMasks getter for all selected masks that should be exported
|
| |
| bool | setSelectedITransformMasks (std::vector< bool > selection) |
| | setSelectedITransformMasks setter for masks that should be exported
|
| |
| void | enableCreateFilesWidget (bool enable) |
| | disableCreateFilesWidget will disable the create files for widget on the exportWidget
|
| |
| void | setAltitudeVisible (bool visible) |
| | setAltitudeVisible will show or hide the altitude selector
|
| |
| void | setAltitude (double altitude) |
| | setAltitude sets the value of the altitude selector
|
| |
|
|
ExportWidget * | m_exportW |
| | m_exportW Widget holding the ui elements for export settings
|
| |
|
ProgressWidget * | m_progressW |
| | m_progressW holding the ui elements for the export progress bar
|
| |
The OutputWidget class is responsible for controlling the Widget on the bottom right holding export details and the export progress bar It uses different Signals&Slots to communicate with the Exportcontroller, aswell as controlling and parsing the data in its ui elements. Holds two different Widgets ExportWidget m_exportW and ProgressWidget m_progressW to easily switch between showing export settings and export progress bar.
- Author
- Lennart Ruck
- Date
- 2021/02/08
◆ OutputWidget()
| OutputWidget::OutputWidget |
( |
QWidget * |
parent = nullptr, |
|
|
QString |
title = "Output", |
|
|
QStringList |
transformList = QStringList() |
|
) |
| |
|
explicit |
OutputWidget constructor, initializes member variables aswell as connecting its Signals&Slots and configuring its ui elements.
- Parameters
-
◆ enableCreateFilesWidget()
| void OutputWidget::enableCreateFilesWidget |
( |
bool |
enable | ) |
|
disableCreateFilesWidget will disable the create files for widget on the exportWidget
- Parameters
-
a true shows the widget, false will hide it
◆ enableExport()
| void OutputWidget::enableExport |
( |
bool |
enabled | ) |
|
enableExport enables / disables the export button
- Parameters
-
| enabled | true = enable button, false = disable button |
◆ enableExportPathChange()
| void OutputWidget::enableExportPathChange |
( |
bool |
enabled | ) |
|
enableExportPathChange enables / disables modification of the export path
- Parameters
-
| enabled | true = modify path, false = fixed path |
◆ enableReconstruct()
| void OutputWidget::enableReconstruct |
( |
bool |
enabled | ) |
|
enableReconstruct enables / disables the reconstruct button
- Parameters
-
| enabled | true = enable button, false = disable button |
◆ getSelectedITransformMasks()
| std::vector< bool > OutputWidget::getSelectedITransformMasks |
( |
| ) |
|
getSelectedITransformMasks getter for all selected masks that should be exported
- Returns
- returns list of all masks to be exported
◆ setAltitude()
| void OutputWidget::setAltitude |
( |
double |
altitude | ) |
|
setAltitude sets the value of the altitude selector
- Parameters
-
◆ setAltitudeVisible()
| void OutputWidget::setAltitudeVisible |
( |
bool |
visible | ) |
|
setAltitudeVisible will show or hide the altitude selector
- Parameters
-
| visible | true shows the selector, false will hide it |
◆ setOutputPath()
| void OutputWidget::setOutputPath |
( |
QString |
path | ) |
|
setOutputPath sets the path text in the output folder text field
- Parameters
-
◆ setSelectedITransformMasks()
| bool OutputWidget::setSelectedITransformMasks |
( |
std::vector< bool > |
selection | ) |
|
setSelectedITransformMasks setter for masks that should be exported
- Parameters
-
- Returns
- true if set successful
◆ sig_pathChanged
| void OutputWidget::sig_pathChanged |
( |
QString |
path | ) |
|
|
signal |
sig_pathChanged gets emitted once the export path has been altered
- Parameters
-
| path | String holding the latest export path |
◆ sig_resChanged
| void OutputWidget::sig_resChanged |
( |
QString |
resolution | ) |
|
|
signal |
[signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
- Parameters
-
| resolution | The selected resolution as a string |
◆ slot_displayMessage
| void OutputWidget::slot_displayMessage |
( |
QString |
message | ) |
|
|
slot |
[slot] slot_displayMessage gets invoked by the ExportThread giving a new information/message
- Parameters
-
| message | QString holds the message |
◆ slot_displayProgress
| void OutputWidget::slot_displayProgress |
( |
int |
progress, |
|
|
QString |
currentOperation |
|
) |
| |
|
slot |
[slot] slot_displayProgress gets invoked by the ExportThread giving new progress information
- Parameters
-
| progress | [0-100] progress percentage |
| currentOperation | QString describing the current operation |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/view/outputwidget.h
- iVS3D/src/iVS3D-core/view/outputwidget.cpp