Changeset 430bd7f7e9 in tspsg for ui/mainwindow.ui
- Timestamp:
- Jul 31, 2009, 8:23:07 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- ec54b4490b
- Parents:
- b5c9bcb585
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ui/mainwindow.ui
rb5c9bcb585 r430bd7f7e9 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 640</width>10 <height>4 80</height>9 <width>491</width> 10 <height>400</height> 11 11 </rect> 12 12 </property> … … 19 19 </property> 20 20 <widget class="QWidget" name="centralwidget"> 21 <layout class="QGridLayout"> 22 <item row="0" column="0"> 23 <widget class="QTabWidget" name="tabWidget"> 24 <property name="sizePolicy"> 25 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 26 <horstretch>0</horstretch> 27 <verstretch>0</verstretch> 28 </sizepolicy> 29 </property> 30 <property name="currentIndex"> 31 <number>0</number> 32 </property> 33 <widget class="QWidget" name="tabTask"> 34 <attribute name="title"> 35 <string>Task</string> 36 </attribute> 37 <layout class="QVBoxLayout"> 38 <item> 39 <layout class="QHBoxLayout"> 40 <item> 41 <spacer> 42 <property name="orientation"> 43 <enum>Qt::Horizontal</enum> 44 </property> 45 <property name="sizeHint" stdset="0"> 46 <size> 47 <width>40</width> 48 <height>20</height> 49 </size> 50 </property> 51 </spacer> 52 </item> 53 <item> 54 <widget class="QLabel" name="labelVariant"> 55 <property name="text"> 56 <string>&Variant:</string> 57 </property> 58 <property name="buddy"> 59 <cstring>spinVariant</cstring> 60 </property> 61 </widget> 62 </item> 63 <item> 64 <widget class="QSpinBox" name="spinVariant"> 65 <property name="cursor"> 66 <cursorShape>PointingHandCursor</cursorShape> 67 </property> 68 <property name="statusTip"> 69 <string>Number of variant</string> 70 </property> 71 <property name="minimum"> 72 <number>1</number> 73 </property> 74 </widget> 75 </item> 76 <item> 77 <widget class="QLabel" name="labelCities"> 78 <property name="text"> 79 <string>&Cities:</string> 80 </property> 81 <property name="buddy"> 82 <cstring>spinCities</cstring> 83 </property> 84 </widget> 85 </item> 86 <item> 87 <widget class="QSpinBox" name="spinCities"> 88 <property name="cursor"> 89 <cursorShape>PointingHandCursor</cursorShape> 90 </property> 91 <property name="statusTip"> 92 <string>Number of cities</string> 93 </property> 94 <property name="minimum"> 95 <number>3</number> 96 </property> 97 <property name="maximum"> 98 <number>5</number> 99 </property> 100 <property name="value"> 101 <number>5</number> 102 </property> 103 </widget> 104 </item> 105 <item> 106 <spacer> 107 <property name="orientation"> 108 <enum>Qt::Horizontal</enum> 109 </property> 110 <property name="sizeHint" stdset="0"> 111 <size> 112 <width>40</width> 113 <height>20</height> 114 </size> 115 </property> 116 </spacer> 117 </item> 118 </layout> 119 </item> 120 <item> 121 <widget class="QTableView" name="taskView"> 21 <widget class="QTabWidget" name="tabWidget"> 22 <property name="geometry"> 23 <rect> 24 <x>0</x> 25 <y>0</y> 26 <width>481</width> 27 <height>311</height> 28 </rect> 29 </property> 30 <property name="sizePolicy"> 31 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 32 <horstretch>0</horstretch> 33 <verstretch>0</verstretch> 34 </sizepolicy> 35 </property> 36 <property name="currentIndex"> 37 <number>0</number> 38 </property> 39 <widget class="QWidget" name="tabTask"> 40 <attribute name="title"> 41 <string>Task</string> 42 </attribute> 43 <layout class="QVBoxLayout"> 44 <item> 45 <layout class="QHBoxLayout"> 46 <item> 47 <spacer> 48 <property name="orientation"> 49 <enum>Qt::Horizontal</enum> 50 </property> 51 <property name="sizeHint" stdset="0"> 52 <size> 53 <width>40</width> 54 <height>20</height> 55 </size> 56 </property> 57 </spacer> 58 </item> 59 <item> 60 <widget class="QLabel" name="labelVariant"> 61 <property name="text"> 62 <string>&Variant:</string> 63 </property> 64 <property name="buddy"> 65 <cstring>spinVariant</cstring> 66 </property> 67 </widget> 68 </item> 69 <item> 70 <widget class="QSpinBox" name="spinVariant"> 71 <property name="cursor"> 72 <cursorShape>PointingHandCursor</cursorShape> 73 </property> 122 74 <property name="statusTip"> 123 <string> Cost of travel from city to city</string>124 </property> 125 <property name=" selectionMode">126 < enum>QAbstractItemView::NoSelection</enum>75 <string>Number of variant</string> 76 </property> 77 <property name="minimum"> 78 <number>1</number> 127 79 </property> 128 80 </widget> 129 81 </item> 130 82 <item> 131 <layout class="QHBoxLayout"> 132 <item> 133 <spacer> 134 <property name="orientation"> 135 <enum>Qt::Horizontal</enum> 136 </property> 137 <property name="sizeHint" stdset="0"> 138 <size> 139 <width>40</width> 140 <height>20</height> 141 </size> 142 </property> 143 </spacer> 144 </item> 145 <item> 146 <widget class="QPushButton" name="buttonRandom"> 147 <property name="cursor"> 148 <cursorShape>PointingHandCursor</cursorShape> 149 </property> 150 <property name="statusTip"> 151 <string>Fill table with random numbers</string> 152 </property> 153 <property name="text"> 154 <string>Random</string> 155 </property> 156 <property name="icon"> 157 <iconset resource="../resources/tspsg.qrc"> 158 <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset> 159 </property> 160 </widget> 161 </item> 162 <item> 163 <widget class="QPushButton" name="buttonSolve"> 164 <property name="cursor"> 165 <cursorShape>PointingHandCursor</cursorShape> 166 </property> 167 <property name="statusTip"> 168 <string>Solve current task</string> 169 </property> 170 <property name="text"> 171 <string>Solve</string> 172 </property> 173 <property name="icon"> 174 <iconset resource="../resources/tspsg.qrc"> 175 <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset> 176 </property> 177 </widget> 178 </item> 179 </layout> 83 <widget class="QLabel" name="labelCities"> 84 <property name="text"> 85 <string>&Cities:</string> 86 </property> 87 <property name="buddy"> 88 <cstring>spinCities</cstring> 89 </property> 90 </widget> 91 </item> 92 <item> 93 <widget class="QSpinBox" name="spinCities"> 94 <property name="cursor"> 95 <cursorShape>PointingHandCursor</cursorShape> 96 </property> 97 <property name="statusTip"> 98 <string>Number of cities</string> 99 </property> 100 <property name="minimum"> 101 <number>3</number> 102 </property> 103 <property name="maximum"> 104 <number>5</number> 105 </property> 106 <property name="value"> 107 <number>5</number> 108 </property> 109 </widget> 110 </item> 111 <item> 112 <spacer> 113 <property name="orientation"> 114 <enum>Qt::Horizontal</enum> 115 </property> 116 <property name="sizeHint" stdset="0"> 117 <size> 118 <width>40</width> 119 <height>20</height> 120 </size> 121 </property> 122 </spacer> 180 123 </item> 181 124 </layout> 182 </widget> 183 <widget class="QWidget" name="tabSolution"> 184 <attribute name="title"> 185 <string>Solution</string> 186 </attribute> 187 <layout class="QVBoxLayout"> 188 <item> 189 <layout class="QHBoxLayout"> 190 <property name="spacing"> 191 <number>0</number> 192 </property> 193 <item> 194 <widget class="QTextEdit" name="textEdit"> 195 <property name="sizePolicy"> 196 <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> 197 <horstretch>0</horstretch> 198 <verstretch>0</verstretch> 199 </sizepolicy> 200 </property> 201 <property name="statusTip"> 202 <string>Solution steps</string> 203 </property> 204 <property name="readOnly"> 205 <bool>true</bool> 206 </property> 207 </widget> 208 </item> 209 <item> 210 <widget class="QGraphicsView" name="graphicsView"> 211 <property name="statusTip"> 212 <string>Solution graph</string> 213 </property> 214 </widget> 215 </item> 216 </layout> 125 </item> 126 <item> 127 <widget class="QTableView" name="taskView"> 128 <property name="statusTip"> 129 <string>Cost of travel from city to city</string> 130 </property> 131 <property name="selectionMode"> 132 <enum>QAbstractItemView::NoSelection</enum> 133 </property> 134 </widget> 135 </item> 136 <item> 137 <layout class="QHBoxLayout"> 138 <item> 139 <spacer> 140 <property name="orientation"> 141 <enum>Qt::Horizontal</enum> 142 </property> 143 <property name="sizeHint" stdset="0"> 144 <size> 145 <width>40</width> 146 <height>20</height> 147 </size> 148 </property> 149 </spacer> 150 </item> 151 <item> 152 <widget class="QPushButton" name="buttonRandom"> 153 <property name="cursor"> 154 <cursorShape>PointingHandCursor</cursorShape> 155 </property> 156 <property name="statusTip"> 157 <string>Fill table with random numbers</string> 158 </property> 159 <property name="text"> 160 <string>Random</string> 161 </property> 162 <property name="icon"> 163 <iconset resource="../resources/tspsg.qrc"> 164 <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset> 165 </property> 166 </widget> 167 </item> 168 <item> 169 <widget class="QPushButton" name="buttonSolve"> 170 <property name="cursor"> 171 <cursorShape>PointingHandCursor</cursorShape> 172 </property> 173 <property name="statusTip"> 174 <string>Solve current task</string> 175 </property> 176 <property name="text"> 177 <string>Solve</string> 178 </property> 179 <property name="icon"> 180 <iconset resource="../resources/tspsg.qrc"> 181 <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset> 182 </property> 183 </widget> 217 184 </item> 218 185 </layout> 219 </widget> 220 </widget> 221 </item> 222 </layout> 186 </item> 187 </layout> 188 </widget> 189 <widget class="QWidget" name="tabSolution"> 190 <attribute name="title"> 191 <string>Solution</string> 192 </attribute> 193 <layout class="QVBoxLayout" name="verticalLayout"> 194 <item> 195 <widget class="QTextEdit" name="solutionText"> 196 <property name="enabled"> 197 <bool>false</bool> 198 </property> 199 <property name="statusTip"> 200 <string>Solution steps</string> 201 </property> 202 <property name="readOnly"> 203 <bool>true</bool> 204 </property> 205 <property name="textInteractionFlags"> 206 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 207 </property> 208 </widget> 209 </item> 210 </layout> 211 </widget> 212 </widget> 223 213 </widget> 224 214 <widget class="QMenuBar" name="menubar"> … … 227 217 <x>0</x> 228 218 <y>0</y> 229 <width> 640</width>230 <height>2 4</height>219 <width>491</width> 220 <height>22</height> 231 221 </rect> 232 222 </property> … … 248 238 <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset> 249 239 </property> 250 <addaction name="actionFileSaveTask"/> 251 <addaction name="separator"/> 252 <addaction name="actionFileSaveSolutionAll"/> 253 <addaction name="actionFileSaveSolutionMatrices"/> 254 <addaction name="actionFileSaveSolutionGraph"/> 240 <addaction name="actionFileSaveAsTask"/> 241 <addaction name="actionFileSaveAsSolution"/> 255 242 </widget> 256 243 <addaction name="actionFileNew"/> … … 276 263 </property> 277 264 <property name="title"> 278 <string extracomment="Please, append " / Language" when translating this string.">&Language</string>265 <string comment="Please, append " / Language" when translating this string.">&Language</string> 279 266 </property> 280 267 <property name="icon"> … … 325 312 </widget> 326 313 <action name="actionFilePrintSetup"> 314 <property name="enabled"> 315 <bool>false</bool> 316 </property> 327 317 <property name="icon"> 328 318 <iconset resource="../resources/tspsg.qrc"> … … 382 372 </property> 383 373 </action> 384 <action name="actionFileSave SolutionAll">385 <property name="enabled"> 386 <bool>false</bool> 387 </property> 388 <property name="text"> 389 <string>&Solution </string>374 <action name="actionFileSaveAsSolution"> 375 <property name="enabled"> 376 <bool>false</bool> 377 </property> 378 <property name="text"> 379 <string>&Solution...</string> 390 380 </property> 391 381 <property name="toolTip"> … … 510 500 </property> 511 501 </action> 512 <action name="actionFileSaveTask"> 513 <property name="icon"> 514 <iconset resource="../resources/tspsg.qrc"> 515 <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset> 516 </property> 502 <action name="actionFileSaveAsTask"> 517 503 <property name="text"> 518 504 <string>&Task...</string> … … 583 569 <property name="icon"> 584 570 <iconset resource="../resources/tspsg.qrc"> 585 <normaloff>:/images/ qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset>571 <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset> 586 572 </property> 587 573 <property name="text">
Note: See TracChangeset
for help on using the changeset viewer.