def __init__(self, parent=None):
     # Load the UI from the python file
     QDialog.__init__(self, parent)
     self.ui = Ui_FilterLocationsCustomDialog()
     self.ui.setupUi(self)