From: duplo Date: Wed, 22 Apr 2009 11:10:11 +0000 (+0000) Subject: Use scroll area for the openable ides X-Git-Tag: 2.1.0~60 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d6dad7eb666d458f5d0df9bcf9b7dac1b109eb85;p=bertos.git Use scroll area for the openable ides git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2622 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BFinalPage.py b/wizard/BFinalPage.py index 9fd481d3..254068c4 100644 --- a/wizard/BFinalPage.py +++ b/wizard/BFinalPage.py @@ -37,17 +37,25 @@ class BFinalPage(BWizardPage): bertos_utils.createBertosProject(self.project()) QApplication.instance().restoreOverrideCursor() if os.name == "nt": + self.pageContent.setVisible(True) output = self.projectInfo("OUTPUT") import winreg_importer command_lines = winreg_importer.getCommandLines() - if "codelite" in output and "codelite" in command_lines: - self.pageContent.codeliteCheck.setVisible(True) - + layout = QVBoxLayout() + self._plugin_dict = {} + for plugin in output: + if plugin in command_lines: + check = QCheckBox(plugin) + layout.addWidget(check) + self._plugin_dict[check] = plugin + widget = QWidget() + widget.setLayout(layout) + self.pageContent.scrollArea.setWidget(widget) def setupUi(self): """ Overload of the BWizardPage setupUi method. """ - self.pageContent.codeliteCheck.setVisible(False) + self.pageContent.scrollArea.setVisible(False) #### \ No newline at end of file diff --git a/wizard/ui/final_page.ui b/wizard/ui/final_page.ui index 202de2c6..d1543eae 100644 --- a/wizard/ui/final_page.ui +++ b/wizard/ui/final_page.ui @@ -48,10 +48,20 @@ - - - Start CodeLite automatically + + + true + + + + 0 + 0 + 455 + 76 + + +