2021-09-16 12:03:10 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>NewProjectDialog</class>
|
|
|
|
<widget class="QDialog" name="NewProjectDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>670</width>
|
2021-11-18 21:25:28 +08:00
|
|
|
<height>546</height>
|
2021-09-16 12:03:10 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>New Project</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
2021-09-16 23:51:05 +08:00
|
|
|
<widget class="QListWidget" name="lstTemplates">
|
2021-09-16 12:03:10 +08:00
|
|
|
<property name="flow">
|
|
|
|
<enum>QListView::LeftToRight</enum>
|
|
|
|
</property>
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="resizeMode">
|
|
|
|
<enum>QListView::Adjust</enum>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>10</number>
|
|
|
|
</property>
|
2021-09-16 23:51:05 +08:00
|
|
|
<property name="viewMode">
|
|
|
|
<enum>QListView::IconMode</enum>
|
|
|
|
</property>
|
2022-01-08 11:46:39 +08:00
|
|
|
<property name="uniformItemSizes">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2022-08-07 12:09:22 +08:00
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2021-09-16 12:03:10 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2021-09-16 12:03:10 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="lblDescription">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="textFormat">
|
2022-01-09 19:50:56 +08:00
|
|
|
<enum>Qt::RichText</enum>
|
2022-01-08 21:23:20 +08:00
|
|
|
</property>
|
2022-12-23 09:52:10 +08:00
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
</property>
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2022-12-23 09:52:10 +08:00
|
|
|
<property name="margin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2022-01-09 19:50:56 +08:00
|
|
|
<property name="textInteractionFlags">
|
|
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
|
|
</property>
|
2021-09-16 12:03:10 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2022-12-23 09:52:10 +08:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2021-09-16 12:03:10 +08:00
|
|
|
<property name="verticalSpacing">
|
|
|
|
<number>10</number>
|
|
|
|
</property>
|
|
|
|
<item row="2" column="0">
|
2021-12-03 21:36:12 +08:00
|
|
|
<widget class="QCheckBox" name="chkMakeDefaultLanguage">
|
2021-09-16 12:03:10 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Make default language</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QRadioButton" name="rdCProject">
|
|
|
|
<property name="text">
|
|
|
|
<string>C Project</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">btnGroupLanguage</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QRadioButton" name="rdCppProject">
|
|
|
|
<property name="text">
|
|
|
|
<string>C++ Project</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">btnGroupLanguage</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
2022-01-08 21:23:20 +08:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2021-11-18 21:25:28 +08:00
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QLineEdit" name="txtLocation"/>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2" colspan="2">
|
|
|
|
<widget class="QLineEdit" name="txtProjectName"/>
|
|
|
|
</item>
|
2021-09-16 12:03:10 +08:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Name:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3">
|
2021-09-16 23:51:05 +08:00
|
|
|
<widget class="QToolButton" name="btnBrowse">
|
2021-09-16 12:03:10 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/icons/images/newlook24/053-open.png</normalon>
|
|
|
|
</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-11-18 21:25:28 +08:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Create in</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0" colspan="4">
|
|
|
|
<widget class="QCheckBox" name="chkAsDefaultLocation">
|
|
|
|
<property name="text">
|
|
|
|
<string>Use as the default project location</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2021-09-16 12:03:10 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>NewProjectDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>NewProjectDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<buttongroups>
|
|
|
|
<buttongroup name="btnGroupLanguage"/>
|
|
|
|
</buttongroups>
|
|
|
|
</ui>
|