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>
|
|
|
|
<height>528</height>
|
|
|
|
</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>
|
2021-09-16 23:51:05 +08:00
|
|
|
<property name="viewMode">
|
|
|
|
<enum>QListView::IconMode</enum>
|
|
|
|
</property>
|
|
|
|
<property name="itemAlignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
2021-09-16 12:03:10 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="verticalSpacing">
|
|
|
|
<number>10</number>
|
|
|
|
</property>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="chkMakeDefault">
|
|
|
|
<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">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Name:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Location:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QLineEdit" name="txtLocation"/>
|
|
|
|
</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>
|
|
|
|
<item row="0" column="2" colspan="2">
|
2021-09-16 23:51:05 +08:00
|
|
|
<widget class="QLineEdit" name="txtProjectName"/>
|
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>
|