def __init__(self, settings, parent=None):
        super(CKANBrowserDialogDisclaimer, self).__init__(parent)
        # Set up the user interface from Designer.
        # After setupUI you can access any designer object by doing
        # self.<objectname>, and you can use autoconnect slots - see
        # http://qt-project.org/doc/qt-4.8/designer-using-a-ui-file.html
        # #widgets-and-dialogs-with-auto-connect
        self.setModal(True)
        self.setupUi(self)
        self.main_win = parent
        self.settings = settings
        self.util = Util(self.settings, self.main_win)
        
        logo_path = self.util.resolve(u'ckan_logo_big.png')
        self.IDC_lblLogo.setPixmap(QtGui.QPixmap(logo_path))
        self.IDC_brInfo.setOpenExternalLinks(True)
        self.IDC_brInfo.setHtml(self.util.tr('py_disc_info_html'))
Contribute a function to a module.
dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/ckan_browser_dialog_disclaimer.py/CKANBrowserDialogDisclaimer.__init__--crossover with--dataset/ETHPy150Open pytest-dev/pytest-bdd/pytest_bdd/steps.py/contribute_to_module