Sun, 06 Jun 2021 16:30:37 +0200
Ported the plug-in to PyQt6 for eric7 and adopted it for Pyramid 2.x.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CreateParametersDialog</class> <widget class="QDialog" name="CreateParametersDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>450</width> <height>281</height> </rect> </property> <property name="windowTitle"> <string>Create Parameters</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Template:</string> </property> <property name="buddy"> <cstring>templateCombo</cstring> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="templateCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter the template to be used</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Template Version:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="versionEdit"> <property name="toolTip"> <string>Enter an optional branch, tag or commit</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <widget class="QGroupBox" name="starterGroupBox"> <property name="title"> <string>CookieCutter Starter Parameters</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Project Name:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="projectEdit"> <property name="toolTip"> <string>Enter the name of the Pyramid project</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Template Language:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="templateLanguageCombo"> <property name="toolTip"> <string>Select the templating language</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Backend:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QComboBox" name="backendCombo"> <property name="toolTip"> <string>Select the database backend</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QCheckBox" name="overwriteCheckBox"> <property name="toolTip"> <string>Select to overwrite existing files</string> </property> <property name="text"> <string>Overwrite existing files</string> </property> </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> <tabstops> <tabstop>templateCombo</tabstop> <tabstop>versionEdit</tabstop> <tabstop>projectEdit</tabstop> <tabstop>templateLanguageCombo</tabstop> <tabstop>backendCombo</tabstop> <tabstop>overwriteCheckBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CreateParametersDialog</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>CreateParametersDialog</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> </ui>