FreeCAD
123 строки · 3.5 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">3<class>EditDependencyDialog</class>4<widget class="QDialog" name="EditDependencyDialog">5<property name="geometry">6<rect>7<x>0</x>8<y>0</y>9<width>347</width>10<height>236</height>11</rect>12</property>13<property name="windowTitle">14<string>Edit Dependency</string>15</property>16<layout class="QGridLayout" name="gridLayout">17<item row="0" column="0">18<widget class="QLabel" name="label">19<property name="text">20<string>Dependency Type</string>21</property>22</widget>23</item>24<item row="0" column="1">25<widget class="QComboBox" name="typeComboBox"/>26</item>27<item row="1" column="0">28<widget class="QLabel" name="label_2">29<property name="text">30<string>Dependency</string>31</property>32</widget>33</item>34<item row="1" column="1">35<layout class="QVBoxLayout" name="verticalLayout">36<item>37<widget class="QComboBox" name="dependencyComboBox"/>38</item>39<item>40<widget class="QLineEdit" name="lineEdit">41<property name="placeholderText">42<string>Package name, if "Other..."</string>43</property>44</widget>45</item>46<item>47<widget class="QLabel" name="otherNote">48<property name="font">49<font>50<italic>true</italic>51</font>52</property>53<property name="text">54<string>NOTE: If "Other..." is selected, the package is not in the ALLOWED_PYTHON_PACKAGES.txt file, and will not be automatically installed by the Addon Manager. Submit a PR at <a href="https://github.com/FreeCAD/FreeCAD-addons">https://github.com/FreeCAD/FreeCAD-addons</a> to request addition of a package.</string>55</property>56<property name="wordWrap">57<bool>true</bool>58</property>59<property name="openExternalLinks">60<bool>true</bool>61</property>62</widget>63</item>64</layout>65</item>66<item row="2" column="0" colspan="2">67<widget class="QCheckBox" name="optionalCheckBox">68<property name="toolTip">69<string>If this is an optional dependency, the Addon Manager will offer to install it (when possible), but will not block installation if the user chooses not to, or cannot, install the package.</string>70</property>71<property name="text">72<string>Optional</string>73</property>74</widget>75</item>76<item row="3" column="0" colspan="2">77<widget class="QDialogButtonBox" name="buttonBox">78<property name="orientation">79<enum>Qt::Horizontal</enum>80</property>81<property name="standardButtons">82<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>83</property>84</widget>85</item>86</layout>87</widget>88<resources/>89<connections>90<connection>91<sender>buttonBox</sender>92<signal>accepted()</signal>93<receiver>EditDependencyDialog</receiver>94<slot>accept()</slot>95<hints>96<hint type="sourcelabel">97<x>248</x>98<y>254</y>99</hint>100<hint type="destinationlabel">101<x>157</x>102<y>274</y>103</hint>104</hints>105</connection>106<connection>107<sender>buttonBox</sender>108<signal>rejected()</signal>109<receiver>EditDependencyDialog</receiver>110<slot>reject()</slot>111<hints>112<hint type="sourcelabel">113<x>316</x>114<y>260</y>115</hint>116<hint type="destinationlabel">117<x>286</x>118<y>274</y>119</hint>120</hints>121</connection>122</connections>123</ui>124