def setup(self):
    ScriptedLoadableModuleWidget.setup(self)
    self.textBox = ctk.ctkFittedTextBrowser()
    self.textBox.setOpenExternalLinks(True)
    self.textBox.setHtml(DMRIInstall.helpText)
    self.parent.layout().addWidget(self.textBox)
    self.applyButton = qt.QPushButton('Install SlicerDMRI')
    self.applyButton.toolTip = 'Installs the "SlicerDMRI" extension from the Diffusion category.'
    self.applyButton.icon = qt.QIcon(':/Icons/ExtensionDefaultIcon.png')
    self.applyButton.enabled = True
    self.applyButton.connect('clicked()', self.onApply)
    self.parent.layout().addWidget(self.applyButton)
    self.parent.layout().addStretch(1)
def setup(self):
    ScriptedLoadableModuleWidget.setup(self)
    self.textBox = ctk.ctkFittedTextBrowser()
    self.textBox.setOpenExternalLinks(True)
    self.textBox.setHtml(DMRIInstall.helpText)
    self.parent.layout().addWidget(self.textBox)
    self.applyButton = qt.QPushButton('Install SlicerDMRI')
    self.applyButton.toolTip = 'Installs the "SlicerDMRI" extension from the Diffusion category.'
    self.applyButton.icon = qt.QIcon(':/Icons/ExtensionDefaultIcon.png')
    self.applyButton.enabled = True
    self.applyButton.connect('clicked()', self.onApply)
    self.parent.layout().addWidget(self.applyButton)
    self.parent.layout().addStretch(1)