| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Avogadro::QtPlugins::ConstraintsDialog</class> |
| 4 |
<widget class="QDialog" name="Avogadro::QtPlugins::ConstraintsDialog"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>441</width> |
| 10 |
<height>446</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Constraints</string> |
| 15 |
</property> |
| 16 |
<layout class="QVBoxLayout"> |
| 17 |
<item> |
| 18 |
<widget class="QTableView" name="constraintsTableView"> |
| 19 |
<property name="horizontalScrollBarPolicy"> |
| 20 |
<enum>Qt::ScrollBarAlwaysOff</enum> |
| 21 |
</property> |
| 22 |
<property name="sizeAdjustPolicy"> |
| 23 |
<enum>QAbstractScrollArea::AdjustIgnored</enum> |
| 24 |
</property> |
| 25 |
<property name="selectionBehavior"> |
| 26 |
<enum>QAbstractItemView::SelectRows</enum> |
| 27 |
</property> |
| 28 |
</widget> |
| 29 |
</item> |
| 30 |
<item> |
| 31 |
<widget class="QGroupBox" name="groupBox"> |
| 32 |
<property name="title"> |
| 33 |
<string>Add Constraints</string> |
| 34 |
</property> |
| 35 |
<layout class="QFormLayout" name="formLayout"> |
| 36 |
<item row="0" column="0"> |
| 37 |
<widget class="QLabel" name="label"> |
| 38 |
<property name="maximumSize"> |
| 39 |
<size> |
| 40 |
<width>40</width> |
| 41 |
<height>16777215</height> |
| 42 |
</size> |
| 43 |
</property> |
| 44 |
<property name="text"> |
| 45 |
<string>Type:</string> |
| 46 |
</property> |
| 47 |
</widget> |
| 48 |
</item> |
| 49 |
<item row="0" column="1"> |
| 50 |
<widget class="QComboBox" name="comboType"> |
| 51 |
<property name="currentIndex"> |
| 52 |
<number>0</number> |
| 53 |
</property> |
| 54 |
<item> |
| 55 |
<property name="text"> |
| 56 |
<string>Distance</string> |
| 57 |
</property> |
| 58 |
</item> |
| 59 |
<item> |
| 60 |
<property name="text"> |
| 61 |
<string>Angle</string> |
| 62 |
</property> |
| 63 |
</item> |
| 64 |
<item> |
| 65 |
<property name="text"> |
| 66 |
<string>Torsion Angle</string> |
| 67 |
</property> |
| 68 |
</item> |
| 69 |
</widget> |
| 70 |
</item> |
| 71 |
<item row="1" column="0"> |
| 72 |
<widget class="QLabel" name="label_3"> |
| 73 |
<property name="text"> |
| 74 |
<string>Atom Indices:</string> |
| 75 |
</property> |
| 76 |
</widget> |
| 77 |
</item> |
| 78 |
<item row="1" column="1"> |
| 79 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 80 |
<item> |
| 81 |
<widget class="QSpinBox" name="editA"> |
| 82 |
<property name="maximum"> |
| 83 |
<number>999</number> |
| 84 |
</property> |
| 85 |
</widget> |
| 86 |
</item> |
| 87 |
<item> |
| 88 |
<widget class="QSpinBox" name="editB"> |
| 89 |
<property name="maximum"> |
| 90 |
<number>999</number> |
| 91 |
</property> |
| 92 |
</widget> |
| 93 |
</item> |
| 94 |
<item> |
| 95 |
<widget class="QSpinBox" name="editC"> |
| 96 |
<property name="maximum"> |
| 97 |
<number>999</number> |
| 98 |
</property> |
| 99 |
</widget> |
| 100 |
</item> |
| 101 |
<item> |
| 102 |
<widget class="QSpinBox" name="editD"> |
| 103 |
<property name="maximum"> |
| 104 |
<number>999</number> |
| 105 |
</property> |
| 106 |
</widget> |
| 107 |
</item> |
| 108 |
</layout> |
| 109 |
</item> |
| 110 |
<item row="2" column="0"> |
| 111 |
<widget class="QLabel" name="label_2"> |
| 112 |
<property name="text"> |
| 113 |
<string>Value:</string> |
| 114 |
</property> |
| 115 |
</widget> |
| 116 |
</item> |
| 117 |
<item row="2" column="1"> |
| 118 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 119 |
<item> |
| 120 |
<widget class="QDoubleSpinBox" name="editValue"> |
| 121 |
<property name="alignment"> |
| 122 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
| 123 |
</property> |
| 124 |
<property name="suffix"> |
| 125 |
<string notr="true">Å</string> |
| 126 |
</property> |
| 127 |
<property name="decimals"> |
| 128 |
<number>3</number> |
| 129 |
</property> |
| 130 |
<property name="maximum"> |
| 131 |
<double>105.989999999999995</double> |
| 132 |
</property> |
| 133 |
</widget> |
| 134 |
</item> |
| 135 |
</layout> |
| 136 |
</item> |
| 137 |
<item row="3" column="1"> |
| 138 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 139 |
<item> |
| 140 |
<widget class="QPushButton" name="addConstraint"> |
| 141 |
<property name="text"> |
| 142 |
<string>Add</string> |
| 143 |
</property> |
| 144 |
</widget> |
| 145 |
</item> |
| 146 |
</layout> |
| 147 |
</item> |
| 148 |
<item row="4" column="1"> |
| 149 |
<spacer name="verticalSpacer"> |
| 150 |
<property name="orientation"> |
| 151 |
<enum>Qt::Vertical</enum> |
| 152 |
</property> |
| 153 |
<property name="sizeHint" stdset="0"> |
| 154 |
<size> |
| 155 |
<width>20</width> |
| 156 |
<height>40</height> |
| 157 |
</size> |
| 158 |
</property> |
| 159 |
</spacer> |
| 160 |
</item> |
| 161 |
</layout> |
| 162 |
</widget> |
| 163 |
</item> |
| 164 |
<item> |
| 165 |
<widget class="QGroupBox" name="groupBox_2"> |
| 166 |
<property name="title"> |
| 167 |
<string>Options</string> |
| 168 |
</property> |
| 169 |
<layout class="QHBoxLayout"> |
| 170 |
<item> |
| 171 |
<layout class="QHBoxLayout"> |
| 172 |
<item> |
| 173 |
<spacer> |
| 174 |
<property name="orientation"> |
| 175 |
<enum>Qt::Horizontal</enum> |
| 176 |
</property> |
| 177 |
<property name="sizeHint" stdset="0"> |
| 178 |
<size> |
| 179 |
<width>40</width> |
| 180 |
<height>20</height> |
| 181 |
</size> |
| 182 |
</property> |
| 183 |
</spacer> |
| 184 |
</item> |
| 185 |
<item> |
| 186 |
<widget class="QPushButton" name="getConstraint"> |
| 187 |
<property name="sizePolicy"> |
| 188 |
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| 189 |
<horstretch>0</horstretch> |
| 190 |
<verstretch>0</verstretch> |
| 191 |
</sizepolicy> |
| 192 |
</property> |
| 193 |
<property name="minimumSize"> |
| 194 |
<size> |
| 195 |
<width>100</width> |
| 196 |
<height>0</height> |
| 197 |
</size> |
| 198 |
</property> |
| 199 |
<property name="text"> |
| 200 |
<string>Get Constraint</string> |
| 201 |
</property> |
| 202 |
</widget> |
| 203 |
</item> |
| 204 |
<item> |
| 205 |
<widget class="QPushButton" name="deleteConstraint"> |
| 206 |
<property name="sizePolicy"> |
| 207 |
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| 208 |
<horstretch>0</horstretch> |
| 209 |
<verstretch>0</verstretch> |
| 210 |
</sizepolicy> |
| 211 |
</property> |
| 212 |
<property name="minimumSize"> |
| 213 |
<size> |
| 214 |
<width>100</width> |
| 215 |
<height>0</height> |
| 216 |
</size> |
| 217 |
</property> |
| 218 |
<property name="text"> |
| 219 |
<string>Delete Selected</string> |
| 220 |
</property> |
| 221 |
</widget> |
| 222 |
</item> |
| 223 |
<item> |
| 224 |
<widget class="QPushButton" name="deleteAllConstraints"> |
| 225 |
<property name="text"> |
| 226 |
<string>Delete All</string> |
| 227 |
</property> |
| 228 |
</widget> |
| 229 |
</item> |
| 230 |
<item> |
| 231 |
<widget class="QPushButton" name="okButton"> |
| 232 |
<property name="text"> |
| 233 |
<string>OK</string> |
| 234 |
</property> |
| 235 |
</widget> |
| 236 |
</item> |
| 237 |
</layout> |
| 238 |
</item> |
| 239 |
</layout> |
| 240 |
</widget> |
| 241 |
</item> |
| 242 |
</layout> |
| 243 |
</widget> |
| 244 |
<resources/> |
| 245 |
<connections/> |
| 246 |
</ui> |