class AttributeSelectionDialog(QDialog):
    """
    Modal dialog giving to the user the possibility to select
    what are the attributes, in the loss layer and in the region layer,
    that contain the loss data and the region id
    """
    def __init__(self):
        QDialog.__init__(self)
        # Set up the user interface from Designer.
        self.ui = Ui_AttributeSelctionDialog()
        self.ui.setupUi(self)
 def __init__(self):
     QDialog.__init__(self)
     # Set up the user interface from Designer.
     self.ui = Ui_AttributeSelctionDialog()
     self.ui.setupUi(self)