| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Avogadro::QtPlugins::CoordinateEditorDialog</class> |
| 4 |
<widget class="QDialog" name="Avogadro::QtPlugins::CoordinateEditorDialog"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>500</width> |
| 10 |
<height>400</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Coordinate Editor</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="0" column="0"> |
| 23 |
<widget class="QLabel" name="label"> |
| 24 |
<property name="text"> |
| 25 |
<string>Preset:</string> |
| 26 |
</property> |
| 27 |
<property name="buddy"> |
| 28 |
<cstring>presets</cstring> |
| 29 |
</property> |
| 30 |
</widget> |
| 31 |
</item> |
| 32 |
<item row="2" column="0"> |
| 33 |
<widget class="QLabel" name="label_3"> |
| 34 |
<property name="text"> |
| 35 |
<string>Distance Unit:</string> |
| 36 |
</property> |
| 37 |
<property name="buddy"> |
| 38 |
<cstring>distanceUnit</cstring> |
| 39 |
</property> |
| 40 |
</widget> |
| 41 |
</item> |
| 42 |
<item row="2" column="1"> |
| 43 |
<widget class="QComboBox" name="distanceUnit"> |
| 44 |
<item> |
| 45 |
<property name="text"> |
| 46 |
<string>Angstrom</string> |
| 47 |
</property> |
| 48 |
</item> |
| 49 |
<item> |
| 50 |
<property name="text"> |
| 51 |
<string>Bohr</string> |
| 52 |
</property> |
| 53 |
</item> |
| 54 |
</widget> |
| 55 |
</item> |
| 56 |
<item row="1" column="0"> |
| 57 |
<widget class="QLabel" name="label_2"> |
| 58 |
<property name="text"> |
| 59 |
<string>Format:</string> |
| 60 |
</property> |
| 61 |
<property name="buddy"> |
| 62 |
<cstring>spec</cstring> |
| 63 |
</property> |
| 64 |
</widget> |
| 65 |
</item> |
| 66 |
<item row="1" column="1"> |
| 67 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 68 |
<item> |
| 69 |
<widget class="QLineEdit" name="spec"> |
| 70 |
<property name="toolTip"> |
| 71 |
<string><html><head/><body><p>Specification of format. Each character indicates a value to write per atom:</p><p><span style=" font-weight:600;">#</span> - Atom index (1, 2, ..., numAtoms)<br/><span style=" font-weight:600;">Z</span> - Atomic number (e.g. &quot;6&quot; for carbon)<br/><span style=" font-weight:600;">G</span> - GAMESS-style atomic number (e.g. &quot;6.0&quot; for carbon)<br/><span style=" font-weight:600;">N</span> - Element name (e.g. &quot;Carbon&quot;)<br/><span style=" font-weight:600;">S</span> - Element symbol (e.g. &quot;C&quot; for carbon)<br/><span style=" font-weight:700;">L</span> - Atom label (e.g., &quot;C2&quot; for second carbon atom, &quot;H1&quot; for first hydrogen) <br/><span style=" font-weight:600;">x</span> - X position coordinate<br/><span style=" font-weight:600;">y</span> - Y position coordinate<br/><span style=" font-weight:600;">z</span> - Z position coordinate<br/><span style=" font-weight:600;">a</span> - 'a' lattice coordinate (crystals only)<br/><span style=" font-weight:600;">b</span> - 'b' lattice coordinate (crystals only)<br/><span style=" font-weight:600;">c</span> - 'c' lattice coordinate (crystals only)<br/><span style=" font-weight:600;">_</span> - A literal space (&quot; &quot;), useful for alignment<br/><span style=" font-weight:600;">0</span> - A literal 0 (&quot;0&quot;), useful for optimization flags<br/><span style=" font-weight:600;">1</span> - A literal 1 (&quot;1&quot;), useful for optimization flags<br/></p></body></html></string> |
| 72 |
</property> |
| 73 |
</widget> |
| 74 |
</item> |
| 75 |
<item> |
| 76 |
<widget class="QToolButton" name="help"> |
| 77 |
<property name="text"> |
| 78 |
<string>Help…</string> |
| 79 |
</property> |
| 80 |
</widget> |
| 81 |
</item> |
| 82 |
</layout> |
| 83 |
</item> |
| 84 |
<item row="0" column="1"> |
| 85 |
<widget class="QComboBox" name="presets"/> |
| 86 |
</item> |
| 87 |
</layout> |
| 88 |
</item> |
| 89 |
<item> |
| 90 |
<widget class="Avogadro::QtPlugins::CoordinateTextEdit" name="text"> |
| 91 |
<property name="lineWrapMode"> |
| 92 |
<enum>QTextEdit::NoWrap</enum> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item> |
| 97 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 98 |
<item> |
| 99 |
<widget class="QToolButton" name="cut"> |
| 100 |
<property name="text"> |
| 101 |
<string>Cut</string> |
| 102 |
</property> |
| 103 |
</widget> |
| 104 |
</item> |
| 105 |
<item> |
| 106 |
<widget class="QToolButton" name="copy"> |
| 107 |
<property name="text"> |
| 108 |
<string>Copy</string> |
| 109 |
</property> |
| 110 |
</widget> |
| 111 |
</item> |
| 112 |
<item> |
| 113 |
<widget class="QToolButton" name="paste"> |
| 114 |
<property name="text"> |
| 115 |
<string>Paste</string> |
| 116 |
</property> |
| 117 |
</widget> |
| 118 |
</item> |
| 119 |
<item> |
| 120 |
<spacer name="horizontalSpacer"> |
| 121 |
<property name="orientation"> |
| 122 |
<enum>Qt::Horizontal</enum> |
| 123 |
</property> |
| 124 |
<property name="sizeHint" stdset="0"> |
| 125 |
<size> |
| 126 |
<width>40</width> |
| 127 |
<height>20</height> |
| 128 |
</size> |
| 129 |
</property> |
| 130 |
</spacer> |
| 131 |
</item> |
| 132 |
<item> |
| 133 |
<widget class="QPushButton" name="revert"> |
| 134 |
<property name="text"> |
| 135 |
<string>Revert</string> |
| 136 |
</property> |
| 137 |
</widget> |
| 138 |
</item> |
| 139 |
<item> |
| 140 |
<widget class="QPushButton" name="clear"> |
| 141 |
<property name="text"> |
| 142 |
<string>Clear</string> |
| 143 |
</property> |
| 144 |
</widget> |
| 145 |
</item> |
| 146 |
<item> |
| 147 |
<widget class="QPushButton" name="apply"> |
| 148 |
<property name="text"> |
| 149 |
<string>Apply</string> |
| 150 |
</property> |
| 151 |
</widget> |
| 152 |
</item> |
| 153 |
</layout> |
| 154 |
</item> |
| 155 |
</layout> |
| 156 |
</widget> |
| 157 |
<customwidgets> |
| 158 |
<customwidget> |
| 159 |
<class>Avogadro::QtPlugins::CoordinateTextEdit</class> |
| 160 |
<extends>QTextEdit</extends> |
| 161 |
<header>coordinatetextedit.h</header> |
| 162 |
</customwidget> |
| 163 |
</customwidgets> |
| 164 |
<tabstops> |
| 165 |
<tabstop>presets</tabstop> |
| 166 |
<tabstop>spec</tabstop> |
| 167 |
<tabstop>help</tabstop> |
| 168 |
<tabstop>distanceUnit</tabstop> |
| 169 |
<tabstop>text</tabstop> |
| 170 |
<tabstop>cut</tabstop> |
| 171 |
<tabstop>copy</tabstop> |
| 172 |
<tabstop>paste</tabstop> |
| 173 |
<tabstop>revert</tabstop> |
| 174 |
<tabstop>clear</tabstop> |
| 175 |
<tabstop>apply</tabstop> |
| 176 |
</tabstops> |
| 177 |
<resources/> |
| 178 |
<connections/> |
| 179 |
</ui> |