Progress dialog¶
Analysis progress dialog file
OnlineProgressDialog ¶
OnlineProgressDialog(message=None, minimum=0, maximum=100, main_widget=None, parent=None, scenario_id=None, scenario_name=None)
Bases: Ui_DlgOnlineProgress
, ProgressDialog
Source code in src/cplus_plugin/gui/progress_dialog.py
change_status_message ¶
Updates the status message
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str
|
Message to show on the status bar |
None
|
Source code in src/cplus_plugin/gui/progress_dialog.py
hide_clicked ¶
User clicked hide.
QGIS processing will be stopped, but online processing will be continued.
Source code in src/cplus_plugin/gui/progress_dialog.py
ProgressDialog ¶
ProgressDialog(message=None, minimum=0, maximum=100, main_widget=None, parent=None, scenario_id=None, scenario_name=None)
Bases: QDialog
, Ui_DlgProgress
Progress dialog class
Source code in src/cplus_plugin/gui/progress_dialog.py
cancel_clicked ¶
User clicked cancel.
Processing will be stopped, and the UI will be updated to accommodate the processing status.
Source code in src/cplus_plugin/gui/progress_dialog.py
cancel_reporting ¶
change_status_message ¶
Updates the status message
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str
|
Message to show on the status bar |
None
|
get_processing_status ¶
Returns the status of the processing.
Returns:
Type | Description |
---|---|
bool
|
Status of processing. |
get_progress_bar ¶
Returns a reference to the Progress bar object.
Returns:
Type | Description |
---|---|
QProgressBar
|
Progress bar |
open_report_help ¶
processing_cancelled ¶
Post-steps when processing were cancelled.
Source code in src/cplus_plugin/gui/progress_dialog.py
processing_finished ¶
Post-steps when processing succeeded.
Source code in src/cplus_plugin/gui/progress_dialog.py
reject ¶
Called when the dialog is closed
Source code in src/cplus_plugin/gui/progress_dialog.py
run_dialog ¶
Runs/opens the dialog. Sets modal to modeless. This will allow the dialog to display and not interfere with other processes.
set_report_complete ¶
Enable layout designer and PDF report buttons.
Source code in src/cplus_plugin/gui/progress_dialog.py
stop_processing ¶
The user cancelled the processing.
Source code in src/cplus_plugin/gui/progress_dialog.py
update_progress_bar ¶
Sets the value of the progress bar
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
float
|
Value to be set on the progress bar |
required |
Source code in src/cplus_plugin/gui/progress_dialog.py
view_report_layout_designer ¶
Opens the report in layout designer
Source code in src/cplus_plugin/gui/progress_dialog.py
view_report_pdf ¶
Opens a PDF version of the report
Source code in src/cplus_plugin/gui/progress_dialog.py
ReportProgressDialog ¶
Bases: ProgressDialog
Shows progress for standalone report generation operations.
Source code in src/cplus_plugin/gui/progress_dialog.py
report_result
property
¶
Gets the report result.
Returns:
Type | Description |
---|---|
ReportResult
|
The report result based on the submit status or None if the task is not found or the task is not complete or an error occurred. |
cancel_clicked ¶
Slot raised when the cancel button is clicked.
Will stop reporting process.
Source code in src/cplus_plugin/gui/progress_dialog.py
cancel_reporting ¶
reporting_error ¶
Executed when a report generation error has occurred.
Source code in src/cplus_plugin/gui/progress_dialog.py
reporting_finished ¶
Executed when report generation has been successfully completed.
Source code in src/cplus_plugin/gui/progress_dialog.py
view_report_layout_designer ¶
Opens the report in layout designer
Source code in src/cplus_plugin/gui/progress_dialog.py
view_report_pdf ¶
Opens a PDF version of the report