summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-18 07:03:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-18 07:10:32 +0200
commit9d20e7db43fa2be016697032784df279370ba32e (patch)
treeaafa91bef5d753b5308297d4b317ea8b789474ee
parent77fda13b2957783ab656f2b76417224823191942 (diff)
nix video frame layout at startup or else no feed from tracker
Reported-by: @brokenhands Issue: #79 Breakage-of: pt-tracker Trackers like PT expect no layout for the QFrame initially. It's always been like this.
-rw-r--r--facetracknoir/facetracknoir.ui63
1 files changed, 26 insertions, 37 deletions
diff --git a/facetracknoir/facetracknoir.ui b/facetracknoir/facetracknoir.ui
index a201b643..5ccdfb46 100644
--- a/facetracknoir/facetracknoir.ui
+++ b/facetracknoir/facetracknoir.ui
@@ -619,48 +619,37 @@
<height>480</height>
</size>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>0</number>
+ <widget class="QLabel" name="video_frame_label">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>640</width>
+ <height>480</height>
+ </rect>
</property>
- <property name="leftMargin">
- <number>0</number>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="topMargin">
- <number>0</number>
+ <property name="minimumSize">
+ <size>
+ <width>640</width>
+ <height>480</height>
+ </size>
</property>
- <property name="rightMargin">
- <number>0</number>
+ <property name="maximumSize">
+ <size>
+ <width>640</width>
+ <height>480</height>
+ </size>
</property>
- <property name="bottomMargin">
- <number>0</number>
+ <property name="text">
+ <string/>
</property>
- <item>
- <widget class="QLabel" name="video_frame_label">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>640</width>
- <height>480</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>640</width>
- <height>480</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
+ </widget>
</widget>
</item>
</layout>