QApplication.instance().setOverrideCursor(Qt.WaitCursor)
bertos_utils.createBertosProject(self.project())
QApplication.instance().restoreOverrideCursor()
+ if os.name == "nt":
+ 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)
+
+
+ def setupUi(self):
+ """
+ Overload of the BWizardPage setupUi method.
+ """
+ self.pageContent.codeliteCheck.setVisible(False)
####
\ No newline at end of file
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
- <height>300</height>
+ <width>483</width>
+ <height>206</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout">
+ <layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QLabel" name="iconLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="pixmap">
- <pixmap resource="../bertos.qrc">:/images/ok.png</pixmap>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QLabel" name="iconLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap resource="../bertos.qrc">:/images/ok.png</pixmap>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="messageLabel">
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="text">
+ <string>Project created successfully. Now start develop your BeRTOS application!</string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QLabel" name="messageLabel">
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
+ <widget class="QCheckBox" name="codeliteCheck">
<property name="text">
- <string>Project created successfully. Now start develop your BeRTOS application!</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
+ <string>Start CodeLite automatically</string>
</property>
</widget>
</item>