1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>QgsGrassOptionsBase</class> 4 <widget class="QDialog" name="QgsGrassOptionsBase"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>616</width> 10 <height>411</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>GRASS Options</string> 15 </property> 16 <layout class="QVBoxLayout" name="verticalLayout_5"> 17 <item> 18 <widget class="QSplitter" name="mOptionsSplitter"> 19 <property name="enabled"> 20 <bool>true</bool> 21 </property> 22 <property name="orientation"> 23 <enum>Qt::Horizontal</enum> 24 </property> 25 <property name="childrenCollapsible"> 26 <bool>false</bool> 27 </property> 28 <widget class="QFrame" name="mOptionsListFrame"> 29 <property name="frameShape"> 30 <enum>QFrame::NoFrame</enum> 31 </property> 32 <property name="frameShadow"> 33 <enum>QFrame::Raised</enum> 34 </property> 35 <layout class="QVBoxLayout" name="verticalLayout_15"> 36 <property name="spacing"> 37 <number>0</number> 38 </property> 39 <property name="leftMargin"> 40 <number>0</number> 41 </property> 42 <property name="topMargin"> 43 <number>0</number> 44 </property> 45 <property name="rightMargin"> 46 <number>0</number> 47 </property> 48 <property name="bottomMargin"> 49 <number>0</number> 50 </property> 51 <item> 52 <widget class="QListWidget" name="mOptionsListWidget"> 53 <property name="minimumSize"> 54 <size> 55 <width>58</width> 56 <height>0</height> 57 </size> 58 </property> 59 <property name="maximumSize"> 60 <size> 61 <width>150</width> 62 <height>16777215</height> 63 </size> 64 </property> 65 <property name="horizontalScrollBarPolicy"> 66 <enum>Qt::ScrollBarAlwaysOff</enum> 67 </property> 68 <property name="editTriggers"> 69 <set>QAbstractItemView::NoEditTriggers</set> 70 </property> 71 <property name="iconSize"> 72 <size> 73 <width>32</width> 74 <height>32</height> 75 </size> 76 </property> 77 <property name="textElideMode"> 78 <enum>Qt::ElideNone</enum> 79 </property> 80 <property name="resizeMode"> 81 <enum>QListView::Adjust</enum> 82 </property> 83 <property name="uniformItemSizes"> 84 <bool>false</bool> 85 </property> 86 <property name="wordWrap"> 87 <bool>true</bool> 88 </property> 89 <item> 90 <property name="text"> 91 <string>General</string> 92 </property> 93 <property name="icon"> 94 <iconset resource="../../../images/images.qrc"> 95 <normaloff>:/images/themes/default/propertyicons/general.svg</normaloff>:/images/themes/default/propertyicons/general.svg</iconset> 96 </property> 97 </item> 98 <item> 99 <property name="text"> 100 <string>Modules</string> 101 </property> 102 <property name="icon"> 103 <iconset resource="../../../images/images.qrc"> 104 <normaloff>:/images/themes/default/grass_mapset.svg</normaloff>:/images/themes/default/grass_mapset.svg</iconset> 105 </property> 106 </item> 107 <item> 108 <property name="text"> 109 <string>Browser</string> 110 </property> 111 <property name="toolTip"> 112 <string>Browser</string> 113 </property> 114 <property name="icon"> 115 <iconset resource="../../../images/images.qrc"> 116 <normaloff>:/images/icons/qbrowser_icon.svg</normaloff>:/images/icons/qbrowser_icon.svg</iconset> 117 </property> 118 </item> 119 <item> 120 <property name="text"> 121 <string>Region</string> 122 </property> 123 <property name="icon"> 124 <iconset resource="../../plugins/grass/qgsgrass_plugin.qrc"> 125 <normaloff>:/images/themes/default/grass/grass_options_region.png</normaloff>:/images/themes/default/grass/grass_options_region.png</iconset> 126 </property> 127 </item> 128 </widget> 129 </item> 130 </layout> 131 </widget> 132 <widget class="QFrame" name="mOptionsFrame"> 133 <property name="sizePolicy"> 134 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 135 <horstretch>1</horstretch> 136 <verstretch>0</verstretch> 137 </sizepolicy> 138 </property> 139 <property name="frameShape"> 140 <enum>QFrame::NoFrame</enum> 141 </property> 142 <property name="frameShadow"> 143 <enum>QFrame::Plain</enum> 144 </property> 145 <layout class="QVBoxLayout" name="verticalLayout_6"> 146 <item> 147 <widget class="QStackedWidget" name="mOptionsStackedWidget"> 148 <property name="lineWidth"> 149 <number>0</number> 150 </property> 151 <property name="currentIndex"> 152 <number>2</number> 153 </property> 154 <widget class="QWidget" name="mGeneralPage"> 155 <layout class="QVBoxLayout" name="verticalLayout_11"> 156 <item> 157 <widget class="QLabel" name="mGrassVersionLabel"> 158 <property name="toolTip"> 159 <string>The version of GRASS which was used to build the GRASS provider and plugin in QGIS. Exactly the same version must be used on runtime.</string> 160 </property> 161 <property name="text"> 162 <string notr="true">GRASS version</string> 163 </property> 164 <property name="margin"> 165 <number>3</number> 166 </property> 167 </widget> 168 </item> 169 <item> 170 <widget class="QgsCollapsibleGroupBox" name="mGisbaseGroupBox"> 171 <property name="title"> 172 <string>GRASS installation</string> 173 </property> 174 <layout class="QVBoxLayout" name="verticalLayout_10"> 175 <item> 176 <widget class="QRadioButton" name="mGisbaseDefaultRadioButton"> 177 <property name="text"> 178 <string>Default</string> 179 </property> 180 </widget> 181 </item> 182 <item> 183 <layout class="QHBoxLayout" name="horizontalLayout_4"> 184 <item> 185 <widget class="QRadioButton" name="mGisbaseCustomRadioButton"> 186 <property name="text"> 187 <string>Custom</string> 188 </property> 189 </widget> 190 </item> 191 <item> 192 <widget class="QLineEdit" name="mGisbaseLineEdit"/> 193 </item> 194 <item> 195 <widget class="QPushButton" name="mGisbaseBrowseButton"> 196 <property name="text"> 197 <string>Browse</string> 198 </property> 199 </widget> 200 </item> 201 </layout> 202 </item> 203 <item> 204 <widget class="QLabel" name="mGisbaseErrorLabel"> 205 <property name="text"> 206 <string>GIsbase error</string> 207 </property> 208 </widget> 209 </item> 210 </layout> 211 </widget> 212 </item> 213 <item> 214 <spacer name="verticalSpacer_4"> 215 <property name="orientation"> 216 <enum>Qt::Vertical</enum> 217 </property> 218 <property name="sizeHint" stdset="0"> 219 <size> 220 <width>20</width> 221 <height>165</height> 222 </size> 223 </property> 224 </spacer> 225 </item> 226 </layout> 227 </widget> 228 <widget class="QWidget" name="mModulesPage"> 229 <layout class="QVBoxLayout" name="verticalLayout_7"> 230 <item> 231 <widget class="QgsScrollArea" name="mModulesScrollArea"> 232 <property name="frameShape"> 233 <enum>QFrame::NoFrame</enum> 234 </property> 235 <property name="frameShadow"> 236 <enum>QFrame::Plain</enum> 237 </property> 238 <property name="lineWidth"> 239 <number>0</number> 240 </property> 241 <property name="widgetResizable"> 242 <bool>true</bool> 243 </property> 244 <widget class="QWidget" name="mModulesContents"> 245 <property name="geometry"> 246 <rect> 247 <x>0</x> 248 <y>0</y> 249 <width>247</width> 250 <height>141</height> 251 </rect> 252 </property> 253 <layout class="QVBoxLayout" name="verticalLayout"> 254 <item> 255 <widget class="QgsCollapsibleGroupBox" name="mModulesConfigGroupBox"> 256 <property name="title"> 257 <string>Modules interface configuration</string> 258 </property> 259 <layout class="QVBoxLayout" name="verticalLayout_4"> 260 <item> 261 <widget class="QRadioButton" name="mModulesConfigDefaultRadioButton"> 262 <property name="text"> 263 <string>Default</string> 264 </property> 265 </widget> 266 </item> 267 <item> 268 <layout class="QHBoxLayout" name="horizontalLayout_3"> 269 <item> 270 <widget class="QRadioButton" name="mModulesConfigCustomRadioButton"> 271 <property name="text"> 272 <string>Custom</string> 273 </property> 274 </widget> 275 </item> 276 <item> 277 <widget class="QLineEdit" name="mModulesConfigDirLineEdit"/> 278 </item> 279 <item> 280 <widget class="QPushButton" name="mModulesConfigBrowseButton"> 281 <property name="text"> 282 <string>Browse</string> 283 </property> 284 </widget> 285 </item> 286 </layout> 287 </item> 288 </layout> 289 </widget> 290 </item> 291 <item> 292 <widget class="QCheckBox" name="mModulesDebugCheckBox"> 293 <property name="text"> 294 <string>Debug mode</string> 295 </property> 296 </widget> 297 </item> 298 <item> 299 <spacer name="verticalSpacer_2"> 300 <property name="orientation"> 301 <enum>Qt::Vertical</enum> 302 </property> 303 <property name="sizeHint" stdset="0"> 304 <size> 305 <width>20</width> 306 <height>246</height> 307 </size> 308 </property> 309 </spacer> 310 </item> 311 </layout> 312 </widget> 313 </widget> 314 </item> 315 </layout> 316 </widget> 317 <widget class="QWidget" name="mBrowserPage"> 318 <layout class="QVBoxLayout" name="verticalLayout_3"> 319 <property name="leftMargin"> 320 <number>0</number> 321 </property> 322 <property name="topMargin"> 323 <number>0</number> 324 </property> 325 <property name="rightMargin"> 326 <number>0</number> 327 </property> 328 <property name="bottomMargin"> 329 <number>0</number> 330 </property> 331 <item> 332 <widget class="QgsScrollArea" name="mBrowserScrollArea"> 333 <property name="frameShape"> 334 <enum>QFrame::NoFrame</enum> 335 </property> 336 <property name="frameShadow"> 337 <enum>QFrame::Plain</enum> 338 </property> 339 <property name="lineWidth"> 340 <number>0</number> 341 </property> 342 <property name="widgetResizable"> 343 <bool>true</bool> 344 </property> 345 <widget class="QWidget" name="mBrowserContents"> 346 <property name="geometry"> 347 <rect> 348 <x>0</x> 349 <y>0</y> 350 <width>426</width> 351 <height>329</height> 352 </rect> 353 </property> 354 <layout class="QVBoxLayout" name="verticalLayout_13"> 355 <item> 356 <widget class="QgsCollapsibleGroupBox" name="mImportGroupBox"> 357 <property name="title"> 358 <string>Import</string> 359 </property> 360 <layout class="QVBoxLayout" name="verticalLayout_2"> 361 <item> 362 <layout class="QHBoxLayout" name="horizontalLayout"> 363 <item> 364 <widget class="QLabel" name="mCrsTransformationLabel"> 365 <property name="text"> 366 <string>CRS transformation</string> 367 </property> 368 </widget> 369 </item> 370 <item> 371 <spacer name="horizontalSpacer"> 372 <property name="orientation"> 373 <enum>Qt::Horizontal</enum> 374 </property> 375 <property name="sizeHint" stdset="0"> 376 <size> 377 <width>40</width> 378 <height>20</height> 379 </size> 380 </property> 381 </spacer> 382 </item> 383 <item> 384 <widget class="QComboBox" name="mCrsTransformationComboBox"> 385 <property name="toolTip"> 386 <string>Approximate CRS transformation is fast but it may be inaccurate.</string> 387 </property> 388 </widget> 389 </item> 390 </layout> 391 </item> 392 <item> 393 <widget class="QCheckBox" name="mImportExternalCheckBox"> 394 <property name="toolTip"> 395 <string>Create a link to the external data for GDAL data sources with the same CRS as target mapset by r.external, instead of making copy of data.</string> 396 </property> 397 <property name="text"> 398 <string>Create link to external data if possible</string> 399 </property> 400 </widget> 401 </item> 402 </layout> 403 </widget> 404 </item> 405 <item> 406 <widget class="QgsCollapsibleGroupBox" name="mLayersBox"> 407 <property name="sizePolicy"> 408 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 409 <horstretch>0</horstretch> 410 <verstretch>0</verstretch> 411 </sizepolicy> 412 </property> 413 <property name="title"> 414 <string>Layers</string> 415 </property> 416 <layout class="QVBoxLayout" name="verticalLayout_12"> 417 <item> 418 <widget class="QCheckBox" name="mTopoLayersCheckBox"> 419 <property name="text"> 420 <string>Show virtual topological layers</string> 421 </property> 422 </widget> 423 </item> 424 </layout> 425 </widget> 426 </item> 427 <item> 428 <spacer name="verticalSpacer"> 429 <property name="orientation"> 430 <enum>Qt::Vertical</enum> 431 </property> 432 <property name="sizeHint" stdset="0"> 433 <size> 434 <width>20</width> 435 <height>40</height> 436 </size> 437 </property> 438 </spacer> 439 </item> 440 </layout> 441 </widget> 442 </widget> 443 </item> 444 </layout> 445 </widget> 446 <widget class="QWidget" name="mRegionPage"> 447 <layout class="QVBoxLayout" name="verticalLayout_9"> 448 <item> 449 <widget class="QgsCollapsibleGroupBox" name="mRegionGroupBox"> 450 <property name="title"> 451 <string>Region border</string> 452 </property> 453 <layout class="QVBoxLayout" name="verticalLayout_8"> 454 <item> 455 <layout class="QGridLayout" name="gridLayout_2"> 456 <item row="0" column="0"> 457 <widget class="QLabel" name="mRegionColorLabel"> 458 <property name="text"> 459 <string>Color</string> 460 </property> 461 </widget> 462 </item> 463 <item row="0" column="1"> 464 <widget class="QgsColorButton" name="mRegionColorButton"> 465 <property name="minimumSize"> 466 <size> 467 <width>120</width> 468 <height>0</height> 469 </size> 470 </property> 471 <property name="maximumSize"> 472 <size> 473 <width>120</width> 474 <height>16777215</height> 475 </size> 476 </property> 477 <property name="text"> 478 <string/> 479 </property> 480 </widget> 481 </item> 482 <item row="0" column="2"> 483 <spacer name="horizontalSpacer_2"> 484 <property name="orientation"> 485 <enum>Qt::Horizontal</enum> 486 </property> 487 <property name="sizeHint" stdset="0"> 488 <size> 489 <width>40</width> 490 <height>20</height> 491 </size> 492 </property> 493 </spacer> 494 </item> 495 <item row="1" column="0"> 496 <widget class="QLabel" name="mRegionWidthLabel"> 497 <property name="text"> 498 <string>Width</string> 499 </property> 500 </widget> 501 </item> 502 <item row="1" column="1"> 503 <widget class="QgsDoubleSpinBox" name="mRegionWidthSpinBox"> 504 <property name="decimals"> 505 <number>1</number> 506 </property> 507 <property name="singleStep"> 508 <double>0.200000000000000</double> 509 </property> 510 </widget> 511 </item> 512 </layout> 513 </item> 514 <item> 515 <spacer name="verticalSpacer_3"> 516 <property name="orientation"> 517 <enum>Qt::Vertical</enum> 518 </property> 519 <property name="sizeHint" stdset="0"> 520 <size> 521 <width>20</width> 522 <height>40</height> 523 </size> 524 </property> 525 </spacer> 526 </item> 527 </layout> 528 </widget> 529 </item> 530 </layout> 531 </widget> 532 </widget> 533 </item> 534 </layout> 535 </widget> 536 </widget> 537 </item> 538 <item> 539 <widget class="QFrame" name="mButtonBoxFrame"> 540 <property name="sizePolicy"> 541 <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> 542 <horstretch>0</horstretch> 543 <verstretch>0</verstretch> 544 </sizepolicy> 545 </property> 546 <property name="frameShape"> 547 <enum>QFrame::NoFrame</enum> 548 </property> 549 <property name="frameShadow"> 550 <enum>QFrame::Raised</enum> 551 </property> 552 <layout class="QGridLayout" name="gridLayout"> 553 <item row="0" column="0"> 554 <widget class="QDialogButtonBox" name="buttonBox"> 555 <property name="orientation"> 556 <enum>Qt::Horizontal</enum> 557 </property> 558 <property name="standardButtons"> 559 <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> 560 </property> 561 </widget> 562 </item> 563 </layout> 564 </widget> 565 </item> 566 </layout> 567 </widget> 568 <customwidgets> 569 <customwidget> 570 <class>QgsDoubleSpinBox</class> 571 <extends>QDoubleSpinBox</extends> 572 <header>qgsdoublespinbox.h</header> 573 </customwidget> 574 <customwidget> 575 <class>QgsScrollArea</class> 576 <extends>QScrollArea</extends> 577 <header>qgsscrollarea.h</header> 578 <container>1</container> 579 </customwidget> 580 <customwidget> 581 <class>QgsColorButton</class> 582 <extends>QToolButton</extends> 583 <header>qgscolorbutton.h</header> 584 <container>1</container> 585 </customwidget> 586 <customwidget> 587 <class>QgsCollapsibleGroupBox</class> 588 <extends>QGroupBox</extends> 589 <header>qgscollapsiblegroupbox.h</header> 590 <container>1</container> 591 </customwidget> 592 </customwidgets> 593 <resources> 594 <include location="../../plugins/grass/qgsgrass_plugin.qrc"/> 595 <include location="../../../images/images.qrc"/> 596 </resources> 597 <connections> 598 <connection> 599 <sender>mOptionsListWidget</sender> 600 <signal>currentRowChanged(int)</signal> 601 <receiver>mOptionsStackedWidget</receiver> 602 <slot>setCurrentIndex(int)</slot> 603 <hints> 604 <hint type="sourcelabel"> 605 <x>78</x> 606 <y>186</y> 607 </hint> 608 <hint type="destinationlabel"> 609 <x>384</x> 610 <y>186</y> 611 </hint> 612 </hints> 613 </connection> 614 </connections> 615</ui> 616