# Source code for svir.dialogs.show_params_dialog

    # -*- coding: utf-8 -*-
    # /***************************************************************************
    # Irmt
    #                                 A QGIS plugin
    # OpenQuake Integrated Risk Modelling Toolkit
    #                              -------------------
    #        begin                : 2013-10-24
    #        copyright            : (C) 2014 by GEM Foundation
    #        email                : devops@openquake.org
    # ***************************************************************************/
    #
    # OpenQuake is free software: you can redistribute it and/or modify it
    # under the terms of the GNU Affero General Public License as published
    # by the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # OpenQuake is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU Affero General Public License
    # along with OpenQuake.  If not, see <http://www.gnu.org/licenses/>.

    from qgis.PyQt.QtWidgets import QDialog
    from svir.utilities.utils import get_ui_class

    FORM_CLASS = get_ui_class('ui_text_browser.ui')

    class ShowParamsDialog(QDialog, FORM_CLASS):
        """
        Non-modal dialog to show the parameters of a OQ-Engine calculation
        """

        def __init__(self):
            QDialog.__init__(self)
            # Set up the user interface from Designer.
            self.setupUi(self)