Changeset 42 in tspsg-svn
- Timestamp:
- Jul 31, 2009, 8:23:07 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 24 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r39 r42 1 TSPSG -TSP Solver and Generator1 TSPSG: TSP Solver and Generator 2 2 Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 3 3 -
trunk/i18n/en.ts
r39 r42 16 16 </message> 17 17 <message> 18 <location filename="../src/tspmodel.cpp" line="1 56"/>18 <location filename="../src/tspmodel.cpp" line="147"/> 19 19 <source>Unexpected end of file.</source> 20 20 <translation type="unfinished"></translation> 21 21 </message> 22 22 <message> 23 <location filename="../src/tspmodel.cpp" line="1 58"/>23 <location filename="../src/tspmodel.cpp" line="149"/> 24 24 <source>Corrupt data read. File possibly corrupted.</source> 25 25 <translation type="unfinished"></translation> 26 26 </message> 27 27 <message> 28 <location filename="../src/tspmodel.cpp" line="151"/> 29 <source>Unknown error.</source> 30 <translation type="unfinished"></translation> 31 </message> 32 <message> 33 <location filename="../src/tspmodel.cpp" line="152"/> 28 34 <location filename="../src/tspmodel.cpp" line="160"/> 29 <source>Unknown error.</source> 30 <translation type="unfinished"></translation> 31 </message> 32 <message> 33 <location filename="../src/tspmodel.cpp" line="161"/> 34 <location filename="../src/tspmodel.cpp" line="169"/> 35 <location filename="../src/tspmodel.cpp" line="184"/> 36 <location filename="../src/tspmodel.cpp" line="200"/> 37 <location filename="../src/tspmodel.cpp" line="213"/> 35 <location filename="../src/tspmodel.cpp" line="175"/> 36 <location filename="../src/tspmodel.cpp" line="191"/> 37 <location filename="../src/tspmodel.cpp" line="204"/> 38 <location filename="../src/tspmodel.cpp" line="234"/> 38 39 <location filename="../src/tspmodel.cpp" line="243"/> 39 <location filename="../src/tspmodel.cpp" line="252"/>40 40 <source>Task Load</source> 41 41 <translation type="unfinished"></translation> 42 42 </message> 43 43 <message> 44 <location filename="../src/tspmodel.cpp" line="161"/> 45 <location filename="../src/tspmodel.cpp" line="184"/> 46 <location filename="../src/tspmodel.cpp" line="200"/> 47 <location filename="../src/tspmodel.cpp" line="213"/> 44 <location filename="../src/tspmodel.cpp" line="152"/> 45 <location filename="../src/tspmodel.cpp" line="175"/> 46 <location filename="../src/tspmodel.cpp" line="191"/> 47 <location filename="../src/tspmodel.cpp" line="204"/> 48 <location filename="../src/tspmodel.cpp" line="234"/> 48 49 <location filename="../src/tspmodel.cpp" line="243"/> 49 <location filename="../src/tspmodel.cpp" line="252"/>50 50 <source>Unable to load task:</source> 51 51 <translation type="unfinished"></translation> 52 52 </message> 53 53 <message> 54 <location filename="../src/tspmodel.cpp" line="16 9"/>54 <location filename="../src/tspmodel.cpp" line="160"/> 55 55 <source>Unable to open task file. 56 56 Error: %1</source> … … 58 58 </message> 59 59 <message> 60 <location filename="../src/tspmodel.cpp" line="1 84"/>60 <location filename="../src/tspmodel.cpp" line="175"/> 61 61 <source>Unknown file format or file is corrupted.</source> 62 62 <translation type="unfinished"></translation> 63 63 </message> 64 64 <message> 65 <location filename="../src/tspmodel.cpp" line=" 200"/>66 <location filename="../src/tspmodel.cpp" line="2 43"/>65 <location filename="../src/tspmodel.cpp" line="191"/> 66 <location filename="../src/tspmodel.cpp" line="234"/> 67 67 <source>File version is newer than application supports. 68 68 Please, try to update application.</source> … … 70 70 </message> 71 71 <message> 72 <location filename="../src/tspmodel.cpp" line="2 13"/>73 <location filename="../src/tspmodel.cpp" line="2 52"/>72 <location filename="../src/tspmodel.cpp" line="204"/> 73 <location filename="../src/tspmodel.cpp" line="243"/> 74 74 <source>Unexpected data read. 75 75 File is possibly corrupted.</source> … … 77 77 </message> 78 78 <message> 79 <location filename="../src/tspmodel.cpp" line="2 82"/>80 <location filename="../src/tspmodel.cpp" line="2 88"/>81 <location filename="../src/tspmodel.cpp" line="2 95"/>82 <location filename="../src/tspmodel.cpp" line=" 302"/>83 <location filename="../src/tspmodel.cpp" line="30 9"/>84 <location filename="../src/tspmodel.cpp" line="3 16"/>85 <location filename="../src/tspmodel.cpp" line="3 23"/>86 <location filename="../src/tspmodel.cpp" line="3 33"/>79 <location filename="../src/tspmodel.cpp" line="273"/> 80 <location filename="../src/tspmodel.cpp" line="279"/> 81 <location filename="../src/tspmodel.cpp" line="286"/> 82 <location filename="../src/tspmodel.cpp" line="293"/> 83 <location filename="../src/tspmodel.cpp" line="300"/> 84 <location filename="../src/tspmodel.cpp" line="307"/> 85 <location filename="../src/tspmodel.cpp" line="314"/> 86 <location filename="../src/tspmodel.cpp" line="324"/> 87 87 <source>Task Save</source> 88 88 <translation type="unfinished"></translation> 89 89 </message> 90 90 <message> 91 <location filename="../src/tspmodel.cpp" line="2 82"/>91 <location filename="../src/tspmodel.cpp" line="273"/> 92 92 <source>Unable to create task file. 93 93 Error: %1 … … 96 96 </message> 97 97 <message> 98 <location filename="../src/tspmodel.cpp" line="2 88"/>99 <location filename="../src/tspmodel.cpp" line="2 95"/>100 <location filename="../src/tspmodel.cpp" line=" 302"/>101 <location filename="../src/tspmodel.cpp" line="30 9"/>102 <location filename="../src/tspmodel.cpp" line="3 16"/>103 <location filename="../src/tspmodel.cpp" line="3 23"/>104 <location filename="../src/tspmodel.cpp" line="3 33"/>98 <location filename="../src/tspmodel.cpp" line="279"/> 99 <location filename="../src/tspmodel.cpp" line="286"/> 100 <location filename="../src/tspmodel.cpp" line="293"/> 101 <location filename="../src/tspmodel.cpp" line="300"/> 102 <location filename="../src/tspmodel.cpp" line="307"/> 103 <location filename="../src/tspmodel.cpp" line="314"/> 104 <location filename="../src/tspmodel.cpp" line="324"/> 105 105 <source>Unable to save task. 106 106 Error: %1</source> 107 <translation type="unfinished"></translation> 108 </message> 109 </context> 110 <context> 111 <name>CTSPSolver</name> 112 <message> 113 <location filename="../src/tspsolver.cpp" line="137"/> 114 <source>%v of %m parts found</source> 115 <translation type="unfinished"></translation> 116 </message> 117 <message> 118 <location filename="../src/tspsolver.cpp" line="141"/> 119 <source>Calculating optimal route...</source> 120 <translation type="unfinished"></translation> 121 </message> 122 <message> 123 <location filename="../src/tspsolver.cpp" line="142"/> 124 <source>Solution Progress</source> 125 <translation type="unfinished"></translation> 126 </message> 127 <message> 128 <location filename="../src/tspsolver.cpp" line="210"/> 129 <source>Solution Result</source> 130 <translation type="unfinished"></translation> 131 </message> 132 <message> 133 <location filename="../src/tspsolver.cpp" line="210"/> 134 <source>This task has no solution.</source> 107 135 <translation type="unfinished"></translation> 108 136 </message> … … 111 139 <name>MainWindow</name> 112 140 <message> 113 <location filename="../src/mainwindow.cpp" line="1 34"/>114 <location filename="../src/mainwindow.cpp" line=" 323"/>115 <location filename="../src/mainwindow.cpp" line=" 332"/>141 <location filename="../src/mainwindow.cpp" line="141"/> 142 <location filename="../src/mainwindow.cpp" line="439"/> 143 <location filename="../src/mainwindow.cpp" line="448"/> 116 144 <source>Language change</source> 117 145 <translation type="unfinished"></translation> 118 146 </message> 119 147 <message> 120 <location filename="../src/mainwindow.cpp" line="1 34"/>148 <location filename="../src/mainwindow.cpp" line="141"/> 121 149 <source>Unable to load translation language.</source> 122 150 <translation type="unfinished"></translation> 123 151 </message> 124 152 <message> 125 <location filename="../src/mainwindow.cpp" line="1 62"/>153 <location filename="../src/mainwindow.cpp" line="181"/> 126 154 <source>New Task</source> 127 155 <translation type="unfinished"></translation> 128 156 </message> 129 157 <message> 130 <location filename="../src/mainwindow.cpp" line="1 62"/>131 <location filename="../src/mainwindow.cpp" line="1 73"/>132 <location filename="../src/mainwindow.cpp" line=" 346"/>158 <location filename="../src/mainwindow.cpp" line="181"/> 159 <location filename="../src/mainwindow.cpp" line="195"/> 160 <location filename="../src/mainwindow.cpp" line="462"/> 133 161 <source>Would you like to save changes in current task?</source> 134 162 <translation type="unfinished"></translation> 135 163 </message> 136 164 <message> 137 <location filename="../src/mainwindow.cpp" line="1 73"/>165 <location filename="../src/mainwindow.cpp" line="195"/> 138 166 <source>Task Open</source> 139 167 <translation type="unfinished"></translation> 140 168 </message> 141 169 <message> 142 <location filename="../src/mainwindow.cpp" line=" 180"/>170 <location filename="../src/mainwindow.cpp" line="202"/> 143 171 <source>All Supported Formats</source> 144 172 <translation type="unfinished"></translation> 145 173 </message> 146 174 <message> 147 <location filename="../src/mainwindow.cpp" line=" 181"/>148 <location filename="../src/mainwindow.cpp" line=" 182"/>175 <location filename="../src/mainwindow.cpp" line="203"/> 176 <location filename="../src/mainwindow.cpp" line="204"/> 149 177 <source>%1 Task Files</source> 150 178 <translation type="unfinished"></translation> 151 179 </message> 152 180 <message> 153 <location filename="../src/mainwindow.cpp" line="183"/> 154 <location filename="../src/mainwindow.cpp" line="203"/> 181 <location filename="../src/mainwindow.cpp" line="205"/> 182 <location filename="../src/mainwindow.cpp" line="232"/> 183 <location filename="../src/mainwindow.cpp" line="251"/> 155 184 <source>All Files</source> 156 185 <translation type="unfinished"></translation> 157 186 </message> 158 187 <message> 159 <location filename="../src/mainwindow.cpp" line="202"/> 188 <location filename="../src/mainwindow.cpp" line="230"/> 189 <source>HTML Files</source> 190 <translation type="unfinished"></translation> 191 </message> 192 <message> 193 <location filename="../src/mainwindow.cpp" line="231"/> 194 <source>OpenDocument Files</source> 195 <translation type="unfinished"></translation> 196 </message> 197 <message> 198 <location filename="../src/mainwindow.cpp" line="250"/> 160 199 <source>%1 Task File</source> 161 200 <translation type="unfinished"></translation> 162 201 </message> 163 202 <message> 164 <location filename="../src/mainwindow.cpp" line="259"/> 203 <location filename="../src/mainwindow.cpp" line="273"/> 204 <source>Settings Changed</source> 205 <translation type="unfinished"></translation> 206 </message> 207 <message> 208 <location filename="../src/mainwindow.cpp" line="273"/> 209 <source>You have changed color settings. 210 Do you wish to apply them to current solution text?</source> 211 <translation type="unfinished"></translation> 212 </message> 213 <message> 214 <location filename="../src/mainwindow.cpp" line="337"/> 165 215 <source>Data error</source> 166 216 <translation type="unfinished"></translation> 167 217 </message> 168 218 <message> 169 <location filename="../src/mainwindow.cpp" line=" 259"/>219 <location filename="../src/mainwindow.cpp" line="337"/> 170 220 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 171 221 <translation type="unfinished"></translation> 172 222 </message> 173 223 <message> 174 <location filename="../src/mainwindow.cpp" line="268"/> 175 <source>Solution error</source> 176 <translation type="unfinished"></translation> 177 </message> 178 <message> 179 <location filename="../src/mainwindow.cpp" line="268"/> 180 <source>There was an error while solving the task.</source> 181 <translation type="unfinished"></translation> 182 </message> 183 <message> 184 <location filename="../src/mainwindow.cpp" line="323"/> 224 <location filename="../src/mainwindow.cpp" line="350"/> 225 <source>Variant #%1</source> 226 <translation type="unfinished"></translation> 227 </message> 228 <message> 229 <location filename="../src/mainwindow.cpp" line="351"/> 230 <source>Task:</source> 231 <translation type="unfinished"></translation> 232 </message> 233 <message> 234 <location filename="../src/mainwindow.cpp" line="354"/> 235 <location filename="../src/mainwindow.cpp" line="380"/> 236 <source>Solution of Variant #%1 task</source> 237 <translation type="unfinished"></translation> 238 </message> 239 <message> 240 <location filename="../src/mainwindow.cpp" line="361"/> 241 <source>Step #%1</source> 242 <translation type="unfinished"></translation> 243 </message> 244 <message> 245 <location filename="../src/mainwindow.cpp" line="364"/> 246 <source>This step has alternate candidates for branching.</source> 247 <translation type="unfinished"></translation> 248 </message> 249 <message> 250 <location filename="../src/mainwindow.cpp" line="376"/> 251 <source>Optimal path:</source> 252 <translation type="unfinished"></translation> 253 </message> 254 <message> 255 <location filename="../src/mainwindow.cpp" line="378"/> 256 <source>The price is <b>%1</b> units.</source> 257 <translation type="unfinished"></translation> 258 </message> 259 <message> 260 <location filename="../src/mainwindow.cpp" line="439"/> 185 261 <source>Language will be autodetected on next application start.</source> 186 262 <translation type="unfinished"></translation> 187 263 </message> 188 264 <message> 189 <location filename="../src/mainwindow.cpp" line=" 332"/>265 <location filename="../src/mainwindow.cpp" line="448"/> 190 266 <source>You have language autodetection turned on. 191 267 It needs to be off. … … 194 270 </message> 195 271 <message> 196 <location filename="../src/mainwindow.cpp" line=" 346"/>272 <location filename="../src/mainwindow.cpp" line="462"/> 197 273 <source>Application Close</source> 198 274 <translation type="unfinished"></translation> 199 275 </message> 200 276 <message> 201 <location filename="../ui/mainwindow.ce.ui" line="5 6"/>202 <location filename="../ui/mainwindow.ui" line=" 35"/>277 <location filename="../ui/mainwindow.ce.ui" line="53"/> 278 <location filename="../ui/mainwindow.ui" line="41"/> 203 279 <source>Task</source> 204 280 <translation type="unfinished"></translation> 205 281 </message> 206 282 <message> 207 <location filename="../ui/mainwindow.ce.ui" line="7 7"/>208 <location filename="../ui/mainwindow.ui" line=" 56"/>283 <location filename="../ui/mainwindow.ce.ui" line="74"/> 284 <location filename="../ui/mainwindow.ui" line="62"/> 209 285 <source>&Variant:</source> 210 286 <translation type="unfinished"></translation> 211 287 </message> 212 288 <message> 213 <location filename="../ui/mainwindow.ce.ui" line=" 90"/>214 <location filename="../ui/mainwindow.ui" line=" 69"/>289 <location filename="../ui/mainwindow.ce.ui" line="87"/> 290 <location filename="../ui/mainwindow.ui" line="75"/> 215 291 <source>Number of variant</source> 216 292 <translation type="unfinished"></translation> 217 293 </message> 218 294 <message> 219 <location filename="../ui/mainwindow.ce.ui" line=" 100"/>220 <location filename="../ui/mainwindow.ui" line=" 79"/>295 <location filename="../ui/mainwindow.ce.ui" line="97"/> 296 <location filename="../ui/mainwindow.ui" line="85"/> 221 297 <source>&Cities:</source> 222 298 <translation type="unfinished"></translation> 223 299 </message> 224 300 <message> 225 <location filename="../ui/mainwindow.ce.ui" line="11 3"/>226 <location filename="../ui/mainwindow.ui" line="9 2"/>301 <location filename="../ui/mainwindow.ce.ui" line="110"/> 302 <location filename="../ui/mainwindow.ui" line="98"/> 227 303 <source>Number of cities</source> 228 304 <translation type="unfinished"></translation> 229 305 </message> 230 306 <message> 231 <location filename="../ui/mainwindow.ce.ui" line="14 4"/>232 <location filename="../ui/mainwindow.ui" line="12 3"/>307 <location filename="../ui/mainwindow.ce.ui" line="141"/> 308 <location filename="../ui/mainwindow.ui" line="129"/> 233 309 <source>Cost of travel from city to city</source> 234 310 <translation type="unfinished"></translation> 235 311 </message> 236 312 <message> 313 <location filename="../ui/mainwindow.ce.ui" line="169"/> 314 <location filename="../ui/mainwindow.ui" line="157"/> 315 <source>Fill table with random numbers</source> 316 <translation type="unfinished"></translation> 317 </message> 318 <message> 237 319 <location filename="../ui/mainwindow.ce.ui" line="172"/> 238 <location filename="../ui/mainwindow.ui" line="151"/> 239 <source>Fill table with random numbers</source> 240 <translation type="unfinished"></translation> 241 </message> 242 <message> 243 <location filename="../ui/mainwindow.ce.ui" line="175"/> 244 <location filename="../ui/mainwindow.ui" line="154"/> 320 <location filename="../ui/mainwindow.ui" line="160"/> 245 321 <source>Random</source> 246 322 <translation type="unfinished"></translation> 247 323 </message> 248 324 <message> 325 <location filename="../ui/mainwindow.ce.ui" line="186"/> 326 <location filename="../ui/mainwindow.ui" line="174"/> 327 <source>Solve current task</source> 328 <translation type="unfinished"></translation> 329 </message> 330 <message> 249 331 <location filename="../ui/mainwindow.ce.ui" line="189"/> 250 <location filename="../ui/mainwindow.ui" line="168"/> 251 <source>Solve current task</source> 252 <translation type="unfinished"></translation> 253 </message> 254 <message> 255 <location filename="../ui/mainwindow.ce.ui" line="192"/> 256 <location filename="../ui/mainwindow.ui" line="171"/> 332 <location filename="../ui/mainwindow.ui" line="177"/> 257 333 <source>Solve</source> 258 334 <translation type="unfinished"></translation> 259 335 </message> 260 336 <message> 261 <location filename="../ui/mainwindow.ce.ui" line="20 6"/>262 <location filename="../ui/mainwindow.ui" line="1 85"/>337 <location filename="../ui/mainwindow.ce.ui" line="203"/> 338 <location filename="../ui/mainwindow.ui" line="191"/> 263 339 <source>Solution</source> 264 340 <translation type="unfinished"></translation> 265 341 </message> 266 342 <message> 267 <location filename="../ui/mainwindow.ce.ui" line="2 23"/>268 <location filename="../ui/mainwindow.ui" line="20 2"/>343 <location filename="../ui/mainwindow.ce.ui" line="212"/> 344 <location filename="../ui/mainwindow.ui" line="200"/> 269 345 <source>Solution steps</source> 270 346 <translation type="unfinished"></translation> 271 347 </message> 272 348 <message> 273 <location filename="../ui/mainwindow.ce.ui" line="233"/> 274 <location filename="../ui/mainwindow.ui" line="212"/> 275 <source>Solution graph</source> 276 <translation type="unfinished"></translation> 277 </message> 278 <message> 279 <location filename="../ui/mainwindow.ce.ui" line="259"/> 280 <location filename="../ui/mainwindow.ui" line="240"/> 349 <location filename="../ui/mainwindow.ce.ui" line="242"/> 350 <location filename="../ui/mainwindow.ui" line="230"/> 281 351 <source>&File</source> 282 352 <translation type="unfinished"></translation> 283 353 </message> 284 354 <message> 285 <location filename="../ui/mainwindow.ce.ui" line="2 66"/>286 <location filename="../ui/mainwindow.ui" line="2 44"/>355 <location filename="../ui/mainwindow.ce.ui" line="249"/> 356 <location filename="../ui/mainwindow.ui" line="234"/> 287 357 <source>Save &As...</source> 288 358 <translation type="unfinished"></translation> 289 359 </message> 290 360 <message> 291 <location filename="../ui/mainwindow.ce.ui" line="348"/> 292 <location filename="../ui/mainwindow.ui" line="361"/> 361 <location filename="../ui/mainwindow.ce.ui" line="277"/> 362 <location filename="../ui/mainwindow.ui" line="265"/> 363 <source>&Language</source> 364 <comment>Please, append " / Language" when translating this string.</comment> 365 <translation type="unfinished"></translation> 366 </message> 367 <message> 368 <location filename="../ui/mainwindow.ce.ui" line="328"/> 369 <location filename="../ui/mainwindow.ui" line="351"/> 293 370 <source>Solution S&teps</source> 294 371 <translation type="unfinished"></translation> 295 372 </message> 296 373 <message> 297 <location filename="../ui/mainwindow.ce.ui" line="3 62"/>298 <location filename="../ui/mainwindow.ui" line="3 75"/>374 <location filename="../ui/mainwindow.ce.ui" line="342"/> 375 <location filename="../ui/mainwindow.ui" line="365"/> 299 376 <source>Solution &Graph</source> 300 377 <translation type="unfinished"></translation> 301 378 </message> 302 379 <message> 303 <location filename="../ui/mainwindow.ce.ui" line="466"/> 304 <location filename="../ui/mainwindow.ui" line="479"/> 380 <location filename="../ui/mainwindow.ce.ui" line="359"/> 381 <source>Solution...</source> 382 <translation type="unfinished"></translation> 383 </message> 384 <message> 385 <location filename="../ui/mainwindow.ce.ui" line="449"/> 386 <location filename="../ui/mainwindow.ui" line="469"/> 305 387 <source>Context &Help</source> 306 388 <translation type="unfinished"></translation> 307 389 </message> 308 390 <message> 309 <location filename="../ui/mainwindow.ce.ui" line="5 57"/>310 <location filename="../ui/mainwindow.ui" line="5 70"/>391 <location filename="../ui/mainwindow.ce.ui" line="540"/> 392 <location filename="../ui/mainwindow.ui" line="556"/> 311 393 <source>&Save</source> 312 394 <translation type="unfinished"></translation> 313 395 </message> 314 396 <message> 315 <location filename="../ui/mainwindow.ce.ui" line="2 87"/>316 <location filename="../ui/mainwindow.ui" line="2 68"/>397 <location filename="../ui/mainwindow.ce.ui" line="267"/> 398 <location filename="../ui/mainwindow.ui" line="255"/> 317 399 <source>&Settings</source> 318 400 <translation type="unfinished"></translation> … … 325 407 </message> 326 408 <message> 327 <location filename="../ui/mainwindow.ce.ui" line="297"/> 328 <location filename="../ui/mainwindow.ui" line="278"/> 329 <source>&Language</source> 330 <extracomment>Please, append " / Language" when translating this string. 331 ---------- 332 Please, append " / Language" when translating this string.</extracomment> 333 <translation type="unfinished"></translation> 334 </message> 335 <message> 336 <location filename="../ui/mainwindow.ce.ui" line="313"/> 337 <location filename="../ui/mainwindow.ui" line="294"/> 409 <location filename="../ui/mainwindow.ce.ui" line="293"/> 410 <location filename="../ui/mainwindow.ui" line="281"/> 338 411 <source>&Help</source> 339 412 <translation type="unfinished"></translation> 340 413 </message> 341 414 <message> 342 <location filename="../ui/mainwindow.ce.ui" line="3 51"/>343 <location filename="../ui/mainwindow.ui" line="3 64"/>415 <location filename="../ui/mainwindow.ce.ui" line="331"/> 416 <location filename="../ui/mainwindow.ui" line="354"/> 344 417 <source>Save solution steps</source> 345 418 <translation type="unfinished"></translation> 346 419 </message> 347 420 <message> 348 <location filename="../ui/mainwindow.ce.ui" line="3 54"/>349 <location filename="../ui/mainwindow.ui" line="3 67"/>421 <location filename="../ui/mainwindow.ce.ui" line="334"/> 422 <location filename="../ui/mainwindow.ui" line="357"/> 350 423 <source>Save solution steps only</source> 351 424 <translation type="unfinished"></translation> 352 425 </message> 353 426 <message> 427 <location filename="../ui/mainwindow.ce.ui" line="345"/> 428 <location filename="../ui/mainwindow.ui" line="368"/> 429 <source>Save solution graph</source> 430 <translation type="unfinished"></translation> 431 </message> 432 <message> 433 <location filename="../ui/mainwindow.ce.ui" line="348"/> 434 <location filename="../ui/mainwindow.ui" line="371"/> 435 <source>Save solution graph only</source> 436 <translation type="unfinished"></translation> 437 </message> 438 <message> 439 <location filename="../ui/mainwindow.ce.ui" line="362"/> 440 <location filename="../ui/mainwindow.ui" line="382"/> 441 <source>Save solution</source> 442 <translation type="unfinished"></translation> 443 </message> 444 <message> 354 445 <location filename="../ui/mainwindow.ce.ui" line="365"/> 355 <location filename="../ui/mainwindow.ui" line="378"/> 356 <source>Save solution graph</source> 357 <translation type="unfinished"></translation> 358 </message> 359 <message> 360 <location filename="../ui/mainwindow.ce.ui" line="368"/> 361 <location filename="../ui/mainwindow.ui" line="381"/> 362 <source>Save solution graph only</source> 363 <translation type="unfinished"></translation> 364 </message> 365 <message> 366 <location filename="../ui/mainwindow.ce.ui" line="376"/> 367 <location filename="../ui/mainwindow.ui" line="389"/> 368 <source>&Solution</source> 369 <translation type="unfinished"></translation> 370 </message> 371 <message> 372 <location filename="../ui/mainwindow.ce.ui" line="379"/> 373 <location filename="../ui/mainwindow.ui" line="392"/> 374 <source>Save solution</source> 375 <translation type="unfinished"></translation> 376 </message> 377 <message> 378 <location filename="../ui/mainwindow.ce.ui" line="382"/> 379 <location filename="../ui/mainwindow.ui" line="395"/> 446 <location filename="../ui/mainwindow.ui" line="385"/> 380 447 <source>Save solution steps and graph</source> 381 448 <translation type="unfinished"></translation> 382 449 </message> 383 450 <message> 384 <location filename="../ui/mainwindow.ce.ui" line="3 91"/>385 <location filename="../ui/mainwindow.ui" line=" 404"/>451 <location filename="../ui/mainwindow.ce.ui" line="374"/> 452 <location filename="../ui/mainwindow.ui" line="394"/> 386 453 <source>&New</source> 387 454 <translation type="unfinished"></translation> 388 455 </message> 389 456 <message> 390 <location filename="../ui/mainwindow.ce.ui" line="3 94"/>391 <location filename="../ui/mainwindow.ui" line=" 407"/>457 <location filename="../ui/mainwindow.ce.ui" line="377"/> 458 <location filename="../ui/mainwindow.ui" line="397"/> 392 459 <source>New</source> 393 460 <translation type="unfinished"></translation> 394 461 </message> 395 462 <message> 396 <location filename="../ui/mainwindow.ce.ui" line="3 97"/>397 <location filename="../ui/mainwindow.ui" line="4 10"/>463 <location filename="../ui/mainwindow.ce.ui" line="380"/> 464 <location filename="../ui/mainwindow.ui" line="400"/> 398 465 <source>New task</source> 399 466 <translation type="unfinished"></translation> 400 467 </message> 401 468 <message> 402 <location filename="../ui/mainwindow.ce.ui" line=" 400"/>403 <location filename="../ui/mainwindow.ui" line="4 13"/>469 <location filename="../ui/mainwindow.ce.ui" line="383"/> 470 <location filename="../ui/mainwindow.ui" line="403"/> 404 471 <source>Create new task</source> 405 472 <translation type="unfinished"></translation> 406 473 </message> 407 474 <message> 408 <location filename="../ui/mainwindow.ce.ui" line=" 403"/>409 <location filename="../ui/mainwindow.ui" line="4 16"/>475 <location filename="../ui/mainwindow.ce.ui" line="386"/> 476 <location filename="../ui/mainwindow.ui" line="406"/> 410 477 <source>Ctrl+N</source> 411 478 <translation type="unfinished"></translation> 412 479 </message> 413 480 <message> 414 <location filename="../ui/mainwindow.ce.ui" line=" 412"/>415 <location filename="../ui/mainwindow.ui" line="4 25"/>481 <location filename="../ui/mainwindow.ce.ui" line="395"/> 482 <location filename="../ui/mainwindow.ui" line="415"/> 416 483 <source>&Open...</source> 417 484 <translation type="unfinished"></translation> 418 485 </message> 419 486 <message> 420 <location filename="../ui/mainwindow.ce.ui" line=" 415"/>421 <location filename="../ui/mainwindow.ui" line="4 28"/>487 <location filename="../ui/mainwindow.ce.ui" line="398"/> 488 <location filename="../ui/mainwindow.ui" line="418"/> 422 489 <source>Open...</source> 423 490 <translation type="unfinished"></translation> 424 491 </message> 425 492 <message> 426 <location filename="../ui/mainwindow.ce.ui" line="4 18"/>427 <location filename="../ui/mainwindow.ui" line="4 31"/>493 <location filename="../ui/mainwindow.ce.ui" line="401"/> 494 <location filename="../ui/mainwindow.ui" line="421"/> 428 495 <source>Open task</source> 429 496 <translation type="unfinished"></translation> 430 497 </message> 431 498 <message> 432 <location filename="../ui/mainwindow.ce.ui" line="4 21"/>433 <location filename="../ui/mainwindow.ui" line="4 34"/>499 <location filename="../ui/mainwindow.ce.ui" line="404"/> 500 <location filename="../ui/mainwindow.ui" line="424"/> 434 501 <source>Open saved task</source> 435 502 <translation type="unfinished"></translation> 436 503 </message> 437 504 <message> 438 <location filename="../ui/mainwindow.ce.ui" line="4 24"/>439 <location filename="../ui/mainwindow.ui" line="4 37"/>505 <location filename="../ui/mainwindow.ce.ui" line="407"/> 506 <location filename="../ui/mainwindow.ui" line="427"/> 440 507 <source>Ctrl+O</source> 441 508 <translation type="unfinished"></translation> 442 509 </message> 443 510 <message> 444 <location filename="../ui/mainwindow.ce.ui" line="4 33"/>445 <location filename="../ui/mainwindow.ui" line="4 46"/>511 <location filename="../ui/mainwindow.ce.ui" line="416"/> 512 <location filename="../ui/mainwindow.ui" line="436"/> 446 513 <source>&Preferences...</source> 447 514 <translation type="unfinished"></translation> 448 515 </message> 449 516 <message> 450 <location filename="../ui/mainwindow.ce.ui" line="4 36"/>451 <location filename="../ui/mainwindow.ui" line="4 49"/>517 <location filename="../ui/mainwindow.ce.ui" line="419"/> 518 <location filename="../ui/mainwindow.ui" line="439"/> 452 519 <source>Preferences...</source> 453 520 <translation type="unfinished"></translation> 454 521 </message> 455 522 <message> 456 <location filename="../ui/mainwindow.ce.ui" line="4 39"/>457 <location filename="../ui/mainwindow.ui" line="4 52"/>523 <location filename="../ui/mainwindow.ce.ui" line="422"/> 524 <location filename="../ui/mainwindow.ui" line="442"/> 458 525 <source>Application preferences</source> 459 526 <translation type="unfinished"></translation> 460 527 </message> 461 528 <message> 462 <location filename="../ui/mainwindow.ce.ui" line="4 51"/>463 <location filename="../ui/mainwindow.ui" line="4 64"/>529 <location filename="../ui/mainwindow.ce.ui" line="434"/> 530 <location filename="../ui/mainwindow.ui" line="454"/> 464 531 <source>&Contents</source> 465 532 <translation type="unfinished"></translation> 466 533 </message> 467 534 <message> 468 <location filename="../ui/mainwindow.ce.ui" line="4 54"/>469 <location filename="../ui/mainwindow.ui" line="4 67"/>535 <location filename="../ui/mainwindow.ce.ui" line="437"/> 536 <location filename="../ui/mainwindow.ui" line="457"/> 470 537 <source>Open help contents</source> 471 538 <translation type="unfinished"></translation> 472 539 </message> 473 540 <message> 474 <location filename="../ui/mainwindow.ce.ui" line="4 69"/>475 <location filename="../ui/mainwindow.ui" line="4 82"/>541 <location filename="../ui/mainwindow.ce.ui" line="452"/> 542 <location filename="../ui/mainwindow.ui" line="472"/> 476 543 <source>Open context help</source> 477 544 <translation type="unfinished"></translation> 478 545 </message> 479 546 <message> 480 <location filename="../ui/mainwindow.ce.ui" line="4 78"/>481 <location filename="../ui/mainwindow.ui" line="4 91"/>547 <location filename="../ui/mainwindow.ce.ui" line="461"/> 548 <location filename="../ui/mainwindow.ui" line="481"/> 482 549 <source>&About...</source> 483 550 <translation type="unfinished"></translation> 484 551 </message> 485 552 <message> 486 <location filename="../ui/mainwindow.ce.ui" line="4 81"/>487 <location filename="../ui/mainwindow.ui" line="4 94"/>553 <location filename="../ui/mainwindow.ce.ui" line="464"/> 554 <location filename="../ui/mainwindow.ui" line="484"/> 488 555 <source>About...</source> 489 556 <translation type="unfinished"></translation> 490 557 </message> 491 558 <message> 492 <location filename="../ui/mainwindow.ce.ui" line="4 84"/>493 <location filename="../ui/mainwindow.ui" line="4 97"/>559 <location filename="../ui/mainwindow.ce.ui" line="467"/> 560 <location filename="../ui/mainwindow.ui" line="487"/> 494 561 <source>About application</source> 495 562 <translation type="unfinished"></translation> 496 563 </message> 497 564 <message> 498 <location filename="../ui/mainwindow.ce.ui" line="4 93"/>499 <location filename="../ui/mainwindow.ui" line=" 506"/>565 <location filename="../ui/mainwindow.ce.ui" line="476"/> 566 <location filename="../ui/mainwindow.ui" line="496"/> 500 567 <source>E&xit</source> 501 568 <translation type="unfinished"></translation> 502 569 </message> 503 570 <message> 504 <location filename="../ui/mainwindow.ce.ui" line="4 96"/>505 <location filename="../ui/mainwindow.ui" line=" 509"/>571 <location filename="../ui/mainwindow.ce.ui" line="479"/> 572 <location filename="../ui/mainwindow.ui" line="499"/> 506 573 <source>Exit application</source> 507 574 <translation type="unfinished"></translation> 508 575 </message> 509 576 <message> 510 <location filename="../ui/mainwindow.ce.ui" line=" 505"/>511 <location filename="../ui/mainwindow.ui" line="5 18"/>577 <location filename="../ui/mainwindow.ce.ui" line="488"/> 578 <location filename="../ui/mainwindow.ui" line="504"/> 512 579 <source>&Task...</source> 513 580 <translation type="unfinished"></translation> 514 581 </message> 515 582 <message> 516 <location filename="../ui/mainwindow.ce.ui" line=" 508"/>517 <location filename="../ui/mainwindow.ui" line="5 21"/>583 <location filename="../ui/mainwindow.ce.ui" line="491"/> 584 <location filename="../ui/mainwindow.ui" line="507"/> 518 585 <source>Task...</source> 519 586 <translation type="unfinished"></translation> 520 587 </message> 521 588 <message> 589 <location filename="../ui/mainwindow.ce.ui" line="494"/> 590 <location filename="../ui/mainwindow.ce.ui" line="543"/> 591 <location filename="../ui/mainwindow.ui" line="510"/> 592 <location filename="../ui/mainwindow.ui" line="562"/> 593 <source>Save task</source> 594 <translation type="unfinished"></translation> 595 </message> 596 <message> 597 <location filename="../ui/mainwindow.ce.ui" line="497"/> 598 <location filename="../ui/mainwindow.ui" line="513"/> 599 <source>Save task to file</source> 600 <translation type="unfinished"></translation> 601 </message> 602 <message> 603 <location filename="../ui/mainwindow.ce.ui" line="500"/> 604 <location filename="../ui/mainwindow.ui" line="516"/> 605 <source>Ctrl+S</source> 606 <translation type="unfinished"></translation> 607 </message> 608 <message> 522 609 <location filename="../ui/mainwindow.ce.ui" line="511"/> 523 <location filename="../ui/mainwindow.ce.ui" line="560"/> 524 <location filename="../ui/mainwindow.ui" line="524"/> 525 <location filename="../ui/mainwindow.ui" line="576"/> 526 <source>Save task</source> 610 <location filename="../ui/mainwindow.ui" line="527"/> 611 <source>&Autodetect</source> 612 <translation type="unfinished"></translation> 613 </message> 614 <message> 615 <location filename="../ui/mainwindow.ce.ui" line="528"/> 616 <source>English</source> 617 <translation type="unfinished"></translation> 618 </message> 619 <message> 620 <location filename="../ui/mainwindow.ce.ui" line="546"/> 621 <location filename="../ui/mainwindow.ui" line="565"/> 622 <source>Save current task</source> 623 <translation type="unfinished"></translation> 624 </message> 625 <message> 626 <location filename="../ui/mainwindow.ce.ui" line="555"/> 627 <location filename="../ui/mainwindow.ui" line="574"/> 628 <source>About &Qt...</source> 629 <translation type="unfinished"></translation> 630 </message> 631 <message> 632 <location filename="../ui/mainwindow.ce.ui" line="558"/> 633 <location filename="../ui/mainwindow.ui" line="577"/> 634 <source>About Qt...</source> 635 <translation type="unfinished"></translation> 636 </message> 637 <message> 638 <location filename="../ui/mainwindow.ce.ui" line="561"/> 639 <source>About Qt</source> 640 <translation type="unfinished"></translation> 641 </message> 642 <message> 643 <location filename="../ui/mainwindow.ce.ui" line="564"/> 644 <location filename="../ui/mainwindow.ui" line="580"/> 645 <source>About Qt library</source> 646 <translation type="unfinished"></translation> 647 </message> 648 <message> 649 <location filename="../ui/mainwindow.ce.ui" line="271"/> 650 <location filename="../ui/mainwindow.ui" line="259"/> 651 <source>Select language</source> 652 <translation type="unfinished"></translation> 653 </message> 654 <message> 655 <location filename="../ui/mainwindow.ce.ui" line="274"/> 656 <location filename="../ui/mainwindow.ui" line="262"/> 657 <source>Select application language</source> 658 <translation type="unfinished"></translation> 659 </message> 660 <message> 661 <location filename="../ui/mainwindow.ui" line="322"/> 662 <source>P&rint Setup...</source> 663 <translation type="unfinished"></translation> 664 </message> 665 <message> 666 <location filename="../ui/mainwindow.ui" line="325"/> 667 <source>Setup printing</source> 668 <translation type="unfinished"></translation> 669 </message> 670 <message> 671 <location filename="../ui/mainwindow.ui" line="337"/> 672 <source>&Print...</source> 673 <translation type="unfinished"></translation> 674 </message> 675 <message> 676 <location filename="../ui/mainwindow.ui" line="340"/> 677 <source>Print solution results</source> 678 <translation type="unfinished"></translation> 679 </message> 680 <message> 681 <location filename="../ui/mainwindow.ui" line="343"/> 682 <source>Ctrl+P</source> 683 <translation type="unfinished"></translation> 684 </message> 685 <message> 686 <location filename="../ui/mainwindow.ce.ui" line="356"/> 687 <location filename="../ui/mainwindow.ui" line="379"/> 688 <source>&Solution...</source> 689 <translation type="unfinished"></translation> 690 </message> 691 <message> 692 <location filename="../ui/mainwindow.ui" line="559"/> 693 <source>Save</source> 527 694 <translation type="unfinished"></translation> 528 695 </message> 529 696 <message> 530 697 <location filename="../ui/mainwindow.ce.ui" line="514"/> 531 <location filename="../ui/mainwindow.ui" line="5 27"/>532 <source> Save task to file</source>698 <location filename="../ui/mainwindow.ui" line="530"/> 699 <source>Detect language automatically</source> 533 700 <translation type="unfinished"></translation> 534 701 </message> 535 702 <message> 536 703 <location filename="../ui/mainwindow.ce.ui" line="517"/> 537 <location filename="../ui/mainwindow.ui" line="530"/> 538 <source>Ctrl+S</source> 539 <translation type="unfinished"></translation> 540 </message> 541 <message> 542 <location filename="../ui/mainwindow.ce.ui" line="528"/> 543 <location filename="../ui/mainwindow.ui" line="541"/> 544 <source>&Autodetect</source> 545 <translation type="unfinished"></translation> 546 </message> 547 <message> 548 <location filename="../ui/mainwindow.ce.ui" line="545"/> 549 <source>English</source> 550 <translation type="unfinished"></translation> 551 </message> 552 <message> 553 <location filename="../ui/mainwindow.ce.ui" line="563"/> 554 <location filename="../ui/mainwindow.ui" line="579"/> 555 <source>Save current task</source> 556 <translation type="unfinished"></translation> 557 </message> 558 <message> 559 <location filename="../ui/mainwindow.ce.ui" line="572"/> 560 <location filename="../ui/mainwindow.ui" line="588"/> 561 <source>About &Qt...</source> 562 <translation type="unfinished"></translation> 563 </message> 564 <message> 565 <location filename="../ui/mainwindow.ce.ui" line="575"/> 566 <location filename="../ui/mainwindow.ui" line="591"/> 567 <source>About Qt...</source> 568 <translation type="unfinished"></translation> 569 </message> 570 <message> 571 <location filename="../ui/mainwindow.ce.ui" line="578"/> 572 <source>About Qt</source> 573 <translation type="unfinished"></translation> 574 </message> 575 <message> 576 <location filename="../ui/mainwindow.ce.ui" line="581"/> 577 <location filename="../ui/mainwindow.ui" line="594"/> 578 <source>About Qt library</source> 579 <translation type="unfinished"></translation> 580 </message> 581 <message> 582 <location filename="../ui/mainwindow.ce.ui" line="291"/> 583 <location filename="../ui/mainwindow.ui" line="272"/> 584 <source>Select language</source> 585 <translation type="unfinished"></translation> 586 </message> 587 <message> 588 <location filename="../ui/mainwindow.ce.ui" line="294"/> 589 <location filename="../ui/mainwindow.ui" line="275"/> 590 <source>Select application language</source> 591 <translation type="unfinished"></translation> 592 </message> 593 <message> 594 <location filename="../ui/mainwindow.ui" line="332"/> 595 <source>P&rint Setup...</source> 596 <translation type="unfinished"></translation> 597 </message> 598 <message> 599 <location filename="../ui/mainwindow.ui" line="335"/> 600 <source>Setup printing</source> 601 <translation type="unfinished"></translation> 602 </message> 603 <message> 604 <location filename="../ui/mainwindow.ui" line="347"/> 605 <source>&Print...</source> 606 <translation type="unfinished"></translation> 607 </message> 608 <message> 609 <location filename="../ui/mainwindow.ui" line="350"/> 610 <source>Print solution results</source> 611 <translation type="unfinished"></translation> 612 </message> 613 <message> 614 <location filename="../ui/mainwindow.ui" line="353"/> 615 <source>Ctrl+P</source> 616 <translation type="unfinished"></translation> 617 </message> 618 <message> 619 <location filename="../ui/mainwindow.ui" line="573"/> 620 <source>Save</source> 621 <translation type="unfinished"></translation> 622 </message> 623 <message> 624 <location filename="../ui/mainwindow.ce.ui" line="531"/> 625 <location filename="../ui/mainwindow.ui" line="544"/> 626 <source>Detect language automatically</source> 627 <translation type="unfinished"></translation> 628 </message> 629 <message> 630 <location filename="../ui/mainwindow.ce.ui" line="534"/> 631 <location filename="../ui/mainwindow.ui" line="547"/> 704 <location filename="../ui/mainwindow.ui" line="533"/> 632 705 <source>Detect language automatically based on regional settings</source> 633 706 <translation type="unfinished"></translation> … … 673 746 </message> 674 747 <message> 675 <location filename="../ui/settingsdialog.ce.ui" line="202"/> 676 <location filename="../ui/settingsdialog.ui" line="288"/> 748 <location filename="../ui/settingsdialog.ce.ui" line="184"/> 749 <location filename="../ui/settingsdialog.ui" line="235"/> 750 <source>Output settings:</source> 751 <translation type="unfinished"></translation> 752 </message> 753 <message> 754 <location filename="../ui/settingsdialog.ce.ui" line="210"/> 755 <location filename="../ui/settingsdialog.ui" line="261"/> 677 756 <source>Font color for printing</source> 678 757 <translation type="unfinished"></translation> 679 758 </message> 680 759 <message> 681 <location filename="../ui/settingsdialog.ce.ui" line="2 05"/>682 <location filename="../ui/settingsdialog.ui" line="2 91"/>760 <location filename="../ui/settingsdialog.ce.ui" line="213"/> 761 <location filename="../ui/settingsdialog.ui" line="264"/> 683 762 <source>&Color...</source> 684 763 <translation type="unfinished"></translation> 685 764 </message> 686 765 <message> 687 <location filename="../ui/settingsdialog.ce.ui" line=" 219"/>688 <location filename="../ui/settingsdialog.ui" line=" 305"/>766 <location filename="../ui/settingsdialog.ce.ui" line="193"/> 767 <location filename="../ui/settingsdialog.ui" line="244"/> 689 768 <source>Font face for printing</source> 690 769 <translation type="unfinished"></translation> 691 770 </message> 692 771 <message> 693 <location filename="../ui/settingsdialog.ce.ui" line=" 222"/>694 <location filename="../ui/settingsdialog.ui" line=" 308"/>772 <location filename="../ui/settingsdialog.ce.ui" line="196"/> 773 <location filename="../ui/settingsdialog.ui" line="247"/> 695 774 <source>&Font...</source> 696 775 <translation type="unfinished"></translation> 697 776 </message> 698 777 <message> 699 <location filename="../ui/settingsdialog.ce.ui" line="2 87"/>700 <location filename="../ui/settingsdialog.ce.ui" line="2 93"/>701 <location filename="../ui/settingsdialog.ui" line="3 77"/>702 <location filename="../ui/settingsdialog.ui" line="3 83"/>778 <location filename="../ui/settingsdialog.ce.ui" line="279"/> 779 <location filename="../ui/settingsdialog.ce.ui" line="285"/> 780 <location filename="../ui/settingsdialog.ui" line="331"/> 781 <location filename="../ui/settingsdialog.ui" line="337"/> 703 782 <source>Help</source> 704 783 <translation type="unfinished"></translation> 705 784 </message> 706 785 <message> 707 <location filename="../ui/settingsdialog.ce.ui" line="2 90"/>708 <location filename="../ui/settingsdialog.ui" line="3 80"/>786 <location filename="../ui/settingsdialog.ce.ui" line="282"/> 787 <location filename="../ui/settingsdialog.ui" line="334"/> 709 788 <source>Get preferences help</source> 710 789 <translation type="unfinished"></translation> 711 790 </message> 712 791 <message> 713 <location filename="../ui/settingsdialog.ce.ui" line="3 23"/>714 <location filename="../ui/settingsdialog.ui" line=" 425"/>792 <location filename="../ui/settingsdialog.ce.ui" line="315"/> 793 <location filename="../ui/settingsdialog.ui" line="391"/> 715 794 <source>Save new preferences</source> 716 795 <translation type="unfinished"></translation> 717 796 </message> 718 797 <message> 719 <location filename="../ui/settingsdialog.ce.ui" line="3 26"/>720 <location filename="../ui/settingsdialog.ui" line=" 428"/>798 <location filename="../ui/settingsdialog.ce.ui" line="318"/> 799 <location filename="../ui/settingsdialog.ui" line="394"/> 721 800 <source>&OK</source> 722 801 <translation type="unfinished"></translation> 723 802 </message> 724 803 <message> 725 <location filename="../ui/settingsdialog.ce.ui" line="3 43"/>726 <location filename="../ui/settingsdialog.ui" line="4 45"/>804 <location filename="../ui/settingsdialog.ce.ui" line="335"/> 805 <location filename="../ui/settingsdialog.ui" line="411"/> 727 806 <source>Close without saving preferences</source> 728 807 <translation type="unfinished"></translation> 729 808 </message> 730 809 <message> 731 <location filename="../ui/settingsdialog.ce.ui" line="3 46"/>732 <location filename="../ui/settingsdialog.ui" line="4 48"/>810 <location filename="../ui/settingsdialog.ce.ui" line="338"/> 811 <location filename="../ui/settingsdialog.ui" line="414"/> 733 812 <source>&Cancel</source> 734 813 <translation type="unfinished"></translation> … … 740 819 </message> 741 820 <message> 742 <location filename="../ui/settingsdialog.ui" line="235"/> 743 <source>Print settings:</source> 744 <translation type="unfinished"></translation> 745 </message> 746 <message> 747 <location filename="../ui/settingsdialog.ui" line="249"/> 748 <source>&Left margin:</source> 749 <translation type="unfinished"></translation> 750 </message> 751 <message> 752 <location filename="../ui/settingsdialog.ui" line="262"/> 753 <source>Left border margin for page</source> 754 <translation type="unfinished"></translation> 755 </message> 756 <message> 757 <location filename="../ui/settingsdialog.ui" line="329"/> 821 <location filename="../ui/settingsdialog.ui" line="283"/> 758 822 <source>Restore main window state and position on application restart</source> 759 823 <translation type="unfinished"></translation> 760 824 </message> 761 825 <message> 762 <location filename="../ui/settingsdialog.ui" line=" 332"/>826 <location filename="../ui/settingsdialog.ui" line="286"/> 763 827 <source>Save main window state and position</source> 764 828 <translation type="unfinished"></translation> 765 829 </message> 766 830 <message> 767 <location filename="../ui/settingsdialog.ui" line=" 403"/>831 <location filename="../ui/settingsdialog.ui" line="369"/> 768 832 <source>Hover mouse pointer over dialog elements to get additional help</source> 769 833 <translation type="unfinished"></translation> -
trunk/i18n/ru.ts
r39 r42 16 16 </message> 17 17 <message> 18 <location filename="../src/tspmodel.cpp" line="1 56"/>18 <location filename="../src/tspmodel.cpp" line="147"/> 19 19 <source>Unexpected end of file.</source> 20 20 <translation>Неожиданный конец файла.</translation> 21 21 </message> 22 22 <message> 23 <location filename="../src/tspmodel.cpp" line="1 58"/>23 <location filename="../src/tspmodel.cpp" line="149"/> 24 24 <source>Corrupt data read. File possibly corrupted.</source> 25 <translation type="unfinished"></translation> 26 </message> 27 <message> 28 <location filename="../src/tspmodel.cpp" line="160"/> 25 <translation>Прочитаны испорченные данные. 26 Возможно, файл поврежден.</translation> 27 </message> 28 <message> 29 <location filename="../src/tspmodel.cpp" line="151"/> 29 30 <source>Unknown error.</source> 30 31 <translation>Неизвестная ошибка.</translation> 31 32 </message> 32 33 <message> 33 <location filename="../src/tspmodel.cpp" line="161"/> 34 <location filename="../src/tspmodel.cpp" line="169"/> 35 <location filename="../src/tspmodel.cpp" line="184"/> 36 <location filename="../src/tspmodel.cpp" line="200"/> 37 <location filename="../src/tspmodel.cpp" line="213"/> 34 <location filename="../src/tspmodel.cpp" line="152"/> 35 <location filename="../src/tspmodel.cpp" line="160"/> 36 <location filename="../src/tspmodel.cpp" line="175"/> 37 <location filename="../src/tspmodel.cpp" line="191"/> 38 <location filename="../src/tspmodel.cpp" line="204"/> 39 <location filename="../src/tspmodel.cpp" line="234"/> 38 40 <location filename="../src/tspmodel.cpp" line="243"/> 39 <location filename="../src/tspmodel.cpp" line="252"/>40 41 <source>Task Load</source> 41 <translation>Загрузка задания</translation> 42 </message> 43 <message> 44 <location filename="../src/tspmodel.cpp" line="161"/> 45 <location filename="../src/tspmodel.cpp" line="184"/> 46 <location filename="../src/tspmodel.cpp" line="200"/> 47 <location filename="../src/tspmodel.cpp" line="213"/> 42 <translation>Загрузка условия</translation> 43 </message> 44 <message> 45 <location filename="../src/tspmodel.cpp" line="152"/> 46 <location filename="../src/tspmodel.cpp" line="175"/> 47 <location filename="../src/tspmodel.cpp" line="191"/> 48 <location filename="../src/tspmodel.cpp" line="204"/> 49 <location filename="../src/tspmodel.cpp" line="234"/> 48 50 <location filename="../src/tspmodel.cpp" line="243"/> 49 <location filename="../src/tspmodel.cpp" line="252"/>50 51 <source>Unable to load task:</source> 51 <translation>Невозможно загрузить задание:</translation>52 </message> 53 <message> 54 <location filename="../src/tspmodel.cpp" line="16 9"/>52 <translation>Невозможно загрузить условие:</translation> 53 </message> 54 <message> 55 <location filename="../src/tspmodel.cpp" line="160"/> 55 56 <source>Unable to open task file. 56 57 Error: %1</source> 57 <translation>Невозможно открыть файл задания.58 <translation>Невозможно открыть файл с условием. 58 59 Ошибка: %1</translation> 59 60 </message> 60 61 <message> 61 <location filename="../src/tspmodel.cpp" line="1 84"/>62 <location filename="../src/tspmodel.cpp" line="175"/> 62 63 <source>Unknown file format or file is corrupted.</source> 63 64 <translation>Неизвестный формат файла или файл поврежден.</translation> 64 65 </message> 65 66 <message> 66 <location filename="../src/tspmodel.cpp" line=" 200"/>67 <location filename="../src/tspmodel.cpp" line="2 43"/>67 <location filename="../src/tspmodel.cpp" line="191"/> 68 <location filename="../src/tspmodel.cpp" line="234"/> 68 69 <source>File version is newer than application supports. 69 70 Please, try to update application.</source> … … 72 73 </message> 73 74 <message> 74 <location filename="../src/tspmodel.cpp" line="2 13"/>75 <location filename="../src/tspmodel.cpp" line="2 52"/>75 <location filename="../src/tspmodel.cpp" line="204"/> 76 <location filename="../src/tspmodel.cpp" line="243"/> 76 77 <source>Unexpected data read. 77 78 File is possibly corrupted.</source> 78 <translation type="unfinished"></translation> 79 </message> 80 <message> 81 <location filename="../src/tspmodel.cpp" line="282"/> 82 <location filename="../src/tspmodel.cpp" line="288"/> 83 <location filename="../src/tspmodel.cpp" line="295"/> 84 <location filename="../src/tspmodel.cpp" line="302"/> 85 <location filename="../src/tspmodel.cpp" line="309"/> 86 <location filename="../src/tspmodel.cpp" line="316"/> 87 <location filename="../src/tspmodel.cpp" line="323"/> 88 <location filename="../src/tspmodel.cpp" line="333"/> 79 <translation>Прочитано неожиданные данные. 80 Возможно, файл поврежден.</translation> 81 </message> 82 <message> 83 <location filename="../src/tspmodel.cpp" line="273"/> 84 <location filename="../src/tspmodel.cpp" line="279"/> 85 <location filename="../src/tspmodel.cpp" line="286"/> 86 <location filename="../src/tspmodel.cpp" line="293"/> 87 <location filename="../src/tspmodel.cpp" line="300"/> 88 <location filename="../src/tspmodel.cpp" line="307"/> 89 <location filename="../src/tspmodel.cpp" line="314"/> 90 <location filename="../src/tspmodel.cpp" line="324"/> 89 91 <source>Task Save</source> 90 <translation>Сохранение задачи</translation>91 </message> 92 <message> 93 <location filename="../src/tspmodel.cpp" line="2 82"/>92 <translation>Сохранение условия</translation> 93 </message> 94 <message> 95 <location filename="../src/tspmodel.cpp" line="273"/> 94 96 <source>Unable to create task file. 95 97 Error: %1 96 98 Maybe, file is read-only?</source> 97 <translation type="unfinished"></translation> 98 </message> 99 <message> 100 <location filename="../src/tspmodel.cpp" line="288"/> 101 <location filename="../src/tspmodel.cpp" line="295"/> 102 <location filename="../src/tspmodel.cpp" line="302"/> 103 <location filename="../src/tspmodel.cpp" line="309"/> 104 <location filename="../src/tspmodel.cpp" line="316"/> 105 <location filename="../src/tspmodel.cpp" line="323"/> 106 <location filename="../src/tspmodel.cpp" line="333"/> 99 <translation>Невозможно создать файл с условием. 100 Ошибка: %1 101 Возможно, файл только для чтения?</translation> 102 </message> 103 <message> 104 <location filename="../src/tspmodel.cpp" line="279"/> 105 <location filename="../src/tspmodel.cpp" line="286"/> 106 <location filename="../src/tspmodel.cpp" line="293"/> 107 <location filename="../src/tspmodel.cpp" line="300"/> 108 <location filename="../src/tspmodel.cpp" line="307"/> 109 <location filename="../src/tspmodel.cpp" line="314"/> 110 <location filename="../src/tspmodel.cpp" line="324"/> 107 111 <source>Unable to save task. 108 112 Error: %1</source> 109 <translation>Невозможно сохранить задание.113 <translation>Невозможно сохранить условие. 110 114 Ошибка: %1</translation> 115 </message> 116 </context> 117 <context> 118 <name>CTSPSolver</name> 119 <message> 120 <location filename="../src/tspsolver.cpp" line="137"/> 121 <source>%v of %m parts found</source> 122 <translation>Найдено %v з %m переходов</translation> 123 </message> 124 <message> 125 <location filename="../src/tspsolver.cpp" line="141"/> 126 <source>Calculating optimal route...</source> 127 <translation>Расчет оптимального пути...</translation> 128 </message> 129 <message> 130 <location filename="../src/tspsolver.cpp" line="142"/> 131 <source>Solution Progress</source> 132 <translation>Состояние решения</translation> 133 </message> 134 <message> 135 <location filename="../src/tspsolver.cpp" line="210"/> 136 <source>Solution Result</source> 137 <translation>Результат решения</translation> 138 </message> 139 <message> 140 <location filename="../src/tspsolver.cpp" line="210"/> 141 <source>This task has no solution.</source> 142 <translation>У данной задачи нет решения.</translation> 111 143 </message> 112 144 </context> … … 114 146 <name>MainWindow</name> 115 147 <message> 116 <location filename="../src/mainwindow.cpp" line="1 34"/>117 <location filename="../src/mainwindow.cpp" line=" 323"/>118 <location filename="../src/mainwindow.cpp" line=" 332"/>148 <location filename="../src/mainwindow.cpp" line="141"/> 149 <location filename="../src/mainwindow.cpp" line="439"/> 150 <location filename="../src/mainwindow.cpp" line="448"/> 119 151 <source>Language change</source> 120 152 <translation>Смена языка</translation> 121 153 </message> 122 154 <message> 123 <location filename="../src/mainwindow.cpp" line="1 34"/>155 <location filename="../src/mainwindow.cpp" line="141"/> 124 156 <source>Unable to load translation language.</source> 125 157 <translation>Невозможно загрузить перевод.</translation> 126 158 </message> 127 159 <message> 128 <location filename="../src/mainwindow.cpp" line=" 180"/>160 <location filename="../src/mainwindow.cpp" line="202"/> 129 161 <source>All Supported Formats</source> 130 162 <translation>Все поддерживаемые форматы</translation> 131 163 </message> 132 164 <message> 133 <location filename="../src/mainwindow.cpp" line="183"/> 134 <location filename="../src/mainwindow.cpp" line="203"/> 165 <location filename="../src/mainwindow.cpp" line="205"/> 166 <location filename="../src/mainwindow.cpp" line="232"/> 167 <location filename="../src/mainwindow.cpp" line="251"/> 135 168 <source>All Files</source> 136 169 <translation>Все файлы</translation> 137 170 </message> 138 171 <message> 172 <location filename="../src/mainwindow.cpp" line="203"/> 173 <location filename="../src/mainwindow.cpp" line="204"/> 174 <source>%1 Task Files</source> 175 <translation>Файлы условий %1</translation> 176 </message> 177 <message> 139 178 <location filename="../src/mainwindow.cpp" line="181"/> 140 <location filename="../src/mainwindow.cpp" line="182"/>141 <source>%1 Task Files</source>142 <translation>Файлы задач %1</translation>143 </message>144 <message>145 <location filename="../src/mainwindow.cpp" line="162"/>146 179 <source>New Task</source> 147 <translation> Новая задача</translation>148 </message> 149 <message> 150 <location filename="../src/mainwindow.cpp" line="1 62"/>151 <location filename="../src/mainwindow.cpp" line="1 73"/>152 <location filename="../src/mainwindow.cpp" line=" 346"/>180 <translation>Создать задачу</translation> 181 </message> 182 <message> 183 <location filename="../src/mainwindow.cpp" line="181"/> 184 <location filename="../src/mainwindow.cpp" line="195"/> 185 <location filename="../src/mainwindow.cpp" line="462"/> 153 186 <source>Would you like to save changes in current task?</source> 154 187 <translation>Желаете сохранить изменения в текущей задаче?</translation> 155 188 </message> 156 189 <message> 157 <location filename="../src/mainwindow.cpp" line="1 73"/>190 <location filename="../src/mainwindow.cpp" line="195"/> 158 191 <source>Task Open</source> 159 192 <translation>Открытие задания</translation> 160 193 </message> 161 194 <message> 162 <location filename="../src/mainwindow.cpp" line="202"/> 195 <location filename="../src/mainwindow.cpp" line="230"/> 196 <source>HTML Files</source> 197 <translation>Файлы HTML</translation> 198 </message> 199 <message> 200 <location filename="../src/mainwindow.cpp" line="231"/> 201 <source>OpenDocument Files</source> 202 <translation>Файлы OpenDocument</translation> 203 </message> 204 <message> 205 <location filename="../src/mainwindow.cpp" line="250"/> 163 206 <source>%1 Task File</source> 164 <translation>Файл задачи %1</translation> 165 </message> 166 <message> 167 <location filename="../src/mainwindow.cpp" line="259"/> 207 <translation>Файл условия %1</translation> 208 </message> 209 <message> 210 <location filename="../src/mainwindow.cpp" line="273"/> 211 <source>Settings Changed</source> 212 <translation>Параметры изменены</translation> 213 </message> 214 <message> 215 <location filename="../src/mainwindow.cpp" line="273"/> 216 <source>You have changed color settings. 217 Do you wish to apply them to current solution text?</source> 218 <translation>Вы изменили параметры цвета. 219 Желаете применить их к текущему тексту решения?</translation> 220 </message> 221 <message> 222 <location filename="../src/mainwindow.cpp" line="337"/> 168 223 <source>Data error</source> 169 224 <translation>Ошибка в данных</translation> 170 225 </message> 171 226 <message> 172 <location filename="../src/mainwindow.cpp" line=" 259"/>227 <location filename="../src/mainwindow.cpp" line="337"/> 173 228 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 174 229 <translation>Ошибка в ячейке [Строка %1; Колонка %2]: Неверный формат данных.</translation> 175 230 </message> 176 231 <message> 177 <location filename="../src/mainwindow.cpp" line="268"/> 178 <source>Solution error</source> 179 <translation>Ошибка при решении</translation> 180 </message> 181 <message> 182 <location filename="../src/mainwindow.cpp" line="268"/> 183 <source>There was an error while solving the task.</source> 184 <translation>Во время решения задачи возникла ошибка.</translation> 185 </message> 186 <message> 187 <location filename="../src/mainwindow.cpp" line="323"/> 232 <location filename="../src/mainwindow.cpp" line="350"/> 233 <source>Variant #%1</source> 234 <translation>Вариант №%1</translation> 235 </message> 236 <message> 237 <location filename="../src/mainwindow.cpp" line="351"/> 238 <source>Task:</source> 239 <translation>Условие:</translation> 240 </message> 241 <message> 242 <location filename="../src/mainwindow.cpp" line="354"/> 243 <location filename="../src/mainwindow.cpp" line="380"/> 244 <source>Solution of Variant #%1 task</source> 245 <translation>Решение варианта №%1</translation> 246 </message> 247 <message> 248 <location filename="../src/mainwindow.cpp" line="361"/> 249 <source>Step #%1</source> 250 <translation>Шаг №%1</translation> 251 </message> 252 <message> 253 <location filename="../src/mainwindow.cpp" line="364"/> 254 <source>This step has alternate candidates for branching.</source> 255 <translation>У этого шага есть альтернативные кандидаты на ветвление.</translation> 256 </message> 257 <message> 258 <location filename="../src/mainwindow.cpp" line="376"/> 259 <source>Optimal path:</source> 260 <translation>Оптимальный путь:</translation> 261 </message> 262 <message> 263 <location filename="../src/mainwindow.cpp" line="378"/> 264 <source>The price is <b>%1</b> units.</source> 265 <translation>Стоимость - <b>%1</b> единиц.</translation> 266 </message> 267 <message> 268 <location filename="../src/mainwindow.cpp" line="439"/> 188 269 <source>Language will be autodetected on next application start.</source> 189 270 <translation>Язык будет автоматически определен при следующем запуске приложения.</translation> 190 271 </message> 191 272 <message> 192 <location filename="../src/mainwindow.cpp" line=" 332"/>273 <location filename="../src/mainwindow.cpp" line="448"/> 193 274 <source>You have language autodetection turned on. 194 275 It needs to be off. … … 199 280 </message> 200 281 <message> 201 <location filename="../src/mainwindow.cpp" line=" 346"/>282 <location filename="../src/mainwindow.cpp" line="462"/> 202 283 <source>Application Close</source> 203 284 <translation>Закрытие приложения</translation> 204 285 </message> 205 286 <message> 206 <location filename="../ui/mainwindow.ce.ui" line="5 6"/>207 <location filename="../ui/mainwindow.ui" line=" 35"/>287 <location filename="../ui/mainwindow.ce.ui" line="53"/> 288 <location filename="../ui/mainwindow.ui" line="41"/> 208 289 <source>Task</source> 209 <translation> Задача</translation>210 </message> 211 <message> 212 <location filename="../ui/mainwindow.ce.ui" line="7 7"/>213 <location filename="../ui/mainwindow.ui" line=" 56"/>290 <translation>Условие</translation> 291 </message> 292 <message> 293 <location filename="../ui/mainwindow.ce.ui" line="74"/> 294 <location filename="../ui/mainwindow.ui" line="62"/> 214 295 <source>&Variant:</source> 215 296 <translation>&Вариант:</translation> 216 297 </message> 217 298 <message> 218 <location filename="../ui/mainwindow.ce.ui" line=" 90"/>219 <location filename="../ui/mainwindow.ui" line=" 69"/>299 <location filename="../ui/mainwindow.ce.ui" line="87"/> 300 <location filename="../ui/mainwindow.ui" line="75"/> 220 301 <source>Number of variant</source> 221 302 <translation>Номер варианта</translation> 222 303 </message> 223 304 <message> 224 <location filename="../ui/mainwindow.ce.ui" line=" 100"/>225 <location filename="../ui/mainwindow.ui" line=" 79"/>305 <location filename="../ui/mainwindow.ce.ui" line="97"/> 306 <location filename="../ui/mainwindow.ui" line="85"/> 226 307 <source>&Cities:</source> 227 308 <translation>&Городов:</translation> 228 309 </message> 229 310 <message> 230 <location filename="../ui/mainwindow.ce.ui" line="11 3"/>231 <location filename="../ui/mainwindow.ui" line="9 2"/>311 <location filename="../ui/mainwindow.ce.ui" line="110"/> 312 <location filename="../ui/mainwindow.ui" line="98"/> 232 313 <source>Number of cities</source> 233 314 <translation>Количество городов, которые обходит коммивояжер</translation> 234 315 </message> 235 316 <message> 236 <location filename="../ui/mainwindow.ce.ui" line="14 4"/>237 <location filename="../ui/mainwindow.ui" line="12 3"/>317 <location filename="../ui/mainwindow.ce.ui" line="141"/> 318 <location filename="../ui/mainwindow.ui" line="129"/> 238 319 <source>Cost of travel from city to city</source> 239 320 <translation>Стоимости переходов из города в город</translation> 240 321 </message> 241 322 <message> 242 <location filename="../ui/mainwindow.ce.ui" line="1 72"/>243 <location filename="../ui/mainwindow.ui" line="15 1"/>323 <location filename="../ui/mainwindow.ce.ui" line="169"/> 324 <location filename="../ui/mainwindow.ui" line="157"/> 244 325 <source>Fill table with random numbers</source> 245 326 <translation>Заполнить таблицу случайными значениями</translation> 246 327 </message> 247 328 <message> 248 <location filename="../ui/mainwindow.ce.ui" line="17 5"/>249 <location filename="../ui/mainwindow.ui" line="1 54"/>329 <location filename="../ui/mainwindow.ce.ui" line="172"/> 330 <location filename="../ui/mainwindow.ui" line="160"/> 250 331 <source>Random</source> 251 332 <translation>Случайно</translation> 252 333 </message> 253 334 <message> 254 <location filename="../ui/mainwindow.ce.ui" line="18 9"/>255 <location filename="../ui/mainwindow.ui" line="1 68"/>335 <location filename="../ui/mainwindow.ce.ui" line="186"/> 336 <location filename="../ui/mainwindow.ui" line="174"/> 256 337 <source>Solve current task</source> 257 338 <translation>Решить текущую задачу</translation> 258 339 </message> 259 340 <message> 260 <location filename="../ui/mainwindow.ce.ui" line="1 92"/>261 <location filename="../ui/mainwindow.ui" line="17 1"/>341 <location filename="../ui/mainwindow.ce.ui" line="189"/> 342 <location filename="../ui/mainwindow.ui" line="177"/> 262 343 <source>Solve</source> 263 344 <translation>Решить</translation> 264 345 </message> 265 346 <message> 266 <location filename="../ui/mainwindow.ce.ui" line="20 6"/>267 <location filename="../ui/mainwindow.ui" line="1 85"/>347 <location filename="../ui/mainwindow.ce.ui" line="203"/> 348 <location filename="../ui/mainwindow.ui" line="191"/> 268 349 <source>Solution</source> 269 350 <translation>Решение</translation> 270 351 </message> 271 352 <message> 272 <location filename="../ui/mainwindow.ce.ui" line="2 23"/>273 <location filename="../ui/mainwindow.ui" line="20 2"/>353 <location filename="../ui/mainwindow.ce.ui" line="212"/> 354 <location filename="../ui/mainwindow.ui" line="200"/> 274 355 <source>Solution steps</source> 275 356 <translation>Ход решения</translation> 276 357 </message> 277 358 <message> 278 <location filename="../ui/mainwindow.ce.ui" line="233"/> 279 <location filename="../ui/mainwindow.ui" line="212"/> 280 <source>Solution graph</source> 281 <translation>Граф решения</translation> 282 </message> 283 <message> 284 <location filename="../ui/mainwindow.ce.ui" line="259"/> 285 <location filename="../ui/mainwindow.ui" line="240"/> 359 <location filename="../ui/mainwindow.ce.ui" line="242"/> 360 <location filename="../ui/mainwindow.ui" line="230"/> 286 361 <source>&File</source> 287 362 <translation>&Файл</translation> 288 363 </message> 289 364 <message> 290 <location filename="../ui/mainwindow.ce.ui" line="2 66"/>291 <location filename="../ui/mainwindow.ui" line="2 44"/>365 <location filename="../ui/mainwindow.ce.ui" line="249"/> 366 <location filename="../ui/mainwindow.ui" line="234"/> 292 367 <source>Save &As...</source> 293 368 <translation>Сохранить &как...</translation> 294 369 </message> 295 370 <message> 296 <location filename="../ui/mainwindow.ce.ui" line="348"/> 297 <location filename="../ui/mainwindow.ui" line="361"/> 371 <location filename="../ui/mainwindow.ce.ui" line="277"/> 372 <location filename="../ui/mainwindow.ui" line="265"/> 373 <source>&Language</source> 374 <comment>Please, append " / Language" when translating this string.</comment> 375 <translation>Язык / &Language</translation> 376 </message> 377 <message> 378 <location filename="../ui/mainwindow.ce.ui" line="328"/> 379 <location filename="../ui/mainwindow.ui" line="351"/> 298 380 <source>Solution S&teps</source> 299 381 <translation>&Ход решения</translation> 300 382 </message> 301 383 <message> 302 <location filename="../ui/mainwindow.ce.ui" line="3 62"/>303 <location filename="../ui/mainwindow.ui" line="3 75"/>384 <location filename="../ui/mainwindow.ce.ui" line="342"/> 385 <location filename="../ui/mainwindow.ui" line="365"/> 304 386 <source>Solution &Graph</source> 305 387 <translation>&Граф решения</translation> 306 388 </message> 307 389 <message> 308 <location filename="../ui/mainwindow.ce.ui" line="466"/> 309 <location filename="../ui/mainwindow.ui" line="479"/> 390 <location filename="../ui/mainwindow.ce.ui" line="359"/> 391 <source>Solution...</source> 392 <translation>Решение...</translation> 393 </message> 394 <message> 395 <location filename="../ui/mainwindow.ce.ui" line="449"/> 396 <location filename="../ui/mainwindow.ui" line="469"/> 310 397 <source>Context &Help</source> 311 398 <translation>&Контекстная справка</translation> 312 399 </message> 313 400 <message> 314 <location filename="../ui/mainwindow.ce.ui" line="5 57"/>315 <location filename="../ui/mainwindow.ui" line="5 70"/>401 <location filename="../ui/mainwindow.ce.ui" line="540"/> 402 <location filename="../ui/mainwindow.ui" line="556"/> 316 403 <source>&Save</source> 317 404 <translation>Со&хранить</translation> 318 405 </message> 319 406 <message> 320 <location filename="../ui/mainwindow.ce.ui" line="2 87"/>321 <location filename="../ui/mainwindow.ui" line="2 68"/>407 <location filename="../ui/mainwindow.ce.ui" line="267"/> 408 <location filename="../ui/mainwindow.ui" line="255"/> 322 409 <source>&Settings</source> 323 410 <translation>&Настройки</translation> … … 330 417 </message> 331 418 <message> 332 <location filename="../ui/mainwindow.ce.ui" line="297"/> 333 <location filename="../ui/mainwindow.ui" line="278"/> 334 <source>&Language</source> 335 <extracomment>Please, append " / Language" when translating this string. 336 ---------- 337 Please, append " / Language" when translating this string.</extracomment> 338 <translation>Язык / &Language</translation> 339 </message> 340 <message> 341 <location filename="../ui/mainwindow.ce.ui" line="313"/> 342 <location filename="../ui/mainwindow.ui" line="294"/> 419 <location filename="../ui/mainwindow.ce.ui" line="293"/> 420 <location filename="../ui/mainwindow.ui" line="281"/> 343 421 <source>&Help</source> 344 422 <translation>&Помощь</translation> 345 423 </message> 346 424 <message> 347 <location filename="../ui/mainwindow.ce.ui" line="3 51"/>348 <location filename="../ui/mainwindow.ui" line="3 64"/>425 <location filename="../ui/mainwindow.ce.ui" line="331"/> 426 <location filename="../ui/mainwindow.ui" line="354"/> 349 427 <source>Save solution steps</source> 350 428 <translation>Сохранить ход решения</translation> 351 429 </message> 352 430 <message> 353 <location filename="../ui/mainwindow.ce.ui" line="3 54"/>354 <location filename="../ui/mainwindow.ui" line="3 67"/>431 <location filename="../ui/mainwindow.ce.ui" line="334"/> 432 <location filename="../ui/mainwindow.ui" line="357"/> 355 433 <source>Save solution steps only</source> 356 434 <translation>Сохранить только ход решения</translation> 357 435 </message> 358 436 <message> 359 <location filename="../ui/mainwindow.ce.ui" line="3 65"/>360 <location filename="../ui/mainwindow.ui" line="3 78"/>437 <location filename="../ui/mainwindow.ce.ui" line="345"/> 438 <location filename="../ui/mainwindow.ui" line="368"/> 361 439 <source>Save solution graph</source> 362 440 <translation>Сохранить граф решения</translation> 363 441 </message> 364 442 <message> 365 <location filename="../ui/mainwindow.ce.ui" line="3 68"/>366 <location filename="../ui/mainwindow.ui" line="3 81"/>443 <location filename="../ui/mainwindow.ce.ui" line="348"/> 444 <location filename="../ui/mainwindow.ui" line="371"/> 367 445 <source>Save solution graph only</source> 368 446 <translation>Сохранить только граф решения</translation> 369 447 </message> 370 448 <message> 371 <location filename="../ui/mainwindow.ce.ui" line="376"/> 372 <location filename="../ui/mainwindow.ui" line="389"/> 373 <source>&Solution</source> 374 <translation>&Решение</translation> 375 </message> 376 <message> 377 <location filename="../ui/mainwindow.ce.ui" line="379"/> 378 <location filename="../ui/mainwindow.ui" line="392"/> 449 <location filename="../ui/mainwindow.ce.ui" line="362"/> 450 <location filename="../ui/mainwindow.ui" line="382"/> 379 451 <source>Save solution</source> 380 452 <translation>Сохранить решение</translation> 381 453 </message> 382 454 <message> 383 <location filename="../ui/mainwindow.ce.ui" line="3 82"/>384 <location filename="../ui/mainwindow.ui" line="3 95"/>455 <location filename="../ui/mainwindow.ce.ui" line="365"/> 456 <location filename="../ui/mainwindow.ui" line="385"/> 385 457 <source>Save solution steps and graph</source> 386 458 <translation>Сохранить ход и граф решения</translation> 387 459 </message> 388 460 <message> 389 <location filename="../ui/mainwindow.ce.ui" line="3 91"/>390 <location filename="../ui/mainwindow.ui" line=" 404"/>461 <location filename="../ui/mainwindow.ce.ui" line="374"/> 462 <location filename="../ui/mainwindow.ui" line="394"/> 391 463 <source>&New</source> 392 464 <translation>&Создать</translation> 393 465 </message> 394 466 <message> 395 <location filename="../ui/mainwindow.ce.ui" line="3 94"/>396 <location filename="../ui/mainwindow.ui" line=" 407"/>467 <location filename="../ui/mainwindow.ce.ui" line="377"/> 468 <location filename="../ui/mainwindow.ui" line="397"/> 397 469 <source>New</source> 398 470 <translation>Создать</translation> 399 471 </message> 400 472 <message> 401 <location filename="../ui/mainwindow.ce.ui" line="3 97"/>402 <location filename="../ui/mainwindow.ui" line="4 10"/>473 <location filename="../ui/mainwindow.ce.ui" line="380"/> 474 <location filename="../ui/mainwindow.ui" line="400"/> 403 475 <source>New task</source> 404 476 <translation>Создать задачу</translation> 405 477 </message> 406 478 <message> 407 <location filename="../ui/mainwindow.ce.ui" line=" 400"/>408 <location filename="../ui/mainwindow.ui" line="4 13"/>479 <location filename="../ui/mainwindow.ce.ui" line="383"/> 480 <location filename="../ui/mainwindow.ui" line="403"/> 409 481 <source>Create new task</source> 410 482 <translation>Создать новую задачу</translation> 411 483 </message> 412 484 <message> 413 <location filename="../ui/mainwindow.ce.ui" line=" 403"/>414 <location filename="../ui/mainwindow.ui" line="4 16"/>485 <location filename="../ui/mainwindow.ce.ui" line="386"/> 486 <location filename="../ui/mainwindow.ui" line="406"/> 415 487 <source>Ctrl+N</source> 416 488 <translation></translation> 417 489 </message> 418 490 <message> 419 <location filename="../ui/mainwindow.ce.ui" line=" 412"/>420 <location filename="../ui/mainwindow.ui" line="4 25"/>491 <location filename="../ui/mainwindow.ce.ui" line="395"/> 492 <location filename="../ui/mainwindow.ui" line="415"/> 421 493 <source>&Open...</source> 422 494 <translation>&Открыть...</translation> 423 495 </message> 424 496 <message> 425 <location filename="../ui/mainwindow.ce.ui" line=" 415"/>426 <location filename="../ui/mainwindow.ui" line="4 28"/>497 <location filename="../ui/mainwindow.ce.ui" line="398"/> 498 <location filename="../ui/mainwindow.ui" line="418"/> 427 499 <source>Open...</source> 428 500 <translation>Открыть...</translation> 429 501 </message> 430 502 <message> 431 <location filename="../ui/mainwindow.ce.ui" line="4 18"/>432 <location filename="../ui/mainwindow.ui" line="4 31"/>503 <location filename="../ui/mainwindow.ce.ui" line="401"/> 504 <location filename="../ui/mainwindow.ui" line="421"/> 433 505 <source>Open task</source> 434 <translation>Открыть задачу</translation>435 </message> 436 <message> 437 <location filename="../ui/mainwindow.ce.ui" line="4 21"/>438 <location filename="../ui/mainwindow.ui" line="4 34"/>506 <translation>Открыть условие</translation> 507 </message> 508 <message> 509 <location filename="../ui/mainwindow.ce.ui" line="404"/> 510 <location filename="../ui/mainwindow.ui" line="424"/> 439 511 <source>Open saved task</source> 440 512 <translation>Открыть сохраненное условие задачи</translation> 441 513 </message> 442 514 <message> 443 <location filename="../ui/mainwindow.ce.ui" line="4 24"/>444 <location filename="../ui/mainwindow.ui" line="4 37"/>515 <location filename="../ui/mainwindow.ce.ui" line="407"/> 516 <location filename="../ui/mainwindow.ui" line="427"/> 445 517 <source>Ctrl+O</source> 446 518 <translation></translation> 447 519 </message> 448 520 <message> 449 <location filename="../ui/mainwindow.ce.ui" line="4 33"/>450 <location filename="../ui/mainwindow.ui" line="4 46"/>521 <location filename="../ui/mainwindow.ce.ui" line="416"/> 522 <location filename="../ui/mainwindow.ui" line="436"/> 451 523 <source>&Preferences...</source> 452 524 <translation>&Параметры...</translation> 453 525 </message> 454 526 <message> 455 <location filename="../ui/mainwindow.ce.ui" line="4 36"/>456 <location filename="../ui/mainwindow.ui" line="4 49"/>527 <location filename="../ui/mainwindow.ce.ui" line="419"/> 528 <location filename="../ui/mainwindow.ui" line="439"/> 457 529 <source>Preferences...</source> 458 530 <translation>Параметры...</translation> 459 531 </message> 460 532 <message> 461 <location filename="../ui/mainwindow.ce.ui" line="4 39"/>462 <location filename="../ui/mainwindow.ui" line="4 52"/>533 <location filename="../ui/mainwindow.ce.ui" line="422"/> 534 <location filename="../ui/mainwindow.ui" line="442"/> 463 535 <source>Application preferences</source> 464 536 <translation>Настройка параметров программмы</translation> 465 537 </message> 466 538 <message> 467 <location filename="../ui/mainwindow.ce.ui" line="4 51"/>468 <location filename="../ui/mainwindow.ui" line="4 64"/>539 <location filename="../ui/mainwindow.ce.ui" line="434"/> 540 <location filename="../ui/mainwindow.ui" line="454"/> 469 541 <source>&Contents</source> 470 542 <translation>&Содежание</translation> 471 543 </message> 472 544 <message> 473 <location filename="../ui/mainwindow.ce.ui" line="4 54"/>474 <location filename="../ui/mainwindow.ui" line="4 67"/>545 <location filename="../ui/mainwindow.ce.ui" line="437"/> 546 <location filename="../ui/mainwindow.ui" line="457"/> 475 547 <source>Open help contents</source> 476 548 <translation>Вызвать справку программы</translation> 477 549 </message> 478 550 <message> 479 <location filename="../ui/mainwindow.ce.ui" line="4 69"/>480 <location filename="../ui/mainwindow.ui" line="4 82"/>551 <location filename="../ui/mainwindow.ce.ui" line="452"/> 552 <location filename="../ui/mainwindow.ui" line="472"/> 481 553 <source>Open context help</source> 482 554 <translation>Вызвать контекстную справку</translation> 483 555 </message> 484 556 <message> 485 <location filename="../ui/mainwindow.ce.ui" line="4 78"/>486 <location filename="../ui/mainwindow.ui" line="4 91"/>557 <location filename="../ui/mainwindow.ce.ui" line="461"/> 558 <location filename="../ui/mainwindow.ui" line="481"/> 487 559 <source>&About...</source> 488 560 <translation>&Про...</translation> 489 561 </message> 490 562 <message> 491 <location filename="../ui/mainwindow.ce.ui" line="4 81"/>492 <location filename="../ui/mainwindow.ui" line="4 94"/>563 <location filename="../ui/mainwindow.ce.ui" line="464"/> 564 <location filename="../ui/mainwindow.ui" line="484"/> 493 565 <source>About...</source> 494 566 <translation>Про...</translation> 495 567 </message> 496 568 <message> 497 <location filename="../ui/mainwindow.ce.ui" line="4 84"/>498 <location filename="../ui/mainwindow.ui" line="4 97"/>569 <location filename="../ui/mainwindow.ce.ui" line="467"/> 570 <location filename="../ui/mainwindow.ui" line="487"/> 499 571 <source>About application</source> 500 572 <translation>О программе</translation> 501 573 </message> 502 574 <message> 503 <location filename="../ui/mainwindow.ce.ui" line="4 93"/>504 <location filename="../ui/mainwindow.ui" line=" 506"/>575 <location filename="../ui/mainwindow.ce.ui" line="476"/> 576 <location filename="../ui/mainwindow.ui" line="496"/> 505 577 <source>E&xit</source> 506 578 <translation>В&ыход</translation> 507 579 </message> 508 580 <message> 509 <location filename="../ui/mainwindow.ce.ui" line="4 96"/>510 <location filename="../ui/mainwindow.ui" line=" 509"/>581 <location filename="../ui/mainwindow.ce.ui" line="479"/> 582 <location filename="../ui/mainwindow.ui" line="499"/> 511 583 <source>Exit application</source> 512 584 <translation>Выйти из приложения</translation> 513 585 </message> 514 586 <message> 515 <location filename="../ui/mainwindow.ce.ui" line=" 505"/>516 <location filename="../ui/mainwindow.ui" line="5 18"/>587 <location filename="../ui/mainwindow.ce.ui" line="488"/> 588 <location filename="../ui/mainwindow.ui" line="504"/> 517 589 <source>&Task...</source> 518 <translation>& Задачу...</translation>519 </message> 520 <message> 521 <location filename="../ui/mainwindow.ce.ui" line=" 508"/>522 <location filename="../ui/mainwindow.ui" line="5 21"/>590 <translation>&Условие...</translation> 591 </message> 592 <message> 593 <location filename="../ui/mainwindow.ce.ui" line="491"/> 594 <location filename="../ui/mainwindow.ui" line="507"/> 523 595 <source>Task...</source> 524 <translation> Задачу...</translation>525 </message> 526 <message> 527 <location filename="../ui/mainwindow.ce.ui" line=" 511"/>528 <location filename="../ui/mainwindow.ce.ui" line="5 60"/>529 <location filename="../ui/mainwindow.ui" line="5 24"/>530 <location filename="../ui/mainwindow.ui" line="5 76"/>596 <translation>Условие...</translation> 597 </message> 598 <message> 599 <location filename="../ui/mainwindow.ce.ui" line="494"/> 600 <location filename="../ui/mainwindow.ce.ui" line="543"/> 601 <location filename="../ui/mainwindow.ui" line="510"/> 602 <location filename="../ui/mainwindow.ui" line="562"/> 531 603 <source>Save task</source> 532 <translation>Сохранить задачу</translation>533 </message> 534 <message> 535 <location filename="../ui/mainwindow.ce.ui" line=" 514"/>536 <location filename="../ui/mainwindow.ui" line="5 27"/>604 <translation>Сохранить условие</translation> 605 </message> 606 <message> 607 <location filename="../ui/mainwindow.ce.ui" line="497"/> 608 <location filename="../ui/mainwindow.ui" line="513"/> 537 609 <source>Save task to file</source> 538 610 <translation>Сохранить условие задачи в файл</translation> 539 611 </message> 540 612 <message> 541 <location filename="../ui/mainwindow.ce.ui" line="5 17"/>542 <location filename="../ui/mainwindow.ui" line="5 30"/>613 <location filename="../ui/mainwindow.ce.ui" line="500"/> 614 <location filename="../ui/mainwindow.ui" line="516"/> 543 615 <source>Ctrl+S</source> 544 616 <translation></translation> 545 617 </message> 546 618 <message> 547 <location filename="../ui/mainwindow.ce.ui" line="5 28"/>548 <location filename="../ui/mainwindow.ui" line="5 41"/>619 <location filename="../ui/mainwindow.ce.ui" line="511"/> 620 <location filename="../ui/mainwindow.ui" line="527"/> 549 621 <source>&Autodetect</source> 550 622 <translation>&Автоопределение</translation> 551 623 </message> 552 624 <message> 553 <location filename="../ui/mainwindow.ce.ui" line="5 45"/>625 <location filename="../ui/mainwindow.ce.ui" line="528"/> 554 626 <source>English</source> 555 627 <translation>Английский</translation> 556 628 </message> 557 629 <message> 558 <location filename="../ui/mainwindow.ce.ui" line="5 63"/>559 <location filename="../ui/mainwindow.ui" line="5 79"/>630 <location filename="../ui/mainwindow.ce.ui" line="546"/> 631 <location filename="../ui/mainwindow.ui" line="565"/> 560 632 <source>Save current task</source> 561 <translation>Сохранить текущ ую задачу</translation>562 </message> 563 <message> 564 <location filename="../ui/mainwindow.ce.ui" line="5 72"/>565 <location filename="../ui/mainwindow.ui" line="5 88"/>633 <translation>Сохранить текущее условие</translation> 634 </message> 635 <message> 636 <location filename="../ui/mainwindow.ce.ui" line="555"/> 637 <location filename="../ui/mainwindow.ui" line="574"/> 566 638 <source>About &Qt...</source> 567 639 <translation>Про &Qt...</translation> 568 640 </message> 569 641 <message> 570 <location filename="../ui/mainwindow.ce.ui" line="5 75"/>571 <location filename="../ui/mainwindow.ui" line="5 91"/>642 <location filename="../ui/mainwindow.ce.ui" line="558"/> 643 <location filename="../ui/mainwindow.ui" line="577"/> 572 644 <source>About Qt...</source> 573 645 <translation>Про Qt...</translation> 574 646 </message> 575 647 <message> 576 <location filename="../ui/mainwindow.ce.ui" line="5 78"/>648 <location filename="../ui/mainwindow.ce.ui" line="561"/> 577 649 <source>About Qt</source> 578 650 <translation>Про Qt</translation> 579 651 </message> 580 652 <message> 581 <location filename="../ui/mainwindow.ce.ui" line="5 81"/>582 <location filename="../ui/mainwindow.ui" line="5 94"/>653 <location filename="../ui/mainwindow.ce.ui" line="564"/> 654 <location filename="../ui/mainwindow.ui" line="580"/> 583 655 <source>About Qt library</source> 584 656 <translation>Про библиотеку Qt</translation> 585 657 </message> 586 658 <message> 587 <location filename="../ui/mainwindow.ce.ui" line="2 91"/>588 <location filename="../ui/mainwindow.ui" line="2 72"/>659 <location filename="../ui/mainwindow.ce.ui" line="271"/> 660 <location filename="../ui/mainwindow.ui" line="259"/> 589 661 <source>Select language</source> 590 662 <translation>Выбор языка</translation> 591 663 </message> 592 664 <message> 593 <location filename="../ui/mainwindow.ce.ui" line="2 94"/>594 <location filename="../ui/mainwindow.ui" line="2 75"/>665 <location filename="../ui/mainwindow.ce.ui" line="274"/> 666 <location filename="../ui/mainwindow.ui" line="262"/> 595 667 <source>Select application language</source> 596 668 <translation>Выбрать язык приложения</translation> 597 669 </message> 598 670 <message> 599 <location filename="../ui/mainwindow.ui" line="3 32"/>671 <location filename="../ui/mainwindow.ui" line="322"/> 600 672 <source>P&rint Setup...</source> 601 673 <translation>&Настройка печати...</translation> 602 674 </message> 603 675 <message> 604 <location filename="../ui/mainwindow.ui" line="3 35"/>676 <location filename="../ui/mainwindow.ui" line="325"/> 605 677 <source>Setup printing</source> 606 678 <translation>Настроить печать</translation> 607 679 </message> 608 680 <message> 609 <location filename="../ui/mainwindow.ui" line="3 47"/>681 <location filename="../ui/mainwindow.ui" line="337"/> 610 682 <source>&Print...</source> 611 683 <translation>&Печать...</translation> 612 684 </message> 613 685 <message> 614 <location filename="../ui/mainwindow.ui" line="3 50"/>686 <location filename="../ui/mainwindow.ui" line="340"/> 615 687 <source>Print solution results</source> 616 688 <translation>Распечатать результаты решения</translation> 617 689 </message> 618 690 <message> 619 <location filename="../ui/mainwindow.ui" line="3 53"/>691 <location filename="../ui/mainwindow.ui" line="343"/> 620 692 <source>Ctrl+P</source> 621 693 <translation></translation> 622 694 </message> 623 695 <message> 624 <location filename="../ui/mainwindow.ui" line="573"/> 696 <location filename="../ui/mainwindow.ce.ui" line="356"/> 697 <location filename="../ui/mainwindow.ui" line="379"/> 698 <source>&Solution...</source> 699 <translation>&Решение...</translation> 700 </message> 701 <message> 702 <location filename="../ui/mainwindow.ui" line="559"/> 625 703 <source>Save</source> 626 704 <translation>Сохранить</translation> 627 705 </message> 628 706 <message> 629 <location filename="../ui/mainwindow.ce.ui" line="5 31"/>630 <location filename="../ui/mainwindow.ui" line="5 44"/>707 <location filename="../ui/mainwindow.ce.ui" line="514"/> 708 <location filename="../ui/mainwindow.ui" line="530"/> 631 709 <source>Detect language automatically</source> 632 710 <translation>Определять язык автоматически</translation> 633 711 </message> 634 712 <message> 635 <location filename="../ui/mainwindow.ce.ui" line="5 34"/>636 <location filename="../ui/mainwindow.ui" line="5 47"/>713 <location filename="../ui/mainwindow.ce.ui" line="517"/> 714 <location filename="../ui/mainwindow.ui" line="533"/> 637 715 <source>Detect language automatically based on regional settings</source> 638 716 <translation>Определять язык автоматически, основываясь на региональных настройках</translation> … … 678 756 </message> 679 757 <message> 680 <location filename="../ui/settingsdialog.ce.ui" line="202"/> 681 <location filename="../ui/settingsdialog.ui" line="288"/> 758 <location filename="../ui/settingsdialog.ce.ui" line="184"/> 759 <location filename="../ui/settingsdialog.ui" line="235"/> 760 <source>Output settings:</source> 761 <translation>Параметры вывода:</translation> 762 </message> 763 <message> 764 <location filename="../ui/settingsdialog.ce.ui" line="210"/> 765 <location filename="../ui/settingsdialog.ui" line="261"/> 682 766 <source>Font color for printing</source> 683 767 <translation>Цвет шрифта, используемого при печати</translation> 684 768 </message> 685 769 <message> 686 <location filename="../ui/settingsdialog.ce.ui" line="2 05"/>687 <location filename="../ui/settingsdialog.ui" line="2 91"/>770 <location filename="../ui/settingsdialog.ce.ui" line="213"/> 771 <location filename="../ui/settingsdialog.ui" line="264"/> 688 772 <source>&Color...</source> 689 773 <translation>&Цвет...</translation> 690 774 </message> 691 775 <message> 692 <location filename="../ui/settingsdialog.ce.ui" line=" 219"/>693 <location filename="../ui/settingsdialog.ui" line=" 305"/>776 <location filename="../ui/settingsdialog.ce.ui" line="193"/> 777 <location filename="../ui/settingsdialog.ui" line="244"/> 694 778 <source>Font face for printing</source> 695 779 <translation>Вид шрифта, используемого при печати</translation> 696 780 </message> 697 781 <message> 698 <location filename="../ui/settingsdialog.ce.ui" line=" 222"/>699 <location filename="../ui/settingsdialog.ui" line=" 308"/>782 <location filename="../ui/settingsdialog.ce.ui" line="196"/> 783 <location filename="../ui/settingsdialog.ui" line="247"/> 700 784 <source>&Font...</source> 701 785 <translation>&Шрифт...</translation> 702 786 </message> 703 787 <message> 704 <location filename="../ui/settingsdialog.ce.ui" line="2 87"/>705 <location filename="../ui/settingsdialog.ce.ui" line="2 93"/>706 <location filename="../ui/settingsdialog.ui" line="3 77"/>707 <location filename="../ui/settingsdialog.ui" line="3 83"/>788 <location filename="../ui/settingsdialog.ce.ui" line="279"/> 789 <location filename="../ui/settingsdialog.ce.ui" line="285"/> 790 <location filename="../ui/settingsdialog.ui" line="331"/> 791 <location filename="../ui/settingsdialog.ui" line="337"/> 708 792 <source>Help</source> 709 793 <translation>Помощь</translation> 710 794 </message> 711 795 <message> 712 <location filename="../ui/settingsdialog.ce.ui" line="2 90"/>713 <location filename="../ui/settingsdialog.ui" line="3 80"/>796 <location filename="../ui/settingsdialog.ce.ui" line="282"/> 797 <location filename="../ui/settingsdialog.ui" line="334"/> 714 798 <source>Get preferences help</source> 715 799 <translation>Получить помощь по настройкам</translation> 716 800 </message> 717 801 <message> 718 <location filename="../ui/settingsdialog.ce.ui" line="3 23"/>719 <location filename="../ui/settingsdialog.ui" line=" 425"/>802 <location filename="../ui/settingsdialog.ce.ui" line="315"/> 803 <location filename="../ui/settingsdialog.ui" line="391"/> 720 804 <source>Save new preferences</source> 721 805 <translation>Сохранить новые параметры</translation> 722 806 </message> 723 807 <message> 724 <location filename="../ui/settingsdialog.ce.ui" line="3 26"/>725 <location filename="../ui/settingsdialog.ui" line=" 428"/>808 <location filename="../ui/settingsdialog.ce.ui" line="318"/> 809 <location filename="../ui/settingsdialog.ui" line="394"/> 726 810 <source>&OK</source> 727 811 <translation></translation> 728 812 </message> 729 813 <message> 730 <location filename="../ui/settingsdialog.ce.ui" line="3 43"/>731 <location filename="../ui/settingsdialog.ui" line="4 45"/>814 <location filename="../ui/settingsdialog.ce.ui" line="335"/> 815 <location filename="../ui/settingsdialog.ui" line="411"/> 732 816 <source>Close without saving preferences</source> 733 817 <translation>Закрыть окно без сохранения параметров</translation> 734 818 </message> 735 819 <message> 736 <location filename="../ui/settingsdialog.ce.ui" line="3 46"/>737 <location filename="../ui/settingsdialog.ui" line="4 48"/>820 <location filename="../ui/settingsdialog.ce.ui" line="338"/> 821 <location filename="../ui/settingsdialog.ui" line="414"/> 738 822 <source>&Cancel</source> 739 823 <translation>&Отмена</translation> … … 745 829 </message> 746 830 <message> 747 <location filename="../ui/settingsdialog.ui" line="235"/> 748 <source>Print settings:</source> 749 <translation>Настройки печати:</translation> 750 </message> 751 <message> 752 <location filename="../ui/settingsdialog.ui" line="249"/> 753 <source>&Left margin:</source> 754 <translation>&Левый отступ:</translation> 755 </message> 756 <message> 757 <location filename="../ui/settingsdialog.ui" line="262"/> 758 <source>Left border margin for page</source> 759 <translation>Левый отступ от края страницы во время печати</translation> 760 </message> 761 <message> 762 <location filename="../ui/settingsdialog.ui" line="329"/> 831 <location filename="../ui/settingsdialog.ui" line="283"/> 763 832 <source>Restore main window state and position on application restart</source> 764 833 <translation>Восстанавливать состояние и размеры главного окна после перезапуска приложения</translation> 765 834 </message> 766 835 <message> 767 <location filename="../ui/settingsdialog.ui" line=" 332"/>836 <location filename="../ui/settingsdialog.ui" line="286"/> 768 837 <source>Save main window state and position</source> 769 838 <translation>Сохранять состояние и положение главного окна</translation> 770 839 </message> 771 840 <message> 772 <location filename="../ui/settingsdialog.ui" line=" 403"/>841 <location filename="../ui/settingsdialog.ui" line="369"/> 773 842 <source>Hover mouse pointer over dialog elements to get additional help</source> 774 843 <translation>Наведите указатель мыши на элемент диалога, чтоб получить подсказку</translation> -
trunk/i18n/uk.ts
r39 r42 16 16 </message> 17 17 <message> 18 <location filename="../src/tspmodel.cpp" line="1 56"/>18 <location filename="../src/tspmodel.cpp" line="147"/> 19 19 <source>Unexpected end of file.</source> 20 20 <translation>Неочікуваний кінець файлу.</translation> 21 21 </message> 22 22 <message> 23 <location filename="../src/tspmodel.cpp" line="1 58"/>23 <location filename="../src/tspmodel.cpp" line="149"/> 24 24 <source>Corrupt data read. File possibly corrupted.</source> 25 <translation type="unfinished"></translation> 26 </message> 27 <message> 28 <location filename="../src/tspmodel.cpp" line="160"/> 25 <translation>Прочитано ушкоджені дані. 26 Можливо, файл пошкоджено.</translation> 27 </message> 28 <message> 29 <location filename="../src/tspmodel.cpp" line="151"/> 29 30 <source>Unknown error.</source> 30 31 <translation>Невідома помилка.</translation> 31 32 </message> 32 33 <message> 33 <location filename="../src/tspmodel.cpp" line="161"/> 34 <location filename="../src/tspmodel.cpp" line="169"/> 35 <location filename="../src/tspmodel.cpp" line="184"/> 36 <location filename="../src/tspmodel.cpp" line="200"/> 37 <location filename="../src/tspmodel.cpp" line="213"/> 34 <location filename="../src/tspmodel.cpp" line="152"/> 35 <location filename="../src/tspmodel.cpp" line="160"/> 36 <location filename="../src/tspmodel.cpp" line="175"/> 37 <location filename="../src/tspmodel.cpp" line="191"/> 38 <location filename="../src/tspmodel.cpp" line="204"/> 39 <location filename="../src/tspmodel.cpp" line="234"/> 38 40 <location filename="../src/tspmodel.cpp" line="243"/> 39 <location filename="../src/tspmodel.cpp" line="252"/>40 41 <source>Task Load</source> 41 <translation>Завантаження завдання</translation> 42 </message> 43 <message> 44 <location filename="../src/tspmodel.cpp" line="161"/> 45 <location filename="../src/tspmodel.cpp" line="184"/> 46 <location filename="../src/tspmodel.cpp" line="200"/> 47 <location filename="../src/tspmodel.cpp" line="213"/> 42 <translation>Завантаження умови</translation> 43 </message> 44 <message> 45 <location filename="../src/tspmodel.cpp" line="152"/> 46 <location filename="../src/tspmodel.cpp" line="175"/> 47 <location filename="../src/tspmodel.cpp" line="191"/> 48 <location filename="../src/tspmodel.cpp" line="204"/> 49 <location filename="../src/tspmodel.cpp" line="234"/> 48 50 <location filename="../src/tspmodel.cpp" line="243"/> 49 <location filename="../src/tspmodel.cpp" line="252"/>50 51 <source>Unable to load task:</source> 51 <translation>Неможливо завантажити завдання:</translation>52 </message> 53 <message> 54 <location filename="../src/tspmodel.cpp" line="16 9"/>52 <translation>Неможливо завантажити умову:</translation> 53 </message> 54 <message> 55 <location filename="../src/tspmodel.cpp" line="160"/> 55 56 <source>Unable to open task file. 56 57 Error: %1</source> 57 <translation>Неможливо відкрити файл з авдання.58 <translation>Неможливо відкрити файл з умовою. 58 59 Помилка: %1</translation> 59 60 </message> 60 61 <message> 61 <location filename="../src/tspmodel.cpp" line="1 84"/>62 <location filename="../src/tspmodel.cpp" line="175"/> 62 63 <source>Unknown file format or file is corrupted.</source> 63 64 <translation>Невідомий формат файлу або файл пошкоджено.</translation> 64 65 </message> 65 66 <message> 66 <location filename="../src/tspmodel.cpp" line=" 200"/>67 <location filename="../src/tspmodel.cpp" line="2 43"/>67 <location filename="../src/tspmodel.cpp" line="191"/> 68 <location filename="../src/tspmodel.cpp" line="234"/> 68 69 <source>File version is newer than application supports. 69 70 Please, try to update application.</source> … … 72 73 </message> 73 74 <message> 74 <location filename="../src/tspmodel.cpp" line="2 13"/>75 <location filename="../src/tspmodel.cpp" line="2 52"/>75 <location filename="../src/tspmodel.cpp" line="204"/> 76 <location filename="../src/tspmodel.cpp" line="243"/> 76 77 <source>Unexpected data read. 77 78 File is possibly corrupted.</source> 78 <translation type="unfinished"></translation> 79 </message> 80 <message> 81 <location filename="../src/tspmodel.cpp" line="282"/> 82 <location filename="../src/tspmodel.cpp" line="288"/> 83 <location filename="../src/tspmodel.cpp" line="295"/> 84 <location filename="../src/tspmodel.cpp" line="302"/> 85 <location filename="../src/tspmodel.cpp" line="309"/> 86 <location filename="../src/tspmodel.cpp" line="316"/> 87 <location filename="../src/tspmodel.cpp" line="323"/> 88 <location filename="../src/tspmodel.cpp" line="333"/> 79 <translation>Прочитано неочікувані дані. 80 Можливо, файл пошкоджено.</translation> 81 </message> 82 <message> 83 <location filename="../src/tspmodel.cpp" line="273"/> 84 <location filename="../src/tspmodel.cpp" line="279"/> 85 <location filename="../src/tspmodel.cpp" line="286"/> 86 <location filename="../src/tspmodel.cpp" line="293"/> 87 <location filename="../src/tspmodel.cpp" line="300"/> 88 <location filename="../src/tspmodel.cpp" line="307"/> 89 <location filename="../src/tspmodel.cpp" line="314"/> 90 <location filename="../src/tspmodel.cpp" line="324"/> 89 91 <source>Task Save</source> 90 <translation>Збереження завдання</translation>91 </message> 92 <message> 93 <location filename="../src/tspmodel.cpp" line="2 82"/>92 <translation>Збереження умови</translation> 93 </message> 94 <message> 95 <location filename="../src/tspmodel.cpp" line="273"/> 94 96 <source>Unable to create task file. 95 97 Error: %1 96 98 Maybe, file is read-only?</source> 97 <translation type="unfinished"></translation> 98 </message> 99 <message> 100 <location filename="../src/tspmodel.cpp" line="288"/> 101 <location filename="../src/tspmodel.cpp" line="295"/> 102 <location filename="../src/tspmodel.cpp" line="302"/> 103 <location filename="../src/tspmodel.cpp" line="309"/> 104 <location filename="../src/tspmodel.cpp" line="316"/> 105 <location filename="../src/tspmodel.cpp" line="323"/> 106 <location filename="../src/tspmodel.cpp" line="333"/> 99 <translation>Неможливо створити файл з умовою. 100 Помилка: %1 101 Можливо, файл тільки для читання?</translation> 102 </message> 103 <message> 104 <location filename="../src/tspmodel.cpp" line="279"/> 105 <location filename="../src/tspmodel.cpp" line="286"/> 106 <location filename="../src/tspmodel.cpp" line="293"/> 107 <location filename="../src/tspmodel.cpp" line="300"/> 108 <location filename="../src/tspmodel.cpp" line="307"/> 109 <location filename="../src/tspmodel.cpp" line="314"/> 110 <location filename="../src/tspmodel.cpp" line="324"/> 107 111 <source>Unable to save task. 108 112 Error: %1</source> 109 <translation>Неможливо зберегти завдання.113 <translation>Неможливо зберегти умову. 110 114 Помилка: %1</translation> 115 </message> 116 </context> 117 <context> 118 <name>CTSPSolver</name> 119 <message> 120 <location filename="../src/tspsolver.cpp" line="137"/> 121 <source>%v of %m parts found</source> 122 <translation>Знайдено %v з %m переходів</translation> 123 </message> 124 <message> 125 <location filename="../src/tspsolver.cpp" line="141"/> 126 <source>Calculating optimal route...</source> 127 <translation>Обчислення оптимального шляху...</translation> 128 </message> 129 <message> 130 <location filename="../src/tspsolver.cpp" line="142"/> 131 <source>Solution Progress</source> 132 <translation>Поступ розв'зку</translation> 133 </message> 134 <message> 135 <location filename="../src/tspsolver.cpp" line="210"/> 136 <source>Solution Result</source> 137 <translation>Результат розв'язку</translation> 138 </message> 139 <message> 140 <location filename="../src/tspsolver.cpp" line="210"/> 141 <source>This task has no solution.</source> 142 <translation>У цієї задачі немає розв'язку.</translation> 111 143 </message> 112 144 </context> … … 114 146 <name>MainWindow</name> 115 147 <message> 116 <location filename="../ui/mainwindow.ce.ui" line=" 90"/>117 <location filename="../ui/mainwindow.ui" line=" 69"/>148 <location filename="../ui/mainwindow.ce.ui" line="87"/> 149 <location filename="../ui/mainwindow.ui" line="75"/> 118 150 <source>Number of variant</source> 119 151 <translation>Номер варіанту</translation> 120 152 </message> 121 153 <message> 122 <location filename="../ui/mainwindow.ce.ui" line="11 3"/>123 <location filename="../ui/mainwindow.ui" line="9 2"/>154 <location filename="../ui/mainwindow.ce.ui" line="110"/> 155 <location filename="../ui/mainwindow.ui" line="98"/> 124 156 <source>Number of cities</source> 125 157 <translation>Кількість міст, що проходить комівояжер</translation> 126 158 </message> 127 159 <message> 128 <location filename="../ui/mainwindow.ce.ui" line="2 91"/>129 <location filename="../ui/mainwindow.ui" line="2 72"/>160 <location filename="../ui/mainwindow.ce.ui" line="271"/> 161 <location filename="../ui/mainwindow.ui" line="259"/> 130 162 <source>Select language</source> 131 163 <translation>Вибір мови</translation> 132 164 </message> 133 165 <message> 134 <location filename="../ui/mainwindow.ce.ui" line="2 94"/>135 <location filename="../ui/mainwindow.ui" line="2 75"/>166 <location filename="../ui/mainwindow.ce.ui" line="274"/> 167 <location filename="../ui/mainwindow.ui" line="262"/> 136 168 <source>Select application language</source> 137 169 <translation>Обрати мову додатку</translation> 138 170 </message> 139 171 <message> 140 <location filename="../ui/mainwindow.ui" line="3 32"/>172 <location filename="../ui/mainwindow.ui" line="322"/> 141 173 <source>P&rint Setup...</source> 142 174 <translation>&Налагодження друку...</translation> 143 175 </message> 144 176 <message> 145 <location filename="../ui/mainwindow.ui" line="3 35"/>177 <location filename="../ui/mainwindow.ui" line="325"/> 146 178 <source>Setup printing</source> 147 179 <translation>Налагодити друк</translation> 148 180 </message> 149 181 <message> 150 <location filename="../ui/mainwindow.ui" line="3 47"/>182 <location filename="../ui/mainwindow.ui" line="337"/> 151 183 <source>&Print...</source> 152 184 <translation>&Друк...</translation> 153 185 </message> 154 186 <message> 155 <location filename="../ui/mainwindow.ui" line="3 50"/>187 <location filename="../ui/mainwindow.ui" line="340"/> 156 188 <source>Print solution results</source> 157 189 <translation>Роздрукувати результат розв'язку</translation> 158 190 </message> 159 191 <message> 160 <location filename="../ui/mainwindow.ui" line="3 53"/>192 <location filename="../ui/mainwindow.ui" line="343"/> 161 193 <source>Ctrl+P</source> 162 194 <translation></translation> 163 195 </message> 164 196 <message> 165 <location filename="../ui/mainwindow.ui" line="573"/> 197 <location filename="../ui/mainwindow.ce.ui" line="356"/> 198 <location filename="../ui/mainwindow.ui" line="379"/> 199 <source>&Solution...</source> 200 <translation>&Розв'язок...</translation> 201 </message> 202 <message> 203 <location filename="../ui/mainwindow.ui" line="559"/> 166 204 <source>Save</source> 167 205 <translation>Зберегти</translation> 168 206 </message> 169 207 <message> 170 <location filename="../ui/mainwindow.ce.ui" line="5 31"/>171 <location filename="../ui/mainwindow.ui" line="5 44"/>208 <location filename="../ui/mainwindow.ce.ui" line="514"/> 209 <location filename="../ui/mainwindow.ui" line="530"/> 172 210 <source>Detect language automatically</source> 173 211 <translation>Визначати мову автоматично</translation> 174 212 </message> 175 213 <message> 176 <location filename="../ui/mainwindow.ce.ui" line="5 34"/>177 <location filename="../ui/mainwindow.ui" line="5 47"/>214 <location filename="../ui/mainwindow.ce.ui" line="517"/> 215 <location filename="../ui/mainwindow.ui" line="533"/> 178 216 <source>Detect language automatically based on regional settings</source> 179 217 <translation>Визначати мову автоматично, використовуючи регіональні стандарти</translation> 180 218 </message> 181 219 <message> 182 <location filename="../ui/mainwindow.ce.ui" line="5 17"/>183 <location filename="../ui/mainwindow.ui" line="5 30"/>220 <location filename="../ui/mainwindow.ce.ui" line="500"/> 221 <location filename="../ui/mainwindow.ui" line="516"/> 184 222 <source>Ctrl+S</source> 185 223 <translation></translation> 186 224 </message> 187 225 <message> 188 <location filename="../ui/mainwindow.ce.ui" line=" 403"/>189 <location filename="../ui/mainwindow.ui" line="4 16"/>226 <location filename="../ui/mainwindow.ce.ui" line="386"/> 227 <location filename="../ui/mainwindow.ui" line="406"/> 190 228 <source>Ctrl+N</source> 191 229 <translation></translation> 192 230 </message> 193 231 <message> 194 <location filename="../ui/mainwindow.ce.ui" line="5 6"/>195 <location filename="../ui/mainwindow.ui" line=" 35"/>232 <location filename="../ui/mainwindow.ce.ui" line="53"/> 233 <location filename="../ui/mainwindow.ui" line="41"/> 196 234 <source>Task</source> 197 <translation> Завдання</translation>198 </message> 199 <message> 200 <location filename="../ui/mainwindow.ce.ui" line="7 7"/>201 <location filename="../ui/mainwindow.ui" line=" 56"/>235 <translation>Умова</translation> 236 </message> 237 <message> 238 <location filename="../ui/mainwindow.ce.ui" line="74"/> 239 <location filename="../ui/mainwindow.ui" line="62"/> 202 240 <source>&Variant:</source> 203 241 <translation>&Варіант:</translation> 204 242 </message> 205 243 <message> 206 <location filename="../ui/mainwindow.ce.ui" line=" 100"/>207 <location filename="../ui/mainwindow.ui" line=" 79"/>244 <location filename="../ui/mainwindow.ce.ui" line="97"/> 245 <location filename="../ui/mainwindow.ui" line="85"/> 208 246 <source>&Cities:</source> 209 247 <translation>&Міст:</translation> 210 248 </message> 211 249 <message> 212 <location filename="../ui/mainwindow.ce.ui" line="14 4"/>213 <location filename="../ui/mainwindow.ui" line="12 3"/>250 <location filename="../ui/mainwindow.ce.ui" line="141"/> 251 <location filename="../ui/mainwindow.ui" line="129"/> 214 252 <source>Cost of travel from city to city</source> 215 253 <translation>Вартість переїзду з міста у місто</translation> 216 254 </message> 217 255 <message> 218 <location filename="../ui/mainwindow.ce.ui" line="1 72"/>219 <location filename="../ui/mainwindow.ui" line="15 1"/>256 <location filename="../ui/mainwindow.ce.ui" line="169"/> 257 <location filename="../ui/mainwindow.ui" line="157"/> 220 258 <source>Fill table with random numbers</source> 221 259 <translation>Заповнити таблицю випадковими значеннями</translation> 222 260 </message> 223 261 <message> 224 <location filename="../ui/mainwindow.ce.ui" line="17 5"/>225 <location filename="../ui/mainwindow.ui" line="1 54"/>262 <location filename="../ui/mainwindow.ce.ui" line="172"/> 263 <location filename="../ui/mainwindow.ui" line="160"/> 226 264 <source>Random</source> 227 265 <translation>Випадково</translation> 228 266 </message> 229 267 <message> 230 <location filename="../ui/mainwindow.ce.ui" line="18 9"/>231 <location filename="../ui/mainwindow.ui" line="1 68"/>268 <location filename="../ui/mainwindow.ce.ui" line="186"/> 269 <location filename="../ui/mainwindow.ui" line="174"/> 232 270 <source>Solve current task</source> 233 271 <translation>Розв'язати поточну задачу</translation> 234 272 </message> 235 273 <message> 236 <location filename="../ui/mainwindow.ce.ui" line="1 92"/>237 <location filename="../ui/mainwindow.ui" line="17 1"/>274 <location filename="../ui/mainwindow.ce.ui" line="189"/> 275 <location filename="../ui/mainwindow.ui" line="177"/> 238 276 <source>Solve</source> 239 277 <translation>Розв'язати</translation> 240 278 </message> 241 279 <message> 242 <location filename="../ui/mainwindow.ce.ui" line="20 6"/>243 <location filename="../ui/mainwindow.ui" line="1 85"/>280 <location filename="../ui/mainwindow.ce.ui" line="203"/> 281 <location filename="../ui/mainwindow.ui" line="191"/> 244 282 <source>Solution</source> 245 283 <translation>Розв'язок</translation> 246 284 </message> 247 285 <message> 248 <location filename="../ui/mainwindow.ce.ui" line="2 23"/>249 <location filename="../ui/mainwindow.ui" line="20 2"/>286 <location filename="../ui/mainwindow.ce.ui" line="212"/> 287 <location filename="../ui/mainwindow.ui" line="200"/> 250 288 <source>Solution steps</source> 251 289 <translation>Хід розв'язку</translation> 252 290 </message> 253 291 <message> 254 <location filename="../ui/mainwindow.ce.ui" line="233"/> 255 <location filename="../ui/mainwindow.ui" line="212"/> 256 <source>Solution graph</source> 257 <translation>Граф розв'язку</translation> 258 </message> 259 <message> 260 <location filename="../ui/mainwindow.ce.ui" line="259"/> 261 <location filename="../ui/mainwindow.ui" line="240"/> 292 <location filename="../ui/mainwindow.ce.ui" line="242"/> 293 <location filename="../ui/mainwindow.ui" line="230"/> 262 294 <source>&File</source> 263 295 <translation>&Файл</translation> 264 296 </message> 265 297 <message> 266 <location filename="../ui/mainwindow.ce.ui" line="2 66"/>267 <location filename="../ui/mainwindow.ui" line="2 44"/>298 <location filename="../ui/mainwindow.ce.ui" line="249"/> 299 <location filename="../ui/mainwindow.ui" line="234"/> 268 300 <source>Save &As...</source> 269 301 <translation>Зберегти &як...</translation> 270 302 </message> 271 303 <message> 272 <location filename="../ui/mainwindow.ce.ui" line="348"/> 273 <location filename="../ui/mainwindow.ui" line="361"/> 304 <location filename="../ui/mainwindow.ce.ui" line="277"/> 305 <location filename="../ui/mainwindow.ui" line="265"/> 306 <source>&Language</source> 307 <comment>Please, append " / Language" when translating this string.</comment> 308 <translation>Мова / &Language</translation> 309 </message> 310 <message> 311 <location filename="../ui/mainwindow.ce.ui" line="328"/> 312 <location filename="../ui/mainwindow.ui" line="351"/> 274 313 <source>Solution S&teps</source> 275 314 <translation>&Хід розв'язку</translation> 276 315 </message> 277 316 <message> 278 <location filename="../ui/mainwindow.ce.ui" line="3 62"/>279 <location filename="../ui/mainwindow.ui" line="3 75"/>317 <location filename="../ui/mainwindow.ce.ui" line="342"/> 318 <location filename="../ui/mainwindow.ui" line="365"/> 280 319 <source>Solution &Graph</source> 281 320 <translation>&Граф розв'язку</translation> 282 321 </message> 283 322 <message> 284 <location filename="../ui/mainwindow.ce.ui" line="466"/> 285 <location filename="../ui/mainwindow.ui" line="479"/> 323 <location filename="../ui/mainwindow.ce.ui" line="359"/> 324 <source>Solution...</source> 325 <translation>Розв'язок...</translation> 326 </message> 327 <message> 328 <location filename="../ui/mainwindow.ce.ui" line="449"/> 329 <location filename="../ui/mainwindow.ui" line="469"/> 286 330 <source>Context &Help</source> 287 331 <translation>&Контекстна допомога</translation> 288 332 </message> 289 333 <message> 290 <location filename="../ui/mainwindow.ce.ui" line="5 57"/>291 <location filename="../ui/mainwindow.ui" line="5 70"/>334 <location filename="../ui/mainwindow.ce.ui" line="540"/> 335 <location filename="../ui/mainwindow.ui" line="556"/> 292 336 <source>&Save</source> 293 337 <translation>&Зберегти</translation> 294 338 </message> 295 339 <message> 296 <location filename="../ui/mainwindow.ce.ui" line="2 87"/>297 <location filename="../ui/mainwindow.ui" line="2 68"/>340 <location filename="../ui/mainwindow.ce.ui" line="267"/> 341 <location filename="../ui/mainwindow.ui" line="255"/> 298 342 <source>&Settings</source> 299 343 <translation>&Налагодження</translation> … … 306 350 </message> 307 351 <message> 308 <location filename="../ui/mainwindow.ce.ui" line="297"/> 309 <location filename="../ui/mainwindow.ui" line="278"/> 310 <source>&Language</source> 311 <extracomment>Please, append " / Language" when translating this string. 312 ---------- 313 Please, append " / Language" when translating this string.</extracomment> 314 <translation>Мова / &Language</translation> 315 </message> 316 <message> 317 <location filename="../ui/mainwindow.ce.ui" line="313"/> 318 <location filename="../ui/mainwindow.ui" line="294"/> 352 <location filename="../ui/mainwindow.ce.ui" line="293"/> 353 <location filename="../ui/mainwindow.ui" line="281"/> 319 354 <source>&Help</source> 320 355 <translation>&Допомога</translation> 321 356 </message> 322 357 <message> 323 <location filename="../ui/mainwindow.ce.ui" line="3 51"/>324 <location filename="../ui/mainwindow.ui" line="3 64"/>358 <location filename="../ui/mainwindow.ce.ui" line="331"/> 359 <location filename="../ui/mainwindow.ui" line="354"/> 325 360 <source>Save solution steps</source> 326 361 <translation>Зберегти хід розв'язку</translation> 327 362 </message> 328 363 <message> 329 <location filename="../ui/mainwindow.ce.ui" line="3 54"/>330 <location filename="../ui/mainwindow.ui" line="3 67"/>364 <location filename="../ui/mainwindow.ce.ui" line="334"/> 365 <location filename="../ui/mainwindow.ui" line="357"/> 331 366 <source>Save solution steps only</source> 332 367 <translation>Зберегти тільки хід розв'язку</translation> 333 368 </message> 334 369 <message> 335 <location filename="../ui/mainwindow.ce.ui" line="3 65"/>336 <location filename="../ui/mainwindow.ui" line="3 78"/>370 <location filename="../ui/mainwindow.ce.ui" line="345"/> 371 <location filename="../ui/mainwindow.ui" line="368"/> 337 372 <source>Save solution graph</source> 338 373 <translation>Зберегти граф розв'язку</translation> 339 374 </message> 340 375 <message> 341 <location filename="../ui/mainwindow.ce.ui" line="3 68"/>342 <location filename="../ui/mainwindow.ui" line="3 81"/>376 <location filename="../ui/mainwindow.ce.ui" line="348"/> 377 <location filename="../ui/mainwindow.ui" line="371"/> 343 378 <source>Save solution graph only</source> 344 379 <translation>Зберегти тільки граф розв'язку</translation> 345 380 </message> 346 381 <message> 347 <location filename="../ui/mainwindow.ce.ui" line="376"/> 348 <location filename="../ui/mainwindow.ui" line="389"/> 349 <source>&Solution</source> 350 <translation>&Розв'язок</translation> 351 </message> 352 <message> 353 <location filename="../ui/mainwindow.ce.ui" line="379"/> 354 <location filename="../ui/mainwindow.ui" line="392"/> 382 <location filename="../ui/mainwindow.ce.ui" line="362"/> 383 <location filename="../ui/mainwindow.ui" line="382"/> 355 384 <source>Save solution</source> 356 385 <translation>Зберегти розв'язок</translation> 357 386 </message> 358 387 <message> 359 <location filename="../ui/mainwindow.ce.ui" line="3 82"/>360 <location filename="../ui/mainwindow.ui" line="3 95"/>388 <location filename="../ui/mainwindow.ce.ui" line="365"/> 389 <location filename="../ui/mainwindow.ui" line="385"/> 361 390 <source>Save solution steps and graph</source> 362 391 <translation>Зберегти хід та граф розв'язку</translation> 363 392 </message> 364 393 <message> 365 <location filename="../ui/mainwindow.ce.ui" line="3 91"/>366 <location filename="../ui/mainwindow.ui" line=" 404"/>394 <location filename="../ui/mainwindow.ce.ui" line="374"/> 395 <location filename="../ui/mainwindow.ui" line="394"/> 367 396 <source>&New</source> 368 397 <translation>&Створити</translation> 369 398 </message> 370 399 <message> 371 <location filename="../ui/mainwindow.ce.ui" line="3 94"/>372 <location filename="../ui/mainwindow.ui" line=" 407"/>400 <location filename="../ui/mainwindow.ce.ui" line="377"/> 401 <location filename="../ui/mainwindow.ui" line="397"/> 373 402 <source>New</source> 374 403 <translation>Створити</translation> 375 404 </message> 376 405 <message> 377 <location filename="../ui/mainwindow.ce.ui" line="3 97"/>378 <location filename="../ui/mainwindow.ui" line="4 10"/>406 <location filename="../ui/mainwindow.ce.ui" line="380"/> 407 <location filename="../ui/mainwindow.ui" line="400"/> 379 408 <source>New task</source> 380 <translation>Нов е завдання</translation>381 </message> 382 <message> 383 <location filename="../ui/mainwindow.ce.ui" line=" 400"/>384 <location filename="../ui/mainwindow.ui" line="4 13"/>409 <translation>Нова задача</translation> 410 </message> 411 <message> 412 <location filename="../ui/mainwindow.ce.ui" line="383"/> 413 <location filename="../ui/mainwindow.ui" line="403"/> 385 414 <source>Create new task</source> 386 <translation>Створити нов е завдання</translation>387 </message> 388 <message> 389 <location filename="../ui/mainwindow.ce.ui" line=" 412"/>390 <location filename="../ui/mainwindow.ui" line="4 25"/>415 <translation>Створити нову задачу</translation> 416 </message> 417 <message> 418 <location filename="../ui/mainwindow.ce.ui" line="395"/> 419 <location filename="../ui/mainwindow.ui" line="415"/> 391 420 <source>&Open...</source> 392 421 <translation>&Відкрити...</translation> 393 422 </message> 394 423 <message> 395 <location filename="../ui/mainwindow.ce.ui" line=" 415"/>396 <location filename="../ui/mainwindow.ui" line="4 28"/>424 <location filename="../ui/mainwindow.ce.ui" line="398"/> 425 <location filename="../ui/mainwindow.ui" line="418"/> 397 426 <source>Open...</source> 398 427 <translation>Відкрити...</translation> 399 428 </message> 400 429 <message> 401 <location filename="../ui/mainwindow.ce.ui" line="4 18"/>402 <location filename="../ui/mainwindow.ui" line="4 31"/>430 <location filename="../ui/mainwindow.ce.ui" line="401"/> 431 <location filename="../ui/mainwindow.ui" line="421"/> 403 432 <source>Open task</source> 404 <translation>Відкрити завдання</translation>405 </message> 406 <message> 407 <location filename="../ui/mainwindow.ce.ui" line="4 21"/>408 <location filename="../ui/mainwindow.ui" line="4 34"/>433 <translation>Відкрити умову</translation> 434 </message> 435 <message> 436 <location filename="../ui/mainwindow.ce.ui" line="404"/> 437 <location filename="../ui/mainwindow.ui" line="424"/> 409 438 <source>Open saved task</source> 410 <translation>Відкрити збережен е завдання</translation>411 </message> 412 <message> 413 <location filename="../ui/mainwindow.ce.ui" line="4 24"/>414 <location filename="../ui/mainwindow.ui" line="4 37"/>439 <translation>Відкрити збережену умову</translation> 440 </message> 441 <message> 442 <location filename="../ui/mainwindow.ce.ui" line="407"/> 443 <location filename="../ui/mainwindow.ui" line="427"/> 415 444 <source>Ctrl+O</source> 416 445 <translation></translation> 417 446 </message> 418 447 <message> 419 <location filename="../ui/mainwindow.ce.ui" line="4 33"/>420 <location filename="../ui/mainwindow.ui" line="4 46"/>448 <location filename="../ui/mainwindow.ce.ui" line="416"/> 449 <location filename="../ui/mainwindow.ui" line="436"/> 421 450 <source>&Preferences...</source> 422 451 <translation>&Параметри...</translation> 423 452 </message> 424 453 <message> 425 <location filename="../ui/mainwindow.ce.ui" line="4 36"/>426 <location filename="../ui/mainwindow.ui" line="4 49"/>454 <location filename="../ui/mainwindow.ce.ui" line="419"/> 455 <location filename="../ui/mainwindow.ui" line="439"/> 427 456 <source>Preferences...</source> 428 457 <translation>Параметри...</translation> 429 458 </message> 430 459 <message> 431 <location filename="../ui/mainwindow.ce.ui" line="4 39"/>432 <location filename="../ui/mainwindow.ui" line="4 52"/>460 <location filename="../ui/mainwindow.ce.ui" line="422"/> 461 <location filename="../ui/mainwindow.ui" line="442"/> 433 462 <source>Application preferences</source> 434 463 <translation>Параметри додатку</translation> 435 464 </message> 436 465 <message> 437 <location filename="../ui/mainwindow.ce.ui" line="4 51"/>438 <location filename="../ui/mainwindow.ui" line="4 64"/>466 <location filename="../ui/mainwindow.ce.ui" line="434"/> 467 <location filename="../ui/mainwindow.ui" line="454"/> 439 468 <source>&Contents</source> 440 469 <translation>&Зміст</translation> 441 470 </message> 442 471 <message> 443 <location filename="../ui/mainwindow.ce.ui" line="4 54"/>444 <location filename="../ui/mainwindow.ui" line="4 67"/>472 <location filename="../ui/mainwindow.ce.ui" line="437"/> 473 <location filename="../ui/mainwindow.ui" line="457"/> 445 474 <source>Open help contents</source> 446 475 <translation>Відкрити зміст допомоги</translation> 447 476 </message> 448 477 <message> 449 <location filename="../ui/mainwindow.ce.ui" line="4 69"/>450 <location filename="../ui/mainwindow.ui" line="4 82"/>478 <location filename="../ui/mainwindow.ce.ui" line="452"/> 479 <location filename="../ui/mainwindow.ui" line="472"/> 451 480 <source>Open context help</source> 452 481 <translation>Відкрити контекстну допомогу</translation> 453 482 </message> 454 483 <message> 455 <location filename="../ui/mainwindow.ce.ui" line="4 78"/>456 <location filename="../ui/mainwindow.ui" line="4 91"/>484 <location filename="../ui/mainwindow.ce.ui" line="461"/> 485 <location filename="../ui/mainwindow.ui" line="481"/> 457 486 <source>&About...</source> 458 487 <translation>&Про...</translation> 459 488 </message> 460 489 <message> 461 <location filename="../ui/mainwindow.ce.ui" line="4 81"/>462 <location filename="../ui/mainwindow.ui" line="4 94"/>490 <location filename="../ui/mainwindow.ce.ui" line="464"/> 491 <location filename="../ui/mainwindow.ui" line="484"/> 463 492 <source>About...</source> 464 493 <translation>Про...</translation> 465 494 </message> 466 495 <message> 467 <location filename="../ui/mainwindow.ce.ui" line="4 84"/>468 <location filename="../ui/mainwindow.ui" line="4 97"/>496 <location filename="../ui/mainwindow.ce.ui" line="467"/> 497 <location filename="../ui/mainwindow.ui" line="487"/> 469 498 <source>About application</source> 470 499 <translation>Про додаток</translation> 471 500 </message> 472 501 <message> 473 <location filename="../ui/mainwindow.ce.ui" line="4 93"/>474 <location filename="../ui/mainwindow.ui" line=" 506"/>502 <location filename="../ui/mainwindow.ce.ui" line="476"/> 503 <location filename="../ui/mainwindow.ui" line="496"/> 475 504 <source>E&xit</source> 476 505 <translation>В&ихід</translation> 477 506 </message> 478 507 <message> 479 <location filename="../ui/mainwindow.ce.ui" line="4 96"/>480 <location filename="../ui/mainwindow.ui" line=" 509"/>508 <location filename="../ui/mainwindow.ce.ui" line="479"/> 509 <location filename="../ui/mainwindow.ui" line="499"/> 481 510 <source>Exit application</source> 482 511 <translation>Вийти з додатку</translation> 483 512 </message> 484 513 <message> 485 <location filename="../ui/mainwindow.ce.ui" line=" 505"/>486 <location filename="../ui/mainwindow.ui" line="5 18"/>514 <location filename="../ui/mainwindow.ce.ui" line="488"/> 515 <location filename="../ui/mainwindow.ui" line="504"/> 487 516 <source>&Task...</source> 488 <translation>& Завдання...</translation>489 </message> 490 <message> 491 <location filename="../ui/mainwindow.ce.ui" line=" 508"/>492 <location filename="../ui/mainwindow.ui" line="5 21"/>517 <translation>&Умову...</translation> 518 </message> 519 <message> 520 <location filename="../ui/mainwindow.ce.ui" line="491"/> 521 <location filename="../ui/mainwindow.ui" line="507"/> 493 522 <source>Task...</source> 494 <translation>Завдання...</translation> 523 <translation>Умову...</translation> 524 </message> 525 <message> 526 <location filename="../ui/mainwindow.ce.ui" line="494"/> 527 <location filename="../ui/mainwindow.ce.ui" line="543"/> 528 <location filename="../ui/mainwindow.ui" line="510"/> 529 <location filename="../ui/mainwindow.ui" line="562"/> 530 <source>Save task</source> 531 <translation>Зберегти умову</translation> 532 </message> 533 <message> 534 <location filename="../ui/mainwindow.ce.ui" line="497"/> 535 <location filename="../ui/mainwindow.ui" line="513"/> 536 <source>Save task to file</source> 537 <translation>Зберегти умову задачі у файл</translation> 495 538 </message> 496 539 <message> 497 540 <location filename="../ui/mainwindow.ce.ui" line="511"/> 498 <location filename="../ui/mainwindow.ce.ui" line="560"/>499 <location filename="../ui/mainwindow.ui" line="524"/>500 <location filename="../ui/mainwindow.ui" line="576"/>501 <source>Save task</source>502 <translation>Зберегти завдання</translation>503 </message>504 <message>505 <location filename="../ui/mainwindow.ce.ui" line="514"/>506 541 <location filename="../ui/mainwindow.ui" line="527"/> 507 <source>Save task to file</source>508 <translation>Зберегти завдання до файлу</translation>509 </message>510 <message>511 <location filename="../ui/mainwindow.ce.ui" line="528"/>512 <location filename="../ui/mainwindow.ui" line="541"/>513 542 <source>&Autodetect</source> 514 543 <translation>&Автовизначення</translation> 515 544 </message> 516 545 <message> 517 <location filename="../ui/mainwindow.ce.ui" line="5 45"/>546 <location filename="../ui/mainwindow.ce.ui" line="528"/> 518 547 <source>English</source> 519 548 <translation>Англійська</translation> 520 549 </message> 521 550 <message> 522 <location filename="../ui/mainwindow.ce.ui" line="5 63"/>523 <location filename="../ui/mainwindow.ui" line="5 79"/>551 <location filename="../ui/mainwindow.ce.ui" line="546"/> 552 <location filename="../ui/mainwindow.ui" line="565"/> 524 553 <source>Save current task</source> 525 <translation>Зберегти поточн е завдання</translation>526 </message> 527 <message> 528 <location filename="../ui/mainwindow.ce.ui" line="5 72"/>529 <location filename="../ui/mainwindow.ui" line="5 88"/>554 <translation>Зберегти поточну умову</translation> 555 </message> 556 <message> 557 <location filename="../ui/mainwindow.ce.ui" line="555"/> 558 <location filename="../ui/mainwindow.ui" line="574"/> 530 559 <source>About &Qt...</source> 531 560 <translation>Про &Qt...</translation> 532 561 </message> 533 562 <message> 534 <location filename="../ui/mainwindow.ce.ui" line="5 75"/>535 <location filename="../ui/mainwindow.ui" line="5 91"/>563 <location filename="../ui/mainwindow.ce.ui" line="558"/> 564 <location filename="../ui/mainwindow.ui" line="577"/> 536 565 <source>About Qt...</source> 537 566 <translation>Про Qt...</translation> 538 567 </message> 539 568 <message> 540 <location filename="../ui/mainwindow.ce.ui" line="5 78"/>569 <location filename="../ui/mainwindow.ce.ui" line="561"/> 541 570 <source>About Qt</source> 542 571 <translation>Про Qt</translation> 543 572 </message> 544 573 <message> 545 <location filename="../ui/mainwindow.ce.ui" line="5 81"/>546 <location filename="../ui/mainwindow.ui" line="5 94"/>574 <location filename="../ui/mainwindow.ce.ui" line="564"/> 575 <location filename="../ui/mainwindow.ui" line="580"/> 547 576 <source>About Qt library</source> 548 577 <translation>Про бібліотеку Qt</translation> 549 578 </message> 550 579 <message> 551 <location filename="../src/mainwindow.cpp" line="1 34"/>552 <location filename="../src/mainwindow.cpp" line=" 323"/>553 <location filename="../src/mainwindow.cpp" line=" 332"/>580 <location filename="../src/mainwindow.cpp" line="141"/> 581 <location filename="../src/mainwindow.cpp" line="439"/> 582 <location filename="../src/mainwindow.cpp" line="448"/> 554 583 <source>Language change</source> 555 584 <translation>Зміна мови</translation> 556 585 </message> 557 586 <message> 558 <location filename="../src/mainwindow.cpp" line="1 34"/>587 <location filename="../src/mainwindow.cpp" line="141"/> 559 588 <source>Unable to load translation language.</source> 560 589 <translation>Неможливо завантажити переклад.</translation> 561 590 </message> 562 591 <message> 563 <location filename="../src/mainwindow.cpp" line=" 180"/>592 <location filename="../src/mainwindow.cpp" line="202"/> 564 593 <source>All Supported Formats</source> 565 594 <translation>Усі підтримувані формати</translation> 566 595 </message> 567 596 <message> 568 <location filename="../src/mainwindow.cpp" line="183"/> 569 <location filename="../src/mainwindow.cpp" line="203"/> 597 <location filename="../src/mainwindow.cpp" line="205"/> 598 <location filename="../src/mainwindow.cpp" line="232"/> 599 <location filename="../src/mainwindow.cpp" line="251"/> 570 600 <source>All Files</source> 571 601 <translation>Усі файли</translation> 572 602 </message> 573 603 <message> 604 <location filename="../src/mainwindow.cpp" line="203"/> 605 <location filename="../src/mainwindow.cpp" line="204"/> 606 <source>%1 Task Files</source> 607 <translation>Файли умов %1</translation> 608 </message> 609 <message> 574 610 <location filename="../src/mainwindow.cpp" line="181"/> 575 <location filename="../src/mainwindow.cpp" line="182"/>576 <source>%1 Task Files</source>577 <translation>Файли завдань %1</translation>578 </message>579 <message>580 <location filename="../src/mainwindow.cpp" line="162"/>581 611 <source>New Task</source> 582 612 <translation>Нова задача</translation> 583 613 </message> 584 614 <message> 585 <location filename="../src/mainwindow.cpp" line="1 62"/>586 <location filename="../src/mainwindow.cpp" line="1 73"/>587 <location filename="../src/mainwindow.cpp" line=" 346"/>615 <location filename="../src/mainwindow.cpp" line="181"/> 616 <location filename="../src/mainwindow.cpp" line="195"/> 617 <location filename="../src/mainwindow.cpp" line="462"/> 588 618 <source>Would you like to save changes in current task?</source> 589 619 <translation>Бажаете зберегти зміни у поточній задачі?</translation> 590 620 </message> 591 621 <message> 592 <location filename="../src/mainwindow.cpp" line="1 73"/>622 <location filename="../src/mainwindow.cpp" line="195"/> 593 623 <source>Task Open</source> 594 624 <translation>Відкриття завдання</translation> 595 625 </message> 596 626 <message> 597 <location filename="../src/mainwindow.cpp" line="202"/> 627 <location filename="../src/mainwindow.cpp" line="230"/> 628 <source>HTML Files</source> 629 <translation>Файли HTML</translation> 630 </message> 631 <message> 632 <location filename="../src/mainwindow.cpp" line="231"/> 633 <source>OpenDocument Files</source> 634 <translation>Файли OpenDocument</translation> 635 </message> 636 <message> 637 <location filename="../src/mainwindow.cpp" line="250"/> 598 638 <source>%1 Task File</source> 599 <translation>Файл завдання %1</translation> 600 </message> 601 <message> 602 <location filename="../src/mainwindow.cpp" line="259"/> 639 <translation>Файл умови %1</translation> 640 </message> 641 <message> 642 <location filename="../src/mainwindow.cpp" line="273"/> 643 <source>Settings Changed</source> 644 <translation>Параметри змінено</translation> 645 </message> 646 <message> 647 <location filename="../src/mainwindow.cpp" line="273"/> 648 <source>You have changed color settings. 649 Do you wish to apply them to current solution text?</source> 650 <translation>Ви змінили параметри кольору. 651 Бажаєте застосувати їх до поточного тексту розв'зку?</translation> 652 </message> 653 <message> 654 <location filename="../src/mainwindow.cpp" line="337"/> 603 655 <source>Data error</source> 604 <translation>Помилка даних</translation>605 </message> 606 <message> 607 <location filename="../src/mainwindow.cpp" line=" 259"/>656 <translation>Помилка у даних</translation> 657 </message> 658 <message> 659 <location filename="../src/mainwindow.cpp" line="337"/> 608 660 <source>Error in cell [Row %1; Column %2]: Invalid data format.</source> 609 661 <translation>Помилка у комірці [Рядок %1; Колонка %2]: Невірний формат даних.</translation> 610 662 </message> 611 663 <message> 612 <location filename="../src/mainwindow.cpp" line="268"/> 613 <source>Solution error</source> 614 <translation>Помилка розв'язку</translation> 615 </message> 616 <message> 617 <location filename="../src/mainwindow.cpp" line="268"/> 618 <source>There was an error while solving the task.</source> 619 <translation>Під час розв'язання задачі виникла помилка.</translation> 620 </message> 621 <message> 622 <location filename="../src/mainwindow.cpp" line="323"/> 664 <location filename="../src/mainwindow.cpp" line="350"/> 665 <source>Variant #%1</source> 666 <translation>Варіант №%1</translation> 667 </message> 668 <message> 669 <location filename="../src/mainwindow.cpp" line="351"/> 670 <source>Task:</source> 671 <translation>Умова:</translation> 672 </message> 673 <message> 674 <location filename="../src/mainwindow.cpp" line="354"/> 675 <location filename="../src/mainwindow.cpp" line="380"/> 676 <source>Solution of Variant #%1 task</source> 677 <translation>Розв'язок варіанту №%1</translation> 678 </message> 679 <message> 680 <location filename="../src/mainwindow.cpp" line="361"/> 681 <source>Step #%1</source> 682 <translation>Крок №%1</translation> 683 </message> 684 <message> 685 <location filename="../src/mainwindow.cpp" line="364"/> 686 <source>This step has alternate candidates for branching.</source> 687 <translation>У цьому кроці є альтернативні кандидати на розгалудження.</translation> 688 </message> 689 <message> 690 <location filename="../src/mainwindow.cpp" line="376"/> 691 <source>Optimal path:</source> 692 <translation>Оптимальний шлях:</translation> 693 </message> 694 <message> 695 <location filename="../src/mainwindow.cpp" line="378"/> 696 <source>The price is <b>%1</b> units.</source> 697 <translation>Вартість - <b>%1</b> одиниць.</translation> 698 </message> 699 <message> 700 <location filename="../src/mainwindow.cpp" line="439"/> 623 701 <source>Language will be autodetected on next application start.</source> 624 702 <translation>Мову буде автоматично визначено при наступному запуску додатку.</translation> 625 703 </message> 626 704 <message> 627 <location filename="../src/mainwindow.cpp" line=" 332"/>705 <location filename="../src/mainwindow.cpp" line="448"/> 628 706 <source>You have language autodetection turned on. 629 707 It needs to be off. … … 634 712 </message> 635 713 <message> 636 <location filename="../src/mainwindow.cpp" line=" 346"/>714 <location filename="../src/mainwindow.cpp" line="462"/> 637 715 <source>Application Close</source> 638 716 <translation>Закриття додатку</translation> … … 647 725 </message> 648 726 <message> 649 <location filename="../ui/settingsdialog.ui" line="235"/> 650 <source>Print settings:</source> 651 <translation>Налагодження друку:</translation> 652 </message> 653 <message> 654 <location filename="../ui/settingsdialog.ui" line="249"/> 655 <source>&Left margin:</source> 656 <translation>&Лівий відступ:</translation> 657 </message> 658 <message> 659 <location filename="../ui/settingsdialog.ui" line="262"/> 660 <source>Left border margin for page</source> 661 <translation>Лівий відступ від межі сторінки під час друку</translation> 662 </message> 663 <message> 664 <location filename="../ui/settingsdialog.ui" line="329"/> 727 <location filename="../ui/settingsdialog.ui" line="283"/> 665 728 <source>Restore main window state and position on application restart</source> 666 <translation>Відновлювати стан та розмір головного вікна п ысля перезапуску додатку</translation>667 </message> 668 <message> 669 <location filename="../ui/settingsdialog.ui" line=" 332"/>729 <translation>Відновлювати стан та розмір головного вікна після перезапуску додатку</translation> 730 </message> 731 <message> 732 <location filename="../ui/settingsdialog.ui" line="286"/> 670 733 <source>Save main window state and position</source> 671 734 <translation>Зберегти стан та розміщення головного вікна</translation> 672 735 </message> 673 736 <message> 674 <location filename="../ui/settingsdialog.ui" line=" 403"/>737 <location filename="../ui/settingsdialog.ui" line="369"/> 675 738 <source>Hover mouse pointer over dialog elements to get additional help</source> 676 739 <translation>Наведіть покажчик миші на елемент ділогу, щоб отримати підказку</translation> … … 713 776 </message> 714 777 <message> 715 <location filename="../ui/settingsdialog.ce.ui" line="202"/> 716 <location filename="../ui/settingsdialog.ui" line="288"/> 778 <location filename="../ui/settingsdialog.ce.ui" line="184"/> 779 <location filename="../ui/settingsdialog.ui" line="235"/> 780 <source>Output settings:</source> 781 <translation>Параметри виводу:</translation> 782 </message> 783 <message> 784 <location filename="../ui/settingsdialog.ce.ui" line="210"/> 785 <location filename="../ui/settingsdialog.ui" line="261"/> 717 786 <source>Font color for printing</source> 718 787 <translation>Колір шрифта для друку</translation> 719 788 </message> 720 789 <message> 721 <location filename="../ui/settingsdialog.ce.ui" line="2 05"/>722 <location filename="../ui/settingsdialog.ui" line="2 91"/>790 <location filename="../ui/settingsdialog.ce.ui" line="213"/> 791 <location filename="../ui/settingsdialog.ui" line="264"/> 723 792 <source>&Color...</source> 724 793 <translation>&Колір...</translation> 725 794 </message> 726 795 <message> 727 <location filename="../ui/settingsdialog.ce.ui" line=" 219"/>728 <location filename="../ui/settingsdialog.ui" line=" 305"/>796 <location filename="../ui/settingsdialog.ce.ui" line="193"/> 797 <location filename="../ui/settingsdialog.ui" line="244"/> 729 798 <source>Font face for printing</source> 730 799 <translation>Вигляд шрифта для друку</translation> 731 800 </message> 732 801 <message> 733 <location filename="../ui/settingsdialog.ce.ui" line=" 222"/>734 <location filename="../ui/settingsdialog.ui" line=" 308"/>802 <location filename="../ui/settingsdialog.ce.ui" line="196"/> 803 <location filename="../ui/settingsdialog.ui" line="247"/> 735 804 <source>&Font...</source> 736 805 <translation>&Шрифт...</translation> 737 806 </message> 738 807 <message> 739 <location filename="../ui/settingsdialog.ce.ui" line="2 87"/>740 <location filename="../ui/settingsdialog.ce.ui" line="2 93"/>741 <location filename="../ui/settingsdialog.ui" line="3 77"/>742 <location filename="../ui/settingsdialog.ui" line="3 83"/>808 <location filename="../ui/settingsdialog.ce.ui" line="279"/> 809 <location filename="../ui/settingsdialog.ce.ui" line="285"/> 810 <location filename="../ui/settingsdialog.ui" line="331"/> 811 <location filename="../ui/settingsdialog.ui" line="337"/> 743 812 <source>Help</source> 744 813 <translation>Допомога</translation> 745 814 </message> 746 815 <message> 747 <location filename="../ui/settingsdialog.ce.ui" line="2 90"/>748 <location filename="../ui/settingsdialog.ui" line="3 80"/>816 <location filename="../ui/settingsdialog.ce.ui" line="282"/> 817 <location filename="../ui/settingsdialog.ui" line="334"/> 749 818 <source>Get preferences help</source> 750 819 <translation>Отримати допомогу по налагодженням</translation> 751 820 </message> 752 821 <message> 753 <location filename="../ui/settingsdialog.ce.ui" line="3 23"/>754 <location filename="../ui/settingsdialog.ui" line=" 425"/>822 <location filename="../ui/settingsdialog.ce.ui" line="315"/> 823 <location filename="../ui/settingsdialog.ui" line="391"/> 755 824 <source>Save new preferences</source> 756 825 <translation>Зберегти нові параметри</translation> 757 826 </message> 758 827 <message> 759 <location filename="../ui/settingsdialog.ce.ui" line="3 26"/>760 <location filename="../ui/settingsdialog.ui" line=" 428"/>828 <location filename="../ui/settingsdialog.ce.ui" line="318"/> 829 <location filename="../ui/settingsdialog.ui" line="394"/> 761 830 <source>&OK</source> 762 831 <translation></translation> 763 832 </message> 764 833 <message> 765 <location filename="../ui/settingsdialog.ce.ui" line="3 43"/>766 <location filename="../ui/settingsdialog.ui" line="4 45"/>834 <location filename="../ui/settingsdialog.ce.ui" line="335"/> 835 <location filename="../ui/settingsdialog.ui" line="411"/> 767 836 <source>Close without saving preferences</source> 768 837 <translation>Закрити вікно без збереження параметрів</translation> 769 838 </message> 770 839 <message> 771 <location filename="../ui/settingsdialog.ce.ui" line="3 46"/>772 <location filename="../ui/settingsdialog.ui" line="4 48"/>840 <location filename="../ui/settingsdialog.ce.ui" line="338"/> 841 <location filename="../ui/settingsdialog.ui" line="414"/> 773 842 <source>&Cancel</source> 774 843 <translation>&Скасувати</translation> -
trunk/resources/tspsg.qrc
r38 r42 1 1 <RCC> 2 2 <qresource prefix="/images" > 3 <file>qtlogo-64.png</file>4 3 <file>About.bmp</file> 5 4 <file>Icon.png</file> … … 23 22 <file>icons/locale.png</file> 24 23 <file>icons/preferences_system.png</file> 24 <file>icons/qtlogo-64.png</file> 25 25 <file>icons/roll.png</file> 26 26 </qresource> -
trunk/resources/tspsg.rc
r18 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 10 10 11 11 #include "..\\src\\resource.h" 12 #pragma code_page(65001) 12 13 14 LANGUAGE 0x00, 0x00 15 16 // Main Icon 13 17 IDI_APPICON ICON "Icon.ico" 18 19 // Version Info 20 VS_VERSION_INFO VERSIONINFO 21 FILEVERSION BUILD_VERSION_MAJOR,BUILD_VERSION_MINOR,BUILD_RELEASE,BUILD_NUMBER 22 PRODUCTVERSION BUILD_VERSION_MAJOR,BUILD_VERSION_MINOR,BUILD_RELEASE,BUILD_NUMBER 23 FILEFLAGSMASK 0x17L 24 #ifdef _DEBUG 25 FILEFLAGS 0x1L 26 #else 27 FILEFLAGS 0x0L 28 #endif 29 #ifdef Q_OS_WINCE 30 FILEOS 0x50000L 31 #else 32 FILEOS 0x4L 33 #endif 34 FILETYPE 0x1L 35 FILESUBTYPE 0x0L 36 BEGIN 37 BLOCK "StringFileInfo" 38 BEGIN 39 BLOCK "000004b0" 40 BEGIN 41 VALUE "Comments", BUILD_STATUS 42 VALUE "CompanyName", "..::Lёppsville::.. Homes" 43 VALUE "FileDescription", "TSPSG: TSP Solver and Generator" 44 VALUE "FileVersion", BUILD_VERSION 45 VALUE "InternalName", "TSPSG" 46 VALUE "LegalCopyright", "Copyright © 2007 - 2009 Lёppa" 47 VALUE "OriginalFilename", "tspsg.exe" 48 VALUE "ProductName", "TSPSG" 49 VALUE "ProductVersion", BUILD_VERSION 50 END 51 END 52 BLOCK "VarFileInfo" 53 BEGIN 54 VALUE "Translation", 0x0, 1200 55 END 56 END -
trunk/src/globals.h
r31 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 29 29 #include <QtGui> 30 30 31 // Version info 32 #include "version.h" 31 33 // OS detection 32 34 #include "os.h" … … 38 40 #define DEF_OFFSET 100 39 41 #define DEF_FONT_FAMILY "Courier New" 40 #define DEF_FONT_SIZE 1 242 #define DEF_FONT_SIZE 10 41 43 #define DEF_FONT_COLOR Qt::black 42 44 … … 54 56 #define ZKT_VERSION quint8(1) 55 57 56 // Decided, that static array with 100 of cities maximum hard limit57 // will be enough for most cases, but the code will be simplier than58 // when using dynamic lists. If you need more, just change this value59 // and recompile the program ;-)60 #define MAX_CITIES 10061 58 // This value means infinity :-) 62 59 #ifndef INFINITY … … 64 61 #endif 65 62 // This is string, which represents infinite value in table 66 #define INFSTR "--- --"63 #define INFSTR "---" 67 64 68 65 #endif // GLOBALS_H -
trunk/src/main.cpp
r35 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * -
trunk/src/mainwindow.cpp
r41 r42 1 /*2 * TSPSG -TSP Solver and Generator1 /* 2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 30 30 loadLanguage(); 31 31 setupUi(this); 32 initDocStyleSheet(); 33 solutionText->document()->setDefaultFont(settings->value("Output/Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>()); 34 solutionText->setTextColor(settings->value("Output/Color",DEF_FONT_COLOR).value<QColor>()); 35 solutionText->setWordWrapMode(QTextOption::WordWrap); 32 36 #ifdef Q_OS_WINCE 33 37 // A little hack for toolbar icons to have sane size. … … 46 50 connect(actionFileNew,SIGNAL(triggered()),this,SLOT(actionFileNewTriggered())); 47 51 connect(actionFileOpen,SIGNAL(triggered()),this,SLOT(actionFileOpenTriggered())); 48 connect(actionFileSaveTask,SIGNAL(triggered()),this,SLOT(actionFileSaveTaskTriggered())); 52 connect(actionFileSaveAsTask,SIGNAL(triggered()),this,SLOT(actionFileSaveAsTaskTriggered())); 53 connect(actionFileSaveAsSolution,SIGNAL(triggered()),this,SLOT(actionFileSaveAsSolutionTriggered())); 49 54 connect(actionSettingsPreferences,SIGNAL(triggered()),this,SLOT(actionSettingsPreferencesTriggered())); 50 55 connect(actionSettingsLanguageAutodetect,SIGNAL(triggered(bool)),this,SLOT(actionSettingsLanguageAutodetectTriggered(bool))); … … 59 64 connect(spinCities,SIGNAL(valueChanged(int)),this,SLOT(spinCitiesValueChanged(int))); 60 65 QRect rect = geometry(); 61 #ifdef Q_OS_WINCE62 // HACK: Fix for all tabWidget elements becoming "unclickable" if making it central widget.63 /* rect.setSize(QApplication::desktop()->availableGeometry().size());64 rect.setHeight(rect.height() - (QApplication::desktop()->screenGeometry().height() - QApplication::desktop()->availableGeometry().height()));65 tabWidget->resize(rect.width(),rect.height() - toolBar->iconSize().height());*/66 // Somehow, this works now. No more "unclickable" elements :-\67 66 setCentralWidget(tabWidget); 68 # else67 #ifndef Q_OS_WINCE 69 68 if (settings->value("SavePos",false).toBool()) { 70 69 // Loading of saved window state … … 92 91 taskView->resizeRowsToContents(); 93 92 #endif // Q_OS_WINCE 93 } 94 95 void MainWindow::enableSolutionActions(bool enable) 96 { 97 actionFileSaveAsSolution->setEnabled(enable); 98 solutionText->setEnabled(enable); 99 if (!enable) 100 output.clear(); 94 101 } 95 102 … … 141 148 } 142 149 150 void MainWindow::initDocStyleSheet() 151 { 152 QColor color = settings->value("Output/Color",DEF_FONT_COLOR).value<QColor>(); 153 QColor hilight; 154 if (color.value() < 192) 155 hilight.setHsv(color.hue(),color.saturation(),127 + qRound(color.value() / 2)); 156 else 157 hilight.setHsv(color.hue(),color.saturation(),color.value() / 2); 158 solutionText->document()->setDefaultStyleSheet("* {color: " + color.name() +";} p {margin: 0px 10px;} table {margin: 5px;} td {padding: 1px 5px;} .hasalts {color: " + hilight.name() + ";} .selected {color: #A00000; font-weight: bold;} .alternate {color: #008000; font-weight: bold;}"); 159 solutionText->document()->setDefaultFont(settings->value("Output/Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>()); 160 } 161 143 162 void MainWindow::spinCitiesValueChanged(int n) 144 163 { … … 166 185 tspmodel->clear(); 167 186 setWindowModified(false); 187 tabWidget->setCurrentIndex(0); 188 solutionText->clear(); 189 enableSolutionActions(false); 168 190 } 169 191 … … 190 212 tspmodel->loadTask(files.first()); 191 213 setWindowModified(false); 192 } 193 194 void MainWindow::actionFileSaveTaskTriggered() 214 solutionText->clear(); 215 enableSolutionActions(false); 216 } 217 218 void MainWindow::actionFileSaveAsTaskTriggered() 195 219 { 196 220 saveTask(); 221 } 222 223 void MainWindow::actionFileSaveAsSolutionTriggered() 224 { 225 static QString selectedFile; 226 if (selectedFile.isEmpty()) 227 selectedFile = "solution.html"; 228 QFileDialog sd(this); 229 sd.setAcceptMode(QFileDialog::AcceptSave); 230 QStringList filters(trUtf8("HTML Files") + " (*.html *.htm)"); 231 filters.append(trUtf8("OpenDocument Files") + " (*.odt)"); 232 filters.append(trUtf8("All Files") + " (*)"); 233 sd.setNameFilters(filters); 234 sd.selectFile(selectedFile); 235 if (sd.exec() != QDialog::Accepted) 236 return; 237 QStringList files = sd.selectedFiles(); 238 if (files.empty()) 239 return; 240 selectedFile = files.first(); 241 QTextDocumentWriter dw(selectedFile); 242 if (!(selectedFile.endsWith(".htm",Qt::CaseInsensitive) || selectedFile.endsWith(".html",Qt::CaseInsensitive) || selectedFile.endsWith(".odt",Qt::CaseInsensitive) || selectedFile.endsWith(".txt",Qt::CaseInsensitive))) 243 dw.setFormat("plaintext"); 244 dw.write(solutionText->document()); 197 245 } 198 246 … … 219 267 { 220 268 SettingsDialog sd(this); 221 sd.exec(); 269 if (sd.exec() != QDialog::Accepted) 270 return; 271 if (sd.colorChanged() || sd.fontChanged()) { 272 initDocStyleSheet(); 273 if (!output.isEmpty() && sd.colorChanged() && (QMessageBox(QMessageBox::Question,trUtf8("Settings Changed"),trUtf8("You have changed color settings.\nDo you wish to apply them to current solution text?"),QMessageBox::Yes | QMessageBox::No,this).exec() == QMessageBox::Yes)) { 274 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); 275 solutionText->clear(); 276 solutionText->setHtml(output.join("")); 277 QApplication::restoreOverrideCursor(); 278 } 279 } 222 280 } 223 281 … … 245 303 } 246 304 305 void MainWindow::outputMatrix(tMatrix matrix, QStringList &output, int nRow, int nCol) 306 { 307 int n = spinCities->value(); 308 QString line=""; 309 output.append("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"); 310 for (int r = 0; r < n; r++) { 311 line = "<tr>"; 312 for (int c = 0; c < n; c++) { 313 if (matrix[r][c] == INFINITY) 314 line += "<td align=\"center\">"INFSTR"</td>"; 315 else if ((r == nRow) && (c == nCol)) 316 line += "<td align=\"center\" class=\"selected\">" + QVariant(matrix[r][c]).toString() + "</td>"; 317 else 318 line += "<td align=\"center\">" + QVariant(matrix[r][c]).toString() + "</td>"; 319 } 320 line += "</tr>"; 321 output.append(line); 322 } 323 output.append("</table>"); 324 } 325 247 326 void MainWindow::buttonSolveClicked() 248 327 { 249 // TODO: Task solving goes here :-)250 328 tMatrix matrix; 251 double *row;329 QList<double> row; 252 330 int n = spinCities->value(); 253 331 bool ok; 254 332 for (int r = 0; r < n; r++) { 255 row = new double[n];333 row.clear(); 256 334 for (int c = 0; c < n; c++) { 257 row [c] = tspmodel->index(r,c).data(Qt::UserRole).toDouble(&ok);335 row.append(tspmodel->index(r,c).data(Qt::UserRole).toDouble(&ok)); 258 336 if (!ok) { 259 337 QMessageBox(QMessageBox::Critical,trUtf8("Data error"),QString(trUtf8("Error in cell [Row %1; Column %2]: Invalid data format.")).arg(r + 1).arg(c + 1),QMessageBox::Ok,this).exec(); … … 266 344 sStep *root = solver.solve(spinCities->value(),matrix); 267 345 if (!root) 268 QMessageBox(QMessageBox::Critical,trUtf8("Solution error"),trUtf8("There was an error while solving the task."),QMessageBox::Ok,this).exec(); 269 // tabWidget->setCurrentIndex(1); 346 return; 347 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); 348 QColor color = settings->value("Output/Color",DEF_FONT_COLOR).value<QColor>(); 349 output.clear(); 350 output.append("<p>" + trUtf8("Variant #%1").arg(spinVariant->value()) + "</p>"); 351 output.append("<p>" + trUtf8("Task:") + "</p>"); 352 outputMatrix(matrix,output); 353 output.append("<hr>"); 354 output.append("<p>" + trUtf8("Solution of Variant #%1 task").arg(spinVariant->value()) + "</p>"); 355 sStep *step = root; 356 n = 1; 357 QString path = ""; 358 while (n <= spinCities->value()) { 359 if (step->prNode->prNode != NULL || (step->prNode->prNode == NULL && step->plNode->prNode == NULL)) { 360 if (n != spinCities->value()) { 361 output.append("<p>" + trUtf8("Step #%1").arg(n++) + "</p>"); 362 outputMatrix(step->matrix,output,step->candidate.nRow,step->candidate.nCol); 363 if (step->alts) 364 output.append("<p class=\"hasalts\">" + trUtf8("This step has alternate candidates for branching.") + "</p>"); 365 output.append("<p> </p>"); 366 } 367 path += QString(" (%1,%2)").arg(step->candidate.nRow + 1).arg(step->candidate.nCol + 1); 368 } 369 if (step->prNode->prNode != NULL) 370 step = step->prNode; 371 else if (step->plNode->prNode != NULL) 372 step = step->plNode; 373 else 374 break; 375 } 376 output.append("<p>" + trUtf8("Optimal path:") + "</p>"); 377 output.append("<p> " + path + "</p>"); 378 output.append("<p>" + trUtf8("The price is <b>%1</b> units.").arg(step->price) + "</p>"); 379 solutionText->setHtml(output.join("")); 380 solutionText->setDocumentTitle(trUtf8("Solution of Variant #%1 task").arg(spinVariant->value())); 381 enableSolutionActions(); 382 tabWidget->setCurrentIndex(1); 383 QApplication::restoreOverrideCursor(); 270 384 } 271 385 … … 274 388 // TODO: Normal about window :-) 275 389 QString about = QString::fromUtf8("TSPSG - TSP Solver and Generator\n"); 276 about += QString::fromUtf8(" Copyright (C) 2007-%1 Lёppa <contacts[at]oleksii[dot]name>\n").arg(QDate::currentDate().toString("yyyy")); 390 about += QString::fromUtf8(" Version: "BUILD_VERSION" ("BUILD_STATUS")\n"); 391 about += QString::fromUtf8(" Copyright (C) 2007-%1 Lёppa <contacts[at]oleksii[dot]name>\n").arg(QDate::currentDate().toString("yyyy")); 277 392 about += QString::fromUtf8("Target OS: %1\n").arg(OS); 278 393 about += "Qt library:\n"; -
trunk/src/mainwindow.h
r37 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 44 44 void actionFileNewTriggered(); 45 45 void actionFileOpenTriggered(); 46 void actionFileSaveTaskTriggered(); 46 void actionFileSaveAsTaskTriggered(); 47 void actionFileSaveAsSolutionTriggered(); 47 48 void actionSettingsPreferencesTriggered(); 48 49 void actionSettingsLanguageAutodetectTriggered(bool); … … 62 63 CTSPModel *tspmodel; 63 64 QActionGroup *groupSettingsLanguageList; 65 QStringList output; 64 66 bool loadLanguage(QString lang = ""); 65 67 void loadLangList(); 68 void initDocStyleSheet(); 66 69 bool saveTask(); 70 void outputMatrix(tMatrix, QStringList &, int nRow = -1, int nCol = -1); 71 void enableSolutionActions(bool enable = true); 67 72 }; 68 73 -
trunk/src/os.h
r41 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * -
trunk/src/resource.h
r18 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 9 9 */ 10 10 11 #include "version.h" 12 13 #define VS_VERSION_INFO 1 11 14 #define IDI_APPICON 101 -
trunk/src/settingsdialog.cpp
r31 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 25 25 26 26 SettingsDialog::SettingsDialog(QWidget *parent) 27 : QDialog(parent) 27 : QDialog(parent), newFont(false), newColor(false) 28 28 { 29 29 setupUi(this); … … 35 35 // setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::MSWindowsFixedSizeDialogHint); 36 36 setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint); 37 layout()->setSizeConstraint(layout()->SetFixedSize);38 37 #ifndef Q_OS_WINCE 39 38 // Setting initial text of dialog hint label to own status tip 40 39 // text. 41 40 labelHint->setText(labelHint->statusTip()); 42 // HACK: Do not resize label hint (and dialog) when text changes43 // from one-line to two-line and vice versa. Any better solution?44 labelHint->setMaximumHeight(labelHint->height());45 labelHint->setMinimumHeight(labelHint->height());46 41 #endif // Q_OS_WINCE 47 42 settings = new QSettings(QSettings::IniFormat,QSettings::UserScope,"TSPSG","tspsg"); … … 51 46 cbSaveState->setChecked(settings->value("SavePos",false).toBool()); 52 47 #endif // Q_OS_WINCE 53 settings->beginGroup(" Print");48 settings->beginGroup("Output"); 54 49 font = settings->value("Font",QFont(DEF_FONT_FAMILY,DEF_FONT_SIZE)).value<QFont>(); 55 50 color = settings->value("Color",DEF_FONT_COLOR).value<QColor>(); 51 settings->endGroup(); 52 } 53 54 void SettingsDialog::accept() 55 { 56 56 #ifndef Q_OS_WINCE 57 s pinLeftMargin->setValue(settings->value("Offset",DEF_OFFSET).toInt());57 settings->setValue("SavePos",cbSaveState->isChecked()); 58 58 #endif // Q_OS_WINCE 59 settings->setValue("MinCost",spinRandMin->value()); 60 settings->setValue("MaxCost",spinRandMax->value()); 61 settings->beginGroup("Output"); 62 if (newFont) 63 settings->setValue("Font",font); 64 if (newColor) 65 settings->setValue("Color",color); 59 66 settings->endGroup(); 67 QDialog::accept(); 68 } 69 70 void SettingsDialog::buttonFontClicked() 71 { 72 bool ok; 73 QFont font = QFontDialog::getFont(&ok,this->font,this); 74 if (ok && (this->font != font)) { 75 this->font = font; 76 newFont = true; 77 } 78 } 79 80 void SettingsDialog::buttonColorClicked() 81 { 82 QColor color = QColorDialog::getColor(this->color,this); 83 if (color.isValid() && (this->color != color)) { 84 this->color = color; 85 newColor = true; 86 } 87 } 88 89 bool SettingsDialog::colorChanged() const 90 { 91 return newColor; 92 } 93 94 bool SettingsDialog::fontChanged() const 95 { 96 return newFont; 60 97 } 61 98 … … 77 114 } 78 115 #endif // Q_OS_WINCE 79 80 void SettingsDialog::buttonFontClicked()81 {82 bool ok;83 QFont font = QFontDialog::getFont(&ok,this->font,this);84 if (ok)85 this->font = font;86 }87 88 void SettingsDialog::buttonColorClicked()89 {90 QColor color = QColorDialog::getColor(this->color,this);91 if (color.isValid())92 this->color = color;93 }94 95 void SettingsDialog::accept()96 {97 #ifndef Q_OS_WINCE98 settings->setValue("SavePos",cbSaveState->isChecked());99 #endif // Q_OS_WINCE100 settings->setValue("MinCost",spinRandMin->value());101 settings->setValue("MaxCost",spinRandMax->value());102 settings->beginGroup("Print");103 settings->setValue("Font",font);104 settings->setValue("Color",color);105 #ifndef Q_OS_WINCE106 settings->setValue("Offset",spinLeftMargin->value());107 #endif // Q_OS_WINCE108 settings->endGroup();109 QDialog::accept();110 } -
trunk/src/settingsdialog.h
r31 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 37 37 public: 38 38 SettingsDialog(QWidget *parent = 0); 39 bool fontChanged() const; 40 bool colorChanged() const; 39 41 40 42 private: … … 42 44 QFont font; 43 45 QColor color; 46 bool newFont; 47 bool newColor; 44 48 #ifndef Q_OS_WINCE 45 49 bool event(QEvent *); -
trunk/src/tspmodel.cpp
r37 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 119 119 return; 120 120 emit layoutAboutToBeChanged(); 121 if (n > nCities) { 122 for (int r = 0; r < nCities; r++) { 123 for (int c = nCities; c < n; c++) 124 if (r == c) 125 table[r][c] = INFINITY; 126 else 127 table[r][c] = 0; 128 } 129 for (int r = nCities; r < n; r++) { 130 for (int c = 0; c < n; c++) 131 if (r == c) 132 table[r][c] = INFINITY; 133 else 134 table[r][c] = 0; 135 } 136 } 121 table.resize(n); 122 for (int k = 0; k < n; k++) { 123 table[k].resize(n); 124 } 125 if (n > nCities) 126 for (int k = nCities; k < n; k++) 127 table[k][k] = INFINITY; 137 128 nCities = n; 138 129 emit layoutChanged(); … … 148 139 } 149 140 150 inline bool CTSPModel::loadError(QDataStream::Status status) const141 inline bool CTSPModel::loadError(QDataStream::Status status) 151 142 { 152 143 QString err; … … 257 248 // Costs 258 249 double val; 259 for (int r = 0; r < size; r++)260 for (int c = 0; c < size; c++)261 if ( r != c) {250 for (int r = 0; r < 5; r++) 251 for (int c = 0; c < 5; c++) 252 if ((r != c) && (r < size)) { 262 253 ds->readRawData(reinterpret_cast<char *>(&val),8); 263 254 if (loadError(ds->status())) { -
trunk/src/tspmodel.h
r37 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 48 48 private: 49 49 QSettings *settings; 50 double table[MAX_CITIES][MAX_CITIES];50 QVector<QVector<double>> table; 51 51 quint16 nCities; 52 52 int rand(int, int) const; 53 bool loadError(QDataStream::Status) const;53 bool loadError(QDataStream::Status); 54 54 void loadZKT(QDataStream *); 55 55 void loadTSPT(QDataStream *); -
trunk/src/tspsolver.cpp
r17 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 26 26 27 27 CTSPSolver::CTSPSolver() 28 { 29 } 30 31 double CTSPSolver::findMinInRow(int nRow, tMatrix matrix) 28 : nCities(0) 29 { 30 } 31 32 void CTSPSolver::cleanup() 33 { 34 route.clear(); 35 } 36 37 double CTSPSolver::findMinInRow(int nRow, tMatrix matrix, int exc) 32 38 { 33 39 double min = INFINITY; 34 40 for (int k = 0; k < nCities; k++) 35 if ( min > matrix[nRow][k])41 if (((k != exc)) && (min > matrix[nRow][k])) 36 42 min = matrix[nRow][k]; 37 43 return min == INFINITY ? 0 : min; 38 44 } 39 45 40 double CTSPSolver::findMinInCol(int nCol, tMatrix matrix )46 double CTSPSolver::findMinInCol(int nCol, tMatrix matrix, int exr) 41 47 { 42 48 double min = INFINITY; 43 49 for (int k = 0; k < nCities; k++) 44 if ( min > matrix[k][nCol])50 if ((k != exr) && (min > matrix[k][nCol])) 45 51 min = matrix[k][nCol]; 46 52 return min == INFINITY ? 0 : min; 47 53 } 48 54 49 sStep *CTSPSolver::solve(int numCities, tMatrix task) 55 void CTSPSolver::subRow(tMatrix &matrix, int nRow, double val) 56 { 57 for (int k = 0; k < nCities; k++) 58 if (k != nRow) 59 matrix[nRow][k] -= val; 60 } 61 62 void CTSPSolver::subCol(tMatrix &matrix, int nCol, double val) 63 { 64 for (int k = 0; k < nCities; k++) 65 if (k != nCol) 66 matrix[k][nCol] -= val; 67 } 68 69 double CTSPSolver::align(tMatrix &matrix) 70 { 71 double r = 0; 72 double min; 73 for (int k = 0; k < nCities; k++) { 74 min = findMinInRow(k,matrix); 75 if (min > 0) { 76 r += min; 77 subRow(matrix,k,min); 78 } 79 } 80 for (int k = 0; k < nCities; k++) { 81 min = findMinInCol(k,matrix); 82 if (min > 0) { 83 r += min; 84 subCol(matrix,k,min); 85 } 86 } 87 return r; 88 } 89 90 bool CTSPSolver::findCandidate(tMatrix matrix, int &nRow, int &nCol, double &h) 91 { 92 h = -1; 93 nRow = -1; 94 nCol = -1; 95 bool alts = false; 96 double sum; 97 for (int r = 0; r < nCities; r++) 98 for (int c = 0; c < nCities; c++) 99 if ((matrix[r][c] == 0) && !forbidden.values(r).contains(c)) { 100 sum = findMinInRow(r,matrix,c) + findMinInCol(c,matrix,r); 101 if (sum > h) { 102 h = sum; 103 nRow = r; 104 nCol = c; 105 alts = false; 106 } else if (sum == h) 107 alts = true; 108 } 109 return alts; 110 } 111 112 bool CTSPSolver::hasSubCycles(int nRow, int nCol) 113 { 114 if ((nRow < 0) || (nCol < 0) || route.isEmpty() || !(route.size() < nCities - 1) || !route.contains(nCol)) 115 return false; 116 int i = nCol; 117 while (true) { 118 if ((i = route[i]) == nRow) 119 return true; 120 if (!route.contains(i)) 121 return false; 122 } 123 return false; 124 } 125 126 // TODO: Comment the algorithm 127 sStep *CTSPSolver::solve(int numCities, tMatrix task, QWidget *parent) 50 128 { 51 129 if (numCities <= 1) 52 130 return NULL; 131 cleanup(); 53 132 nCities = numCities; 133 double s; 134 QProgressDialog pd(parent); 135 QProgressBar *pb = new QProgressBar(&pd); 136 pb->setAlignment(Qt::AlignCenter); 137 pb->setFormat(trUtf8("%v of %m parts found")); 138 pd.setBar(pb); 139 pd.setMaximum(nCities); 140 pd.setMinimumDuration(1000); 141 pd.setLabelText(trUtf8("Calculating optimal route...")); 142 pd.setWindowTitle(trUtf8("Solution Progress")); 143 pd.setWindowModality(Qt::ApplicationModal); 144 pd.setValue(0); 145 54 146 sStep *step = new sStep(); 55 147 step->matrix = task; 148 149 s = align(step->matrix); 150 step->price = s; 56 151 root = step; 57 152 58 return step; 59 } 153 sStep *left, *right; 154 int nRow, nCol; 155 while (route.size() < nCities) { 156 forbidden.clear(); 157 step->alts = findCandidate(step->matrix,nRow,nCol,s); 158 while (hasSubCycles(nRow,nCol)) { 159 forbidden[nRow] = nCol; 160 step->matrix[nRow][nCol] = INFINITY; 161 step->price += align(step->matrix); 162 step->alts = findCandidate(step->matrix,nRow,nCol,s); 163 } 164 if ((nRow == -1) || (nCol == -1) || pd.wasCanceled()) { 165 root = NULL; 166 break; 167 } 168 169 // Route with (nRow,nCol) path 170 right = new sStep(); 171 right->matrix = step->matrix; 172 for (int k = 0; k < nCities; k++) { 173 if (k != nCol) 174 right->matrix[nRow][k] = INFINITY; 175 if (k != nRow) 176 right->matrix[k][nCol] = INFINITY; 177 } 178 right->price = step->price + align(right->matrix); 179 // Forbid selected route to exclude its reuse in next steps. 180 right->matrix[nCol][nRow] = INFINITY; 181 right->matrix[nRow][nCol] = INFINITY; 182 183 // Route without (nRow,nCol) path 184 left = new sStep(); 185 left->matrix = step->matrix; 186 left->matrix[nRow][nCol] = INFINITY; 187 left->price = step->price + align(left->matrix); 188 189 step->candidate.nRow = nRow; 190 step->candidate.nCol = nCol; 191 step->plNode = left; 192 step->prNode = right; 193 194 if (right->price <= left->price) { 195 // Route with (nRow,nCol) path is cheaper 196 step = right; 197 route[nRow] = nCol; 198 pd.setValue(route.size()); 199 } else { 200 // Route without (nRow,nCol) path is cheaper 201 step = left; 202 qApp->processEvents(); 203 } 204 } 205 206 pd.reset(); 207 qApp->processEvents(); 208 209 if (!root && !pd.wasCanceled()) { 210 QMessageBox(QMessageBox::Warning,trUtf8("Solution Result"),trUtf8("This task has no solution."),QMessageBox::Ok,parent).exec(); 211 } 212 213 return root; 214 } -
trunk/src/tspsolver.h
r31 r42 1 1 /* 2 * TSPSG -TSP Solver and Generator2 * TSPSG: TSP Solver and Generator 3 3 * Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 4 4 * … … 27 27 #include "globals.h" 28 28 29 typedef QList< double *> tMatrix;29 typedef QList<QList<double>> tMatrix; 30 30 31 31 // This structure represents one step of solving 32 32 // The tree of such elements will represent the solving process 33 33 struct sStep { 34 tMatrix matrix; 35 double price; 36 struct {unsigned int x; unsigned int y;} pos; 37 sStep *plNode, *prNode; 38 sStep() { price = pos.x = pos.y = 0; plNode = prNode = NULL; } 34 tMatrix matrix; // Steps's matrix 35 double price; // Price of travel to this step 36 struct {unsigned int nRow; unsigned int nCol;} candidate; // Candiadate for branching in current matrix 37 bool alts; // This matrix has alternative candidates 38 sStep *plNode, *prNode; // Pointers to left and right branch steps 39 sStep() { price = candidate.nRow = candidate.nCol = -1; alts = false; plNode = prNode = NULL; } // Default values 39 40 }; 40 41 … … 42 43 class CTSPSolver 43 44 { 45 Q_DECLARE_TR_FUNCTIONS(CTSPSolver) 46 44 47 public: 45 48 CTSPSolver(); 46 sStep *solve(int, tMatrix); 49 sStep *solve(int, tMatrix, QWidget *parent = 0); 50 47 51 private: 48 52 int nCities; 49 53 sStep *root; 50 double findMinInRow(int, tMatrix); 51 double findMinInCol(int, tMatrix); 54 QHash<int,int> route; 55 QHash<int,int> forbidden; 56 double align(tMatrix &); 57 void cleanup(); 58 bool findCandidate(tMatrix, int &, int &, double &); 59 double findMinInRow(int, tMatrix, int exc = -1); 60 double findMinInCol(int, tMatrix, int exr = -1); 61 bool hasSubCycles(int, int); 62 void subCol(tMatrix &, int, double); 63 void subRow(tMatrix &, int, double); 52 64 }; 53 65 -
trunk/tspsg.pri
r33 r42 1 1 ###################################################################### 2 2 # 3 # TSPSG -TSP Solver and Generator3 # TSPSG: TSP Solver and Generator 4 4 # Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 5 5 # … … 13 13 #Header files 14 14 HEADERS += src/globals.h \ 15 src/version.h \ 15 16 src/os.h \ 16 17 src/mainwindow.h \ -
trunk/tspsg.pro
r40 r42 1 1 ###################################################################### 2 2 # 3 # TSPSG -TSP Solver and Generator3 # TSPSG: TSP Solver and Generator 4 4 # Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 5 5 # -
trunk/ui/mainwindow.ce.ui
r39 r42 10 10 <x>0</x> 11 11 <y>0</y> 12 <width>2 34</width>13 <height> 292</height>12 <width>225</width> 13 <height>322</height> 14 14 </rect> 15 15 </property> … … 22 22 </property> 23 23 <widget class="QWidget" name="centralwidget"> 24 <property name="enabled">25 <bool>true</bool>26 </property>27 24 <widget class="QTabWidget" name="tabWidget"> 28 25 <property name="enabled"> … … 31 28 <property name="geometry"> 32 29 <rect> 33 <x> 0</x>34 <y> 0</y>35 <width>2 35</width>36 <height>24 0</height>30 <x>9</x> 31 <y>9</y> 32 <width>207</width> 33 <height>248</height> 37 34 </rect> 38 35 </property> … … 206 203 <string>Solution</string> 207 204 </attribute> 208 <layout class="QVBoxLayout" name=" _4">205 <layout class="QVBoxLayout" name="verticalLayout_2"> 209 206 <item> 210 < layout class="QHBoxLayout" name="_5">211 <property name=" spacing">212 < number>0</number>207 <widget class="QTextEdit" name="solutionText"> 208 <property name="enabled"> 209 <bool>false</bool> 213 210 </property> 214 <item> 215 <widget class="QTextEdit" name="textEdit"> 216 <property name="sizePolicy"> 217 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 218 <horstretch>0</horstretch> 219 <verstretch>0</verstretch> 220 </sizepolicy> 221 </property> 222 <property name="statusTip"> 223 <string>Solution steps</string> 224 </property> 225 <property name="readOnly"> 226 <bool>true</bool> 227 </property> 228 </widget> 229 </item> 230 <item> 231 <widget class="QGraphicsView" name="graphicsView"> 232 <property name="statusTip"> 233 <string>Solution graph</string> 234 </property> 235 </widget> 236 </item> 237 </layout> 211 <property name="statusTip"> 212 <string>Solution steps</string> 213 </property> 214 <property name="readOnly"> 215 <bool>true</bool> 216 </property> 217 <property name="textInteractionFlags"> 218 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 219 </property> 220 </widget> 238 221 </item> 239 222 </layout> … … 246 229 <x>0</x> 247 230 <y>0</y> 248 <width>2 34</width>249 <height>2 4</height>231 <width>225</width> 232 <height>22</height> 250 233 </rect> 251 234 </property> … … 270 253 <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset> 271 254 </property> 272 <addaction name="actionFileSaveTask"/> 273 <addaction name="separator"/> 274 <addaction name="actionFileSaveResultAll"/> 275 <addaction name="actionFileSaveResultMatrices"/> 276 <addaction name="actionFileSaveResultGraph"/> 255 <addaction name="actionFileSaveAsTask"/> 256 <addaction name="actionFileSaveAsSolution"/> 277 257 </widget> 278 258 <addaction name="actionFileNew"/> … … 295 275 </property> 296 276 <property name="title"> 297 <string extracomment="Please, append " / Language" when translating this string.">&Language</string>277 <string comment="Please, append " / Language" when translating this string.">&Language</string> 298 278 </property> 299 279 <property name="icon"> … … 369 349 </property> 370 350 </action> 371 <action name="actionFileSave ResultAll">351 <action name="actionFileSaveAsSolution"> 372 352 <property name="enabled"> 373 353 <bool>false</bool> 374 354 </property> 375 355 <property name="text"> 376 <string>&Solution</string> 356 <string>&Solution...</string> 357 </property> 358 <property name="iconText"> 359 <string>Solution...</string> 377 360 </property> 378 361 <property name="toolTip"> … … 497 480 </property> 498 481 </action> 499 <action name="actionFileSave Task">482 <action name="actionFileSaveAsTask"> 500 483 <property name="icon"> 501 484 <iconset resource="../resources/tspsg.qrc"> … … 567 550 <property name="icon"> 568 551 <iconset resource="../resources/tspsg.qrc"> 569 <normaloff>:/images/ qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset>552 <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset> 570 553 </property> 571 554 <property name="text"> -
trunk/ui/mainwindow.ui
r39 r42 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"> -
trunk/ui/settingsdialog.ce.ui
r38 r42 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>2 35</width>10 <height> 180</height>9 <width>205</width> 10 <height>212</height> 11 11 </rect> 12 12 </property> … … 180 180 </item> 181 181 <item> 182 <layout class="QHBoxLayout" name="horizontalLayout_2"> 183 <item> 184 <spacer name="horizontalSpacer_3"> 185 <property name="orientation"> 186 <enum>Qt::Horizontal</enum> 187 </property> 188 <property name="sizeHint" stdset="0"> 189 <size> 190 <width>40</width> 191 <height>20</height> 192 </size> 193 </property> 194 </spacer> 195 </item> 196 <item> 197 <widget class="QPushButton" name="buttonColor"> 198 <property name="cursor"> 199 <cursorShape>PointingHandCursor</cursorShape> 200 </property> 201 <property name="statusTip"> 202 <string>Font color for printing</string> 203 </property> 204 <property name="text"> 205 <string>&Color...</string> 206 </property> 207 <property name="icon"> 208 <iconset resource="../resources/tspsg.qrc"> 209 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 210 </property> 211 </widget> 212 </item> 213 <item> 214 <widget class="QPushButton" name="buttonFont"> 215 <property name="cursor"> 216 <cursorShape>PointingHandCursor</cursorShape> 217 </property> 218 <property name="statusTip"> 219 <string>Font face for printing</string> 220 </property> 221 <property name="text"> 222 <string>&Font...</string> 223 </property> 224 <property name="icon"> 225 <iconset resource="../resources/tspsg.qrc"> 226 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 227 </property> 228 </widget> 229 </item> 230 </layout> 182 <widget class="QGroupBox" name="groupOutputSettings"> 183 <property name="title"> 184 <string>Output settings:</string> 185 </property> 186 <layout class="QHBoxLayout" name="horizontalLayout"> 187 <item> 188 <widget class="QPushButton" name="buttonFont"> 189 <property name="cursor"> 190 <cursorShape>PointingHandCursor</cursorShape> 191 </property> 192 <property name="statusTip"> 193 <string>Font face for printing</string> 194 </property> 195 <property name="text"> 196 <string>&Font...</string> 197 </property> 198 <property name="icon"> 199 <iconset resource="../resources/tspsg.qrc"> 200 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 201 </property> 202 </widget> 203 </item> 204 <item> 205 <widget class="QPushButton" name="buttonColor"> 206 <property name="cursor"> 207 <cursorShape>PointingHandCursor</cursorShape> 208 </property> 209 <property name="statusTip"> 210 <string>Font color for printing</string> 211 </property> 212 <property name="text"> 213 <string>&Color...</string> 214 </property> 215 <property name="icon"> 216 <iconset resource="../resources/tspsg.qrc"> 217 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 218 </property> 219 </widget> 220 </item> 221 </layout> 222 </widget> 231 223 </item> 232 224 <item> -
trunk/ui/settingsdialog.ui
r38 r42 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>4 48</width>10 <height>17 4</height>9 <width>415</width> 10 <height>176</height> 11 11 </rect> 12 12 </property> … … 231 231 </item> 232 232 <item> 233 <widget class="QGroupBox" name="group PrintSetup">233 <widget class="QGroupBox" name="groupOutputSettings"> 234 234 <property name="title"> 235 <string> Print settings:</string>235 <string>Output settings:</string> 236 236 </property> 237 237 <layout class="QVBoxLayout" name="verticalLayout"> 238 238 <item> 239 <layout class="QHBoxLayout"> 240 <item> 241 <widget class="QLabel" name="labelLeftMargin"> 242 <property name="sizePolicy"> 243 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 244 <horstretch>0</horstretch> 245 <verstretch>0</verstretch> 246 </sizepolicy> 247 </property> 248 <property name="text"> 249 <string>&Left margin:</string> 250 </property> 251 <property name="buddy"> 252 <cstring>spinLeftMargin</cstring> 253 </property> 254 </widget> 255 </item> 256 <item> 257 <widget class="QSpinBox" name="spinLeftMargin"> 258 <property name="cursor"> 259 <cursorShape>PointingHandCursor</cursorShape> 260 </property> 261 <property name="statusTip"> 262 <string>Left border margin for page</string> 263 </property> 264 <property name="maximum"> 265 <number>999</number> 266 </property> 267 <property name="singleStep"> 268 <number>10</number> 269 </property> 270 <property name="value"> 271 <number>100</number> 272 </property> 273 </widget> 274 </item> 275 </layout> 239 <widget class="QPushButton" name="buttonFont"> 240 <property name="cursor"> 241 <cursorShape>PointingHandCursor</cursorShape> 242 </property> 243 <property name="statusTip"> 244 <string>Font face for printing</string> 245 </property> 246 <property name="text"> 247 <string>&Font...</string> 248 </property> 249 <property name="icon"> 250 <iconset resource="../resources/tspsg.qrc"> 251 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 252 </property> 253 </widget> 276 254 </item> 277 255 <item> 278 <layout class="QHBoxLayout" name="horizontalLayout"> 279 <property name="spacing"> 280 <number>0</number> 281 </property> 282 <item> 283 <widget class="QPushButton" name="buttonColor"> 284 <property name="cursor"> 285 <cursorShape>PointingHandCursor</cursorShape> 286 </property> 287 <property name="statusTip"> 288 <string>Font color for printing</string> 289 </property> 290 <property name="text"> 291 <string>&Color...</string> 292 </property> 293 <property name="icon"> 294 <iconset resource="../resources/tspsg.qrc"> 295 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 296 </property> 297 </widget> 298 </item> 299 <item> 300 <widget class="QPushButton" name="buttonFont"> 301 <property name="cursor"> 302 <cursorShape>PointingHandCursor</cursorShape> 303 </property> 304 <property name="statusTip"> 305 <string>Font face for printing</string> 306 </property> 307 <property name="text"> 308 <string>&Font...</string> 309 </property> 310 <property name="icon"> 311 <iconset resource="../resources/tspsg.qrc"> 312 <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset> 313 </property> 314 </widget> 315 </item> 316 </layout> 256 <widget class="QPushButton" name="buttonColor"> 257 <property name="cursor"> 258 <cursorShape>PointingHandCursor</cursorShape> 259 </property> 260 <property name="statusTip"> 261 <string>Font color for printing</string> 262 </property> 263 <property name="text"> 264 <string>&Color...</string> 265 </property> 266 <property name="icon"> 267 <iconset resource="../resources/tspsg.qrc"> 268 <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset> 269 </property> 270 </widget> 317 271 </item> 318 272 </layout> … … 400 354 </sizepolicy> 401 355 </property> 356 <property name="minimumSize"> 357 <size> 358 <width>0</width> 359 <height>28</height> 360 </size> 361 </property> 362 <property name="maximumSize"> 363 <size> 364 <width>16777215</width> 365 <height>28</height> 366 </size> 367 </property> 402 368 <property name="statusTip"> 403 369 <string>Hover mouse pointer over dialog elements to get additional help</string> … … 460 426 <resources> 461 427 <include location="../resources/tspsg.qrc"/> 428 <include location="../resources/tspsg.qrc"/> 429 <include location="../resources/tspsg.qrc"/> 430 <include location="../resources/tspsg.qrc"/> 431 <include location="../resources/tspsg.qrc"/> 432 <include location="../resources/tspsg.qrc"/> 433 <include location="../resources/tspsg.qrc"/> 434 <include location="../resources/tspsg.qrc"/> 435 <include location="../resources/tspsg.qrc"/> 462 436 </resources> 463 437 <connections/>
Note: See TracChangeset
for help on using the changeset viewer.