Skip to content

NPV Progress Dialog

Dialog for showing the progress of creating NPV PWL layers.

NpvPwlProgressDialog

NpvPwlProgressDialog(parent, feedback)

Bases: QProgressDialog

Dialog for showing the progress of creating NPV PWL layers.

Source code in src/cplus_plugin/gui/financials/npv_progress_dialog.py
def __init__(self, parent, feedback):
    super().__init__(
        tr("Creating NPV priority weighting layers..."),
        tr("Cancel"),
        0,
        100,
        parent,
    )

    self._feedback = feedback
    self._feedback.progressChanged.connect(self._on_progress_changed)

    self.canceled.connect(self._on_canceled)
    self.setWindowTitle(tr("NPW PWL Progress"))

Last update: November 25, 2024
Back to top