mapviewdock.ui 20.7 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
Benjamin Jakimow's avatar
Benjamin Jakimow committed
3 4
 <class>mapViewPanel</class>
 <widget class="QDockWidget" name="mapViewPanel">
5 6 7 8
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>367</width>
    <height>366</height>
11 12 13 14
   </rect>
  </property>
  <property name="minimumSize">
   <size>
15 16
    <width>224</width>
    <height>208</height>
17 18 19
   </size>
  </property>
  <property name="windowTitle">
20
   <string>Mapping</string>
21 22 23 24
  </property>
  <widget class="QWidget" name="dockWidgetContents">
   <layout class="QVBoxLayout" name="verticalLayout">
    <property name="spacing">
25
     <number>2</number>
26
    </property>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
27 28 29 30 31 32 33 34 35 36
    <property name="leftMargin">
     <number>2</number>
    </property>
    <property name="topMargin">
     <number>2</number>
    </property>
    <property name="rightMargin">
     <number>2</number>
    </property>
    <property name="bottomMargin">
37
     <number>2</number>
38
    </property>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
39
    <item>
40 41 42
     <layout class="QHBoxLayout" name="horizontalLayout_4">
      <property name="topMargin">
       <number>0</number>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
43
      </property>
44 45
      <item>
       <widget class="QToolButton" name="btnRemoveMapView">
46 47 48
        <property name="enabled">
         <bool>false</bool>
        </property>
49 50 51 52 53 54 55 56 57 58 59 60 61
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="autoFillBackground">
         <bool>false</bool>
        </property>
        <property name="text">
         <string>...</string>
        </property>
        <property name="icon">
62
         <iconset resource="eotsv_resources.qrc">
Benjamin Jakimow's avatar
Benjamin Jakimow committed
63
          <normaloff>:/eotimeseriesviewer/icons/mActionRemoveMapView.svg</normaloff>:/eotimeseriesviewer/icons/mActionRemoveMapView.svg</iconset>
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QToolButton" name="btnAddMapView">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>...</string>
        </property>
        <property name="icon">
82
         <iconset resource="eotsv_resources.qrc">
Benjamin Jakimow's avatar
Benjamin Jakimow committed
83
          <normaloff>:/eotimeseriesviewer/icons/mActionAddMapView.svg</normaloff>:/eotimeseriesviewer/icons/mActionAddMapView.svg</iconset>
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer_4">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
104
    </item>
105
    <item>
106
     <widget class="QToolBox" name="toolBox">
107
      <property name="sizePolicy">
108 109
       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
        <horstretch>0</horstretch>
110
        <verstretch>0</verstretch>
111 112
       </sizepolicy>
      </property>
113 114 115 116 117 118 119 120 121 122 123 124 125 126
      <property name="styleSheet">
       <string notr="true">QToolBox::tab {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                                stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
                                stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
    border-radius: 5px;
    color: black;
}

QToolBox::tab:selected { /* italicize selected tabs */
    /*font: italic;*/
    color: blue;

}</string>
127
      </property>
128 129
      <property name="currentIndex">
       <number>0</number>
130
      </property>
131 132 133 134 135
      <widget class="QWidget" name="pageMapProperties">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
136 137
         <width>363</width>
         <height>284</height>
138 139
        </rect>
       </property>
140 141 142 143 144 145
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>0</height>
        </size>
       </property>
146
       <attribute name="icon">
147
        <iconset resource="../../../QGIS_Images/images/images.qrc">
148 149
         <normaloff>:/images/themes/default/mLayoutItemMap.svg</normaloff>:/images/themes/default/mLayoutItemMap.svg</iconset>
       </attribute>
150 151 152
       <attribute name="label">
        <string>Map Properties</string>
       </attribute>
153 154 155 156
       <layout class="QFormLayout" name="formLayout">
        <property name="sizeConstraint">
         <enum>QLayout::SetDefaultConstraint</enum>
        </property>
157 158 159 160 161 162
        <property name="horizontalSpacing">
         <number>2</number>
        </property>
        <property name="verticalSpacing">
         <number>1</number>
        </property>
163 164 165 166 167 168 169 170 171 172
        <property name="leftMargin">
         <number>1</number>
        </property>
        <property name="topMargin">
         <number>1</number>
        </property>
        <property name="rightMargin">
         <number>1</number>
        </property>
        <property name="bottomMargin">
173
         <number>20</number>
174
        </property>
175 176 177 178 179
        <item row="0" column="0">
         <widget class="QLabel" name="label_14">
          <property name="toolTip">
           <string>Number of maps per map view row</string>
          </property>
180
          <property name="text">
181
           <string>Maps</string>
182 183 184 185 186 187 188 189 190
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
          <property name="buddy">
           <cstring>spinBoxMapSizeY</cstring>
          </property>
         </widget>
        </item>
191
        <item row="0" column="1">
192
         <layout class="QHBoxLayout" name="horizontalLayout">
193 194 195 196
          <property name="spacing">
           <number>2</number>
          </property>
          <property name="topMargin">
197 198 199
           <number>0</number>
          </property>
          <item>
200
           <widget class="QSpinBox" name="sbMapViewColumns">
201 202 203 204 205 206 207 208 209 210 211 212 213 214
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>0</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
215
              <width>100</width>
216 217 218 219
              <height>16777215</height>
             </size>
            </property>
            <property name="toolTip">
220
             <string>Number of maps per map view row</string>
221 222 223 224 225
            </property>
            <property name="specialValueText">
             <string/>
            </property>
            <property name="suffix">
226
             <string/>
227 228
            </property>
            <property name="minimum">
229
             <number>1</number>
230 231
            </property>
            <property name="maximum">
232
             <number>100</number>
233 234
            </property>
            <property name="singleStep">
235
             <number>1</number>
236 237
            </property>
            <property name="value">
238
             <number>3</number>
239 240 241 242
            </property>
           </widget>
          </item>
          <item>
243 244 245
           <widget class="QLabel" name="label">
            <property name="text">
             <string>x</string>
246
            </property>
247
           </widget>
248 249
          </item>
          <item>
250
           <widget class="QSpinBox" name="sbMapViewRows">
251 252 253 254 255 256 257 258 259 260 261 262 263 264
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>0</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
265
              <width>100</width>
266 267 268
              <height>16777215</height>
             </size>
            </property>
269 270
            <property name="toolTip">
             <string>Number of rows per map view.</string>
271
            </property>
272 273 274 275
            <property name="specialValueText">
             <string/>
            </property>
            <property name="suffix">
276 277 278
             <string/>
            </property>
            <property name="minimum">
279
             <number>1</number>
280 281
            </property>
            <property name="maximum">
282
             <number>100</number>
283 284
            </property>
            <property name="singleStep">
285
             <number>1</number>
286 287
            </property>
            <property name="value">
288
             <number>1</number>
289 290 291 292
            </property>
           </widget>
          </item>
          <item>
293
           <spacer name="horizontalSpacer">
294 295 296 297 298 299 300 301 302 303 304 305 306
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </item>
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
        <item row="2" column="0">
         <widget class="QLabel" name="label_8">
          <property name="text">
           <string>Width</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
          <property name="buddy">
           <cstring>spinBoxMapSizeY</cstring>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QSpinBox" name="spinBoxMapSizeX">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>0</height>
           </size>
          </property>
          <property name="maximumSize">
           <size>
            <width>100</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="toolTip">
           <string>Max. length of an image chip on screen.</string>
          </property>
          <property name="specialValueText">
           <string/>
          </property>
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="minimum">
           <number>20</number>
          </property>
          <property name="maximum">
           <number>1000</number>
          </property>
          <property name="singleStep">
           <number>25</number>
          </property>
          <property name="value">
           <number>250</number>
          </property>
         </widget>
        </item>
        <item row="3" column="0">
         <widget class="QLabel" name="label_6">
          <property name="text">
           <string>Height</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
          <property name="buddy">
           <cstring>spinBoxMapSizeY</cstring>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <widget class="QSpinBox" name="spinBoxMapSizeY">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>0</height>
           </size>
          </property>
          <property name="maximumSize">
           <size>
            <width>100</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="prefix">
           <string/>
          </property>
          <property name="minimum">
           <number>20</number>
          </property>
          <property name="maximum">
           <number>1000</number>
          </property>
          <property name="singleStep">
           <number>25</number>
          </property>
          <property name="value">
           <number>250</number>
          </property>
         </widget>
        </item>
        <item row="4" column="1">
         <widget class="QCheckBox" name="checkBoxKeepSubsetAspectRatio">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="text">
           <string>keep ratio</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item row="5" column="1">
         <widget class="QPushButton" name="btnApplySizeChanges">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="maximumSize">
           <size>
            <width>100</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="text">
           <string>Apply</string>
          </property>
         </widget>
        </item>
        <item row="6" column="0" colspan="2">
         <widget class="Line" name="line">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item row="7" column="0">
462 463 464 465 466 467 468 469 470 471 472 473
         <widget class="QLabel" name="label_16">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>CRS</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
        </item>
474
        <item row="7" column="1">
475 476 477 478 479 480 481
         <widget class="QgsProjectionSelectionWidget" name="btnCrs">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
482
          <property name="minimumSize">
483
           <size>
484
            <width>0</width>
485 486 487
            <height>0</height>
           </size>
          </property>
488 489 490 491 492
          <property name="toolTip">
           <string>Map coordinate reference system.</string>
          </property>
         </widget>
        </item>
493
        <item row="8" column="0">
494 495 496 497 498 499 500 501 502 503
         <widget class="QLabel" name="label_15">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>Background</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
504 505
         </widget>
        </item>
506
        <item row="8" column="1">
507 508 509 510 511 512 513
         <widget class="QgsColorButton" name="btnMapCanvasColor">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
514 515 516
          <property name="minimumSize">
           <size>
            <width>0</width>
517
            <height>0</height>
518 519
           </size>
          </property>
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
          <property name="maximumSize">
           <size>
            <width>16777215</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="toolTip">
           <string>Sets the map background color</string>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="colorDialogTitle">
           <string>Select Map Canvas Background Color</string>
          </property>
          <property name="color">
           <color>
            <red>0</red>
            <green>0</green>
            <blue>0</blue>
           </color>
          </property>
          <property name="context">
           <string/>
          </property>
545 546
         </widget>
        </item>
547
        <item row="9" column="0">
548 549 550 551 552 553 554 555 556 557 558 559
         <widget class="QLabel" name="label_17">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>Text</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
        </item>
560
        <item row="9" column="1">
561 562 563 564 565 566 567 568
         <widget class="QgsFontButton" name="btnTextFormat">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>2</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="maximumSize">
569
           <size>
570 571
            <width>16777215</width>
            <height>16777215</height>
572 573
           </size>
          </property>
574
          <property name="styleSheet">
575 576
           <string notr="true">QgsFontButton#btnTextFormat{background-color: rgb(0, 0, 0);
}</string>
577
          </property>
578 579 580 581 582 583 584 585 586 587 588
          <property name="text">
           <string>Map Info Text</string>
          </property>
          <property name="mode">
           <enum>QgsFontButton::ModeTextRenderer</enum>
          </property>
          <property name="dialogTitle">
           <string>Map Info Text Format</string>
          </property>
         </widget>
        </item>
589 590 591 592
        <item row="11" column="1">
         <spacer name="verticalSpacer">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
593
          </property>
594 595 596 597 598
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           </size>
599
          </property>
600
         </spacer>
601
        </item>
602 603
       </layout>
      </widget>
604 605 606 607
     </widget>
    </item>
   </layout>
  </widget>
608 609
  <action name="actionRemoveMapView">
   <property name="icon">
610
    <iconset resource="eotsv_resources.qrc">
Benjamin Jakimow's avatar
Benjamin Jakimow committed
611
     <normaloff>:/eotimeseriesviewer/icons/mActionRemoveMapView.svg</normaloff>:/eotimeseriesviewer/icons/mActionRemoveMapView.svg</iconset>
612 613 614 615 616 617 618 619 620 621
   </property>
   <property name="text">
    <string>Remove view</string>
   </property>
   <property name="toolTip">
    <string>Remove this map view</string>
   </property>
  </action>
  <action name="actionAddMapView">
   <property name="icon">
622
    <iconset resource="eotsv_resources.qrc">
Benjamin Jakimow's avatar
Benjamin Jakimow committed
623
     <normaloff>:/eotimeseriesviewer/icons/mActionAddMapView.svg</normaloff>:/eotimeseriesviewer/icons/mActionAddMapView.svg</iconset>
624 625 626 627 628
   </property>
   <property name="text">
    <string>ApplyStyles</string>
   </property>
   <property name="toolTip">
629 630 631
    <string>Create a new map view</string>
   </property>
  </action>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
632 633 634 635 636
  <action name="actionSetSubsetSize">
   <property name="text">
    <string>setSubsetSize</string>
   </property>
  </action>
637
 </widget>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
638 639 640 641 642
 <customwidgets>
  <customwidget>
   <class>QgsColorButton</class>
   <extends>QToolButton</extends>
   <header>qgscolorbutton.h</header>
643
   <container>1</container>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
644
  </customwidget>
645 646 647 648 649
  <customwidget>
   <class>QgsFontButton</class>
   <extends>QToolButton</extends>
   <header>qgsfontbutton.h</header>
  </customwidget>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
650 651 652 653 654 655 656
  <customwidget>
   <class>QgsProjectionSelectionWidget</class>
   <extends>QWidget</extends>
   <header>qgsprojectionselectionwidget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
657
 <resources>
658
  <include location="eotsv_resources.qrc"/>
659
  <include location="../../../QGIS_Images/images/images.qrc"/>
660
 </resources>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
661 662 663 664 665 666 667 668
 <connections>
  <connection>
   <sender>checkBoxKeepSubsetAspectRatio</sender>
   <signal>toggled(bool)</signal>
   <receiver>spinBoxMapSizeY</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
669 670
     <x>192</x>
     <y>144</y>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
671 672
    </hint>
    <hint type="destinationlabel">
673 674
     <x>68</x>
     <y>144</y>
Benjamin Jakimow's avatar
Benjamin Jakimow committed
675 676 677 678
    </hint>
   </hints>
  </connection>
 </connections>
679
</ui>