Przeglądaj źródła

Use same graphicswindow format as Map tab

Marcus Huderle 6 lat temu
rodzic
commit
2b5da0ee01
1 zmienionych plików z 79 dodań i 2 usunięć
  1. 79
    2
      mainwindow.ui

+ 79
- 2
mainwindow.ui Wyświetl plik

@@ -60,7 +60,7 @@
60 60
         </sizepolicy>
61 61
        </property>
62 62
        <property name="currentIndex">
63
-        <number>3</number>
63
+        <number>0</number>
64 64
        </property>
65 65
        <property name="tabsClosable">
66 66
         <bool>false</bool>
@@ -1391,7 +1391,84 @@
1391 1391
                 <number>0</number>
1392 1392
                </property>
1393 1393
                <item row="0" column="0">
1394
-                <widget class="QGraphicsView" name="graphicsView_Connections"/>
1394
+                <widget class="QScrollArea" name="scrollArea_5">
1395
+                 <property name="sizePolicy">
1396
+                  <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1397
+                   <horstretch>1</horstretch>
1398
+                   <verstretch>0</verstretch>
1399
+                  </sizepolicy>
1400
+                 </property>
1401
+                 <property name="widgetResizable">
1402
+                  <bool>true</bool>
1403
+                 </property>
1404
+                 <widget class="QWidget" name="scrollAreaWidgetContents_3">
1405
+                  <property name="geometry">
1406
+                   <rect>
1407
+                    <x>0</x>
1408
+                    <y>0</y>
1409
+                    <width>826</width>
1410
+                    <height>621</height>
1411
+                   </rect>
1412
+                  </property>
1413
+                  <layout class="QGridLayout" name="gridLayout_14">
1414
+                   <item row="1" column="1">
1415
+                    <widget class="QGraphicsView" name="graphicsView_Connections"/>
1416
+                   </item>
1417
+                   <item row="1" column="0">
1418
+                    <spacer name="horizontalSpacer_7">
1419
+                     <property name="orientation">
1420
+                      <enum>Qt::Horizontal</enum>
1421
+                     </property>
1422
+                     <property name="sizeHint" stdset="0">
1423
+                      <size>
1424
+                       <width>40</width>
1425
+                       <height>20</height>
1426
+                      </size>
1427
+                     </property>
1428
+                    </spacer>
1429
+                   </item>
1430
+                   <item row="1" column="2">
1431
+                    <spacer name="horizontalSpacer_8">
1432
+                     <property name="orientation">
1433
+                      <enum>Qt::Horizontal</enum>
1434
+                     </property>
1435
+                     <property name="sizeHint" stdset="0">
1436
+                      <size>
1437
+                       <width>40</width>
1438
+                       <height>20</height>
1439
+                      </size>
1440
+                     </property>
1441
+                    </spacer>
1442
+                   </item>
1443
+                   <item row="0" column="1">
1444
+                    <spacer name="verticalSpacer">
1445
+                     <property name="orientation">
1446
+                      <enum>Qt::Vertical</enum>
1447
+                     </property>
1448
+                     <property name="sizeHint" stdset="0">
1449
+                      <size>
1450
+                       <width>20</width>
1451
+                       <height>40</height>
1452
+                      </size>
1453
+                     </property>
1454
+                    </spacer>
1455
+                   </item>
1456
+                   <item row="2" column="1">
1457
+                    <spacer name="verticalSpacer_2">
1458
+                     <property name="orientation">
1459
+                      <enum>Qt::Vertical</enum>
1460
+                     </property>
1461
+                     <property name="sizeHint" stdset="0">
1462
+                      <size>
1463
+                       <width>20</width>
1464
+                       <height>40</height>
1465
+                      </size>
1466
+                     </property>
1467
+                    </spacer>
1468
+                   </item>
1469
+                  </layout>
1470
+                 </widget>
1471
+                </widget>
1395 1472
                </item>
1396 1473
               </layout>
1397 1474
              </widget>