mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Make handles bigger for resizing gadgets.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1271 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
785a6c4b7b
commit
5781db2dd3
@ -60,9 +60,9 @@ using namespace Core::Internal;
|
||||
void MiniSplitterHandle::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
if (orientation() == Qt::Horizontal)
|
||||
setContentsMargins(2, 0, 2, 0);
|
||||
setContentsMargins(6, 0, 6, 0);
|
||||
else
|
||||
setContentsMargins(0, 2, 0, 2);
|
||||
setContentsMargins(0, 6, 0, 6);
|
||||
setMask(QRegion(contentsRect()));
|
||||
QSplitterHandle::resizeEvent(event);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>570</width>
|
||||
<height>302</height>
|
||||
<height>301</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -444,9 +444,9 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>180</y>
|
||||
<y>190</y>
|
||||
<width>551</width>
|
||||
<height>111</height>
|
||||
<height>104</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@ -458,15 +458,9 @@
|
||||
<property name="title">
|
||||
<string>GPS Data Stream</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0" rowspan="2">
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>40</y>
|
||||
<width>551</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Courier New</family>
|
||||
@ -480,32 +474,34 @@
|
||||
<enum>QTextEdit::WidgetWidth</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="connectButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>360</x>
|
||||
<y>10</y>
|
||||
<width>75</width>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Connect</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>450</x>
|
||||
<y>10</y>
|
||||
<width>75</width>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disconnect</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QGraphicsView" name="flatEarth">
|
||||
<property name="geometry">
|
||||
|
Loading…
Reference in New Issue
Block a user