<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<small><br>
Hi,<br>
<br>
this is the GUI part of puzzle video filter.<br>
<br>
I've reduced the controls quantity in order to match with VLC
philosophy. However you can adjust the others settings by editing
configuration file.<br>
<br>
I've created another tab dedicated to games video filters as I'm
working on 2 other games and other tabs are full...<br>
<br>
Regards<br>
<br>
Vianney<br>
<br>
<br>
---<br>
modules/gui/qt4/components/extended_panels.cpp | 6 +-<br>
modules/gui/qt4/ui/video_effects.ui | 227
+++++++++++++++----------<br>
2 files changed, 144 insertions(+), 89 deletions(-)<br>
<br>
diff --git a/modules/gui/qt4/components/extended_panels.cpp
b/modules/gui/qt4/components/extended_panels.cpp<br>
index 5197d28..a25d9bc 100644<br>
--- a/modules/gui/qt4/components/extended_panels.cpp<br>
+++ b/modules/gui/qt4/components/extended_panels.cpp<br>
@@ -165,7 +165,11 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf,
QTabWidget *_parent ) :<br>
SETUP_VFILTER( puzzle )<br>
SETUP_VFILTER_OPTION( puzzleRowsSpin, valueChanged( int ) )<br>
SETUP_VFILTER_OPTION( puzzleColsSpin, valueChanged( int ) )<br>
- SETUP_VFILTER_OPTION( puzzleBlackSlotCheck, stateChanged( int
) )<br>
+ SETUP_VFILTER_OPTION( puzzleBorderSlider, valueChanged( int )
)<br>
+ SETUP_VFILTER_OPTION( puzzlePreviewCheck, stateChanged( int )
)<br>
+ SETUP_VFILTER_OPTION( puzzlePreviewSizeSlider, valueChanged(
int ) )<br>
+ SETUP_VFILTER_OPTION( puzzleRotationCombo,
currentIndexChanged( int ) )<br>
+ SETUP_VFILTER_OPTION( puzzleModeCombo, currentIndexChanged(
int ) )<br>
<br>
SETUP_VFILTER( magnify )<br>
<br>
diff --git a/modules/gui/qt4/ui/video_effects.ui
b/modules/gui/qt4/ui/video_effects.ui<br>
index 4fdd469..ba4bdba 100644<br>
--- a/modules/gui/qt4/ui/video_effects.ui<br>
+++ b/modules/gui/qt4/ui/video_effects.ui<br>
@@ -716,13 +716,6 @@<br>
<string>Geometry</string><br>
</attribute><br>
<layout class="QGridLayout" name="gridLayout_13"><br>
- <item row="0" column="0"><br>
- <widget class="QCheckBox" name="magnifyEnable"><br>
- <property name="text"><br>
- <string>Interactive Zoom</string><br>
- </property><br>
- </widget><br>
- </item><br>
<item row="0" column="1" rowspan="3"><br>
<widget class="QGroupBox" name="wallEnable"><br>
<property name="title"><br>
@@ -808,14 +801,7 @@<br>
</layout><br>
</widget><br>
</item><br>
- <item row="4" column="1"><br>
- <widget class="QCheckBox" name="freezeEnable"><br>
- <property name="text"><br>
- <string>Freeze an area selected by mouse
pointer</string><br>
- </property><br>
- </widget><br>
- </item><br>
- <item row="2" column="0" rowspan="4"><br>
+ <item row="2" column="0" rowspan="3"><br>
<widget class="QGroupBox" name="rotateEnable"><br>
<property name="sizePolicy"><br>
<sizepolicy hsizetype="Preferred"
vsizetype="MinimumExpanding"><br>
@@ -871,78 +857,18 @@<br>
</layout><br>
</widget><br>
</item><br>
- <item row="3" column="1"><br>
- <widget class="QGroupBox" name="puzzleEnable"><br>
- <property name="title"><br>
- <string>Puzzle game</string><br>
- </property><br>
- <property name="checkable"><br>
- <bool>true</bool><br>
+ <item row="0" column="0"><br>
+ <widget class="QCheckBox" name="magnifyEnable"><br>
+ <property name="text"><br>
+ <string>Interactive Zoom</string><br>
</property><br>
- <property name="checked"><br>
- <bool>false</bool><br>
+ </widget><br>
+ </item><br>
+ <item row="3" column="1"><br>
+ <widget class="QCheckBox" name="freezeEnable"><br>
+ <property name="text"><br>
+ <string>Freeze an area selected by mouse
pointer</string><br>
</property><br>
- <layout class="QGridLayout" name="gridLayout_3"><br>
- <item row="0" column="0"><br>
- <widget class="QLabel" name="label_27"><br>
- <property name="text"><br>
- <string>Rows</string><br>
- </property><br>
- <property name="buddy"><br>
- <cstring>puzzleRowsSpin</cstring><br>
- </property><br>
- </widget><br>
- </item><br>
- <item row="0" column="1"><br>
- <widget class="QSpinBox" name="puzzleRowsSpin"><br>
- <property name="alignment"><br>
-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set><br>
- </property><br>
- <property name="minimum"><br>
- <number>2</number><br>
- </property><br>
- <property name="maximum"><br>
- <number>16</number><br>
- </property><br>
- <property name="value"><br>
- <number>4</number><br>
- </property><br>
- </widget><br>
- </item><br>
- <item row="1" column="0"><br>
- <widget class="QLabel" name="label_26"><br>
- <property name="text"><br>
- <string>Columns</string><br>
- </property><br>
- <property name="buddy"><br>
- <cstring>puzzleColsSpin</cstring><br>
- </property><br>
- </widget><br>
- </item><br>
- <item row="1" column="1"><br>
- <widget class="QSpinBox" name="puzzleColsSpin"><br>
- <property name="alignment"><br>
-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set><br>
- </property><br>
- <property name="minimum"><br>
- <number>2</number><br>
- </property><br>
- <property name="maximum"><br>
- <number>16</number><br>
- </property><br>
- <property name="value"><br>
- <number>4</number><br>
- </property><br>
- </widget><br>
- </item><br>
- <item row="2" column="0" colspan="2"><br>
- <widget class="QCheckBox"
name="puzzleBlackSlotCheck"><br>
- <property name="text"><br>
- <string>Black Slot</string><br>
- </property><br>
- </widget><br>
- </item><br>
- </layout><br>
</widget><br>
</item><br>
</layout><br>
@@ -1815,6 +1741,134 @@<br>
</item><br>
</layout><br>
</widget><br>
+ <widget class="QWidget" name="tab_4"><br>
+ <attribute name="title"><br>
+ <string>Game</string><br>
+ </attribute><br>
+ <widget class="QGroupBox" name="puzzleEnable"><br>
+ <property name="geometry"><br>
+ <rect><br>
+ <x>10</x><br>
+ <y>10</y><br>
+ <width>521</width><br>
+ <height>111</height><br>
+ </rect><br>
+ </property><br>
+ <property name="sizePolicy"><br>
+ <sizepolicy hsizetype="Expanding"
vsizetype="Expanding"><br>
+ <horstretch>0</horstretch><br>
+ <verstretch>0</verstretch><br>
+ </sizepolicy><br>
+ </property><br>
+ <property name="title"><br>
+ <string>Puzzle</string><br>
+ </property><br>
+ <property name="checkable"><br>
+ <bool>true</bool><br>
+ </property><br>
+ <property name="checked"><br>
+ <bool>false</bool><br>
+ </property><br>
+ <layout class="QGridLayout" name="gridLayout_21"><br>
+ <item row="4" column="1" colspan="4"><br>
+ <widget class="QSlider"
name="puzzlePreviewSizeSlider"><br>
+ <property name="maximum"><br>
+ <number>100</number><br>
+ </property><br>
+ <property name="orientation"><br>
+ <enum>Qt::Horizontal</enum><br>
+ </property><br>
+ <property name="tickPosition"><br>
+ <enum>QSlider::TicksBelow</enum><br>
+ </property><br>
+ <property name="tickInterval"><br>
+ <number>10</number><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ <item row="4" column="0"><br>
+ <widget class="QCheckBox" name="puzzlePreviewCheck"><br>
+ <property name="text"><br>
+ <string>Preview</string><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ <item row="3" column="0"><br>
+ <widget class="QLabel" name="label_26"><br>
+ <property name="text"><br>
+ <string>border</string><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ <item row="3" column="1" colspan="4"><br>
+ <widget class="QSlider" name="puzzleBorderSlider"><br>
+ <property name="maximum"><br>
+ <number>25</number><br>
+ </property><br>
+ <property name="pageStep"><br>
+ <number>5</number><br>
+ </property><br>
+ <property name="orientation"><br>
+ <enum>Qt::Horizontal</enum><br>
+ </property><br>
+ <property name="tickPosition"><br>
+ <enum>QSlider::TicksBelow</enum><br>
+ </property><br>
+ <property name="tickInterval"><br>
+ <number>5</number><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ <item row="1" column="0" colspan="2"><br>
+ <widget class="QComboBox" name="puzzleModeCombo"/><br>
+ </item><br>
+ <item row="1" column="2"><br>
+ <widget class="QSpinBox" name="puzzleRowsSpin"><br>
+ <property name="alignment"><br>
+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set><br>
+ </property><br>
+ <property name="suffix"><br>
+ <string> row</string><br>
+ </property><br>
+ <property name="prefix"><br>
+ <string/><br>
+ </property><br>
+ <property name="minimum"><br>
+ <number>1</number><br>
+ </property><br>
+ <property name="maximum"><br>
+ <number>20</number><br>
+ </property><br>
+ <property name="value"><br>
+ <number>4</number><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ <item row="1" column="4"><br>
+ <widget class="QComboBox"
name="puzzleRotationCombo"/><br>
+ </item><br>
+ <item row="1" column="3"><br>
+ <widget class="QSpinBox" name="puzzleColsSpin"><br>
+ <property name="alignment"><br>
+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set><br>
+ </property><br>
+ <property name="suffix"><br>
+ <string> col</string><br>
+ </property><br>
+ <property name="minimum"><br>
+ <number>1</number><br>
+ </property><br>
+ <property name="maximum"><br>
+ <number>20</number><br>
+ </property><br>
+ <property name="value"><br>
+ <number>4</number><br>
+ </property><br>
+ </widget><br>
+ </item><br>
+ </layout><br>
+ </widget><br>
+ </widget><br>
</widget><br>
<customwidgets><br>
<customwidget><br>
@@ -1844,9 +1898,6 @@<br>
<tabstop>rotateEnable</tabstop><br>
<tabstop>rotateAngleDial</tabstop><br>
<tabstop>transformTypeCombo</tabstop><br>
- <tabstop>puzzleRowsSpin</tabstop><br>
- <tabstop>puzzleColsSpin</tabstop><br>
- <tabstop>puzzleBlackSlotCheck</tabstop><br>
<tabstop>colorthresEnable</tabstop><br>
<tabstop>colorthresColorText</tabstop><br>
<tabstop>colorthresSaturationthresSlider</tabstop><br>
-- <br>
1.8.1.2<br>
<br>
<br>
</small>
</body>
</html>