| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Avogadro::QtPlugins::VolumeScalingDialog</class> |
| 4 |
<widget class="QDialog" name="Avogadro::QtPlugins::VolumeScalingDialog"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>348</width> |
| 10 |
<height>151</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Scale Unit Cell Volume</string> |
| 15 |
</property> |
| 16 |
<layout class="QVBoxLayout" name="verticalLayout"> |
| 17 |
<item> |
| 18 |
<layout class="QFormLayout" name="formLayout"> |
| 19 |
<property name="labelAlignment"> |
| 20 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 21 |
</property> |
| 22 |
<item row="1" column="0"> |
| 23 |
<widget class="QLabel" name="label"> |
| 24 |
<property name="text"> |
| 25 |
<string>New &Volume:</string> |
| 26 |
</property> |
| 27 |
<property name="alignment"> |
| 28 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 29 |
</property> |
| 30 |
<property name="buddy"> |
| 31 |
<cstring>newVolume</cstring> |
| 32 |
</property> |
| 33 |
</widget> |
| 34 |
</item> |
| 35 |
<item row="2" column="0"> |
| 36 |
<widget class="QLabel" name="label_2"> |
| 37 |
<property name="text"> |
| 38 |
<string>&Scaling Factor:</string> |
| 39 |
</property> |
| 40 |
<property name="alignment"> |
| 41 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 42 |
</property> |
| 43 |
<property name="buddy"> |
| 44 |
<cstring>scalingFactor</cstring> |
| 45 |
</property> |
| 46 |
</widget> |
| 47 |
</item> |
| 48 |
<item row="0" column="0"> |
| 49 |
<widget class="QLabel" name="label_3"> |
| 50 |
<property name="text"> |
| 51 |
<string>Current Volume:</string> |
| 52 |
</property> |
| 53 |
</widget> |
| 54 |
</item> |
| 55 |
<item row="0" column="1"> |
| 56 |
<widget class="QLabel" name="currentVolume"> |
| 57 |
<property name="text"> |
| 58 |
<string>TextLabel</string> |
| 59 |
</property> |
| 60 |
</widget> |
| 61 |
</item> |
| 62 |
<item row="1" column="1"> |
| 63 |
<widget class="QDoubleSpinBox" name="newVolume"> |
| 64 |
<property name="decimals"> |
| 65 |
<number>5</number> |
| 66 |
</property> |
| 67 |
<property name="minimum"> |
| 68 |
<double>0.010000000000000</double> |
| 69 |
</property> |
| 70 |
<property name="maximum"> |
| 71 |
<double>9999999.000000000000000</double> |
| 72 |
</property> |
| 73 |
</widget> |
| 74 |
</item> |
| 75 |
<item row="2" column="1"> |
| 76 |
<widget class="QDoubleSpinBox" name="scalingFactor"> |
| 77 |
<property name="decimals"> |
| 78 |
<number>5</number> |
| 79 |
</property> |
| 80 |
<property name="minimum"> |
| 81 |
<double>0.000010000000000</double> |
| 82 |
</property> |
| 83 |
<property name="maximum"> |
| 84 |
<double>999999.999990000040270</double> |
| 85 |
</property> |
| 86 |
<property name="singleStep"> |
| 87 |
<double>0.100000000000000</double> |
| 88 |
</property> |
| 89 |
<property name="value"> |
| 90 |
<double>1.000000000000000</double> |
| 91 |
</property> |
| 92 |
</widget> |
| 93 |
</item> |
| 94 |
</layout> |
| 95 |
</item> |
| 96 |
<item> |
| 97 |
<spacer name="verticalSpacer"> |
| 98 |
<property name="orientation"> |
| 99 |
<enum>Qt::Vertical</enum> |
| 100 |
</property> |
| 101 |
<property name="sizeHint" stdset="0"> |
| 102 |
<size> |
| 103 |
<width>20</width> |
| 104 |
<height>40</height> |
| 105 |
</size> |
| 106 |
</property> |
| 107 |
</spacer> |
| 108 |
</item> |
| 109 |
<item> |
| 110 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 111 |
<item> |
| 112 |
<widget class="QCheckBox" name="transformAtoms"> |
| 113 |
<property name="text"> |
| 114 |
<string>&Transform Atoms</string> |
| 115 |
</property> |
| 116 |
</widget> |
| 117 |
</item> |
| 118 |
<item> |
| 119 |
<spacer name="horizontalSpacer"> |
| 120 |
<property name="orientation"> |
| 121 |
<enum>Qt::Horizontal</enum> |
| 122 |
</property> |
| 123 |
<property name="sizeHint" stdset="0"> |
| 124 |
<size> |
| 125 |
<width>40</width> |
| 126 |
<height>20</height> |
| 127 |
</size> |
| 128 |
</property> |
| 129 |
</spacer> |
| 130 |
</item> |
| 131 |
<item> |
| 132 |
<widget class="QDialogButtonBox" name="buttonBox"> |
| 133 |
<property name="orientation"> |
| 134 |
<enum>Qt::Horizontal</enum> |
| 135 |
</property> |
| 136 |
<property name="standardButtons"> |
| 137 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 138 |
</property> |
| 139 |
</widget> |
| 140 |
</item> |
| 141 |
</layout> |
| 142 |
</item> |
| 143 |
</layout> |
| 144 |
</widget> |
| 145 |
<tabstops> |
| 146 |
<tabstop>newVolume</tabstop> |
| 147 |
<tabstop>scalingFactor</tabstop> |
| 148 |
<tabstop>transformAtoms</tabstop> |
| 149 |
<tabstop>buttonBox</tabstop> |
| 150 |
</tabstops> |
| 151 |
<resources/> |
| 152 |
<connections> |
| 153 |
<connection> |
| 154 |
<sender>buttonBox</sender> |
| 155 |
<signal>accepted()</signal> |
| 156 |
<receiver>Avogadro::QtPlugins::VolumeScalingDialog</receiver> |
| 157 |
<slot>accept()</slot> |
| 158 |
<hints> |
| 159 |
<hint type="sourcelabel"> |
| 160 |
<x>374</x> |
| 161 |
<y>222</y> |
| 162 |
</hint> |
| 163 |
<hint type="destinationlabel"> |
| 164 |
<x>157</x> |
| 165 |
<y>274</y> |
| 166 |
</hint> |
| 167 |
</hints> |
| 168 |
</connection> |
| 169 |
<connection> |
| 170 |
<sender>buttonBox</sender> |
| 171 |
<signal>rejected()</signal> |
| 172 |
<receiver>Avogadro::QtPlugins::VolumeScalingDialog</receiver> |
| 173 |
<slot>reject()</slot> |
| 174 |
<hints> |
| 175 |
<hint type="sourcelabel"> |
| 176 |
<x>385</x> |
| 177 |
<y>228</y> |
| 178 |
</hint> |
| 179 |
<hint type="destinationlabel"> |
| 180 |
<x>286</x> |
| 181 |
<y>274</y> |
| 182 |
</hint> |
| 183 |
</hints> |
| 184 |
</connection> |
| 185 |
</connections> |
| 186 |
</ui> |