FreeCAD
364 строки · 11.0 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">3<class>DeveloperModeDialog</class>4<widget class="QDialog" name="DeveloperModeDialog">5<property name="geometry">6<rect>7<x>0</x>8<y>0</y>9<width>595</width>10<height>677</height>11</rect>12</property>13<property name="windowTitle">14<string>Addon Developer Tools</string>15</property>16<property name="sizeGripEnabled">17<bool>true</bool>18</property>19<layout class="QVBoxLayout" name="mainVBoxLayout">20<item>21<layout class="QHBoxLayout" name="horizontalLayoutAddonPath">22<item>23<widget class="QLabel" name="labelPathToAddon">24<property name="text">25<string>Path to Addon</string>26</property>27</widget>28</item>29<item>30<widget class="QComboBox" name="pathToAddonComboBox">31<property name="sizePolicy">32<sizepolicy hsizetype="Expanding" vsizetype="Fixed">33<horstretch>0</horstretch>34<verstretch>0</verstretch>35</sizepolicy>36</property>37<property name="editable">38<bool>true</bool>39</property>40</widget>41</item>42<item>43<widget class="QPushButton" name="addonPathBrowseButton">44<property name="text">45<string>Browse...</string>46</property>47</widget>48</item>49</layout>50</item>51<item>52<widget class="QGroupBox" name="metadataGroupBox">53<property name="title">54<string>Metadata</string>55</property>56<layout class="QGridLayout" name="gridLayout">57<item row="6" column="1">58<layout class="QHBoxLayout" name="horizontalLayout_6">59<item>60<widget class="QLineEdit" name="repositoryURLLineEdit"/>61</item>62<item>63<widget class="QLabel" name="labelRepoPrimaryBranch">64<property name="text">65<string>Primary branch</string>66</property>67</widget>68</item>69<item>70<widget class="QComboBox" name="branchComboBox"/>71</item>72</layout>73</item>74<item row="1" column="0">75<widget class="QLabel" name="labelDescription">76<property name="toolTip">77<string>Explanation of what this Addon provides. Displayed in the Addon Manager. It is not necessary for this to state that this is a FreeCAD Addon.</string>78</property>79<property name="text">80<string>Description</string>81</property>82<property name="alignment">83<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>84</property>85</widget>86</item>87<item row="11" column="0">88<widget class="QLabel" name="labelDiscssionURL">89<property name="text">90<string>Discussion URL</string>91</property>92</widget>93</item>94<item row="13" column="0">95<widget class="QLabel" name="labelIcon">96<property name="text">97<string>Icon</string>98</property>99</widget>100</item>101<item row="9" column="0">102<widget class="QLabel" name="labelBugtrackerURL">103<property name="text">104<string>Bugtracker URL</string>105</property>106</widget>107</item>108<item row="2" column="1">109<layout class="QHBoxLayout" name="horizontalLayout_7">110<item>111<widget class="QLineEdit" name="versionLineEdit">112<property name="placeholderText">113<string>Semantic (1.2.3-beta) or CalVer (2022.08.30) styles supported</string>114</property>115</widget>116</item>117<item>118<widget class="QPushButton" name="versionToTodayButton">119<property name="text">120<string>Set to today (CalVer style)</string>121</property>122</widget>123</item>124</layout>125</item>126<item row="3" column="0" colspan="2">127<layout class="QHBoxLayout" name="peopleAndLicenseshorizontalLayout"/>128</item>129<item row="11" column="1">130<widget class="QLineEdit" name="discussionURLLineEdit">131<property name="placeholderText">132<string>(Optional)</string>133</property>134</widget>135</item>136<item row="0" column="1">137<widget class="QLineEdit" name="displayNameLineEdit">138<property name="toolTip">139<string>Displayed in the Addon Manager's list of Addons. Should not include the word "FreeCAD", and must be a valid directory name on all support operating systems.</string>140</property>141</widget>142</item>143<item row="10" column="1">144<widget class="QLineEdit" name="documentationURLLineEdit">145<property name="placeholderText">146<string>(Optional)</string>147</property>148</widget>149</item>150<item row="7" column="0">151<widget class="QLabel" name="labelReadmeURL">152<property name="text">153<string>README URL</string>154</property>155</widget>156</item>157<item row="1" column="1">158<widget class="QPlainTextEdit" name="descriptionTextEdit">159<property name="toolTip">160<string>Explanation of what this Addon provides. Displayed in the Addon Manager. It is not necessary for this to state that this is a FreeCAD Addon.</string>161</property>162<property name="tabChangesFocus">163<bool>true</bool>164</property>165<property name="placeholderText">166<string>TIP: Since this is displayed within FreeCAD, in the Addon Manager, it is not necessary to take up space saying things like "This is a FreeCAD Addon..." -- just say what it does.</string>167</property>168</widget>169</item>170<item row="6" column="0">171<widget class="QLabel" name="labelRepoURL">172<property name="text">173<string>Repository URL</string>174</property>175</widget>176</item>177<item row="8" column="1">178<widget class="QLineEdit" name="websiteURLLineEdit">179<property name="placeholderText">180<string>(Optional)</string>181</property>182</widget>183</item>184<item row="13" column="1">185<layout class="QHBoxLayout" name="iconHorizontalLayout">186<item>187<widget class="QLabel" name="iconDisplayLabel"/>188</item>189<item>190<widget class="QLineEdit" name="iconPathLineEdit"/>191</item>192<item>193<widget class="QPushButton" name="iconBrowseButton">194<property name="text">195<string>Browse...</string>196</property>197</widget>198</item>199</layout>200</item>201<item row="8" column="0">202<widget class="QLabel" name="labelWebsiteURL">203<property name="text">204<string>Website URL</string>205</property>206</widget>207</item>208<item row="10" column="0">209<widget class="QLabel" name="labelDocumentationURL">210<property name="text">211<string>Documentation URL</string>212</property>213</widget>214</item>215<item row="9" column="1">216<widget class="QLineEdit" name="bugtrackerURLLineEdit">217<property name="placeholderText">218<string>(Optional)</string>219</property>220</widget>221</item>222<item row="0" column="0">223<widget class="QLabel" name="labelDisplayName">224<property name="toolTip">225<string>Displayed in the Addon Manager's list of Addons. Should not include the word "FreeCAD", and must be a valid directory name on all support operating systems.</string>226</property>227<property name="text">228<string>Addon Name</string>229</property>230</widget>231</item>232<item row="2" column="0">233<widget class="QLabel" name="labelVersion">234<property name="text">235<string>Version</string>236</property>237</widget>238</item>239<item row="7" column="1">240<widget class="QLineEdit" name="readmeURLLineEdit">241<property name="placeholderText">242<string>(Recommended)</string>243</property>244</widget>245</item>246<item row="12" column="0">247<widget class="QLabel" name="label">248<property name="text">249<string>Minimum Python</string>250</property>251</widget>252</item>253<item row="12" column="1">254<layout class="QHBoxLayout" name="horizontalLayout">255<item>256<widget class="QLineEdit" name="minPythonLineEdit">257<property name="placeholderText">258<string>(Optional, only 3.x version supported)</string>259</property>260</widget>261</item>262<item>263<widget class="QPushButton" name="detectMinPythonButton">264<property name="text">265<string>Detect...</string>266</property>267</widget>268</item>269</layout>270</item>271</layout>272</widget>273</item>274<item>275<widget class="QGroupBox" name="groupBox">276<property name="title">277<string>Addon Contents</string>278</property>279<layout class="QVBoxLayout" name="verticalLayout">280<item>281<widget class="QListWidget" name="contentsListWidget"/>282</item>283<item>284<layout class="QHBoxLayout" name="horizontalLayout_8">285<item>286<spacer name="horizontalSpacer_2">287<property name="orientation">288<enum>Qt::Horizontal</enum>289</property>290<property name="sizeHint" stdset="0">291<size>292<width>40</width>293<height>20</height>294</size>295</property>296</spacer>297</item>298<item>299<widget class="QToolButton" name="addContentItemToolButton">300<property name="text">301<string notr="true">...</string>302</property>303</widget>304</item>305<item>306<widget class="QToolButton" name="removeContentItemToolButton">307<property name="text">308<string notr="true">...</string>309</property>310</widget>311</item>312</layout>313</item>314</layout>315</widget>316</item>317<item>318<widget class="QDialogButtonBox" name="buttonBox">319<property name="orientation">320<enum>Qt::Horizontal</enum>321</property>322<property name="standardButtons">323<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>324</property>325</widget>326</item>327</layout>328</widget>329<resources/>330<connections>331<connection>332<sender>buttonBox</sender>333<signal>accepted()</signal>334<receiver>DeveloperModeDialog</receiver>335<slot>accept()</slot>336<hints>337<hint type="sourcelabel">338<x>248</x>339<y>254</y>340</hint>341<hint type="destinationlabel">342<x>157</x>343<y>274</y>344</hint>345</hints>346</connection>347<connection>348<sender>buttonBox</sender>349<signal>rejected()</signal>350<receiver>DeveloperModeDialog</receiver>351<slot>reject()</slot>352<hints>353<hint type="sourcelabel">354<x>316</x>355<y>260</y>356</hint>357<hint type="destinationlabel">358<x>286</x>359<y>274</y>360</hint>361</hints>362</connection>363</connections>364</ui>365