Commit a3eb2a70 authored by Antoine Cellerier's avatar Antoine Cellerier

Implement color change for colorthres and extract filters. Fix dial for rotate filter.

parent 649840af
...@@ -126,14 +126,10 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -126,14 +126,10 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QWidget *_parent ) :
SETUP_VFILTER_OPTION( brightnessThresholdCheck, stateChanged(int) ) SETUP_VFILTER_OPTION( brightnessThresholdCheck, stateChanged(int) )
SETUP_VFILTER( extract ) SETUP_VFILTER( extract )
SETUP_VFILTER_OPTION( extractRedSlider, valueChanged(int) ) SETUP_VFILTER_OPTION( extractComponentText, textChanged(QString) )
SETUP_VFILTER_OPTION( extractGreenSlider, valueChanged(int) )
SETUP_VFILTER_OPTION( extractBlueSlider, valueChanged(int) )
SETUP_VFILTER( colorthres ) SETUP_VFILTER( colorthres )
SETUP_VFILTER_OPTION( colorthresRedSlider, valueChanged(int) ) SETUP_VFILTER_OPTION( colorthresColorText, textChanged(QString) )
SETUP_VFILTER_OPTION( colorthresGreenSlider, valueChanged(int) )
SETUP_VFILTER_OPTION( colorthresBlueSlider, valueChanged(int) )
SETUP_VFILTER_OPTION( colorthresSaturationthresSlider, valueChanged(int) ) SETUP_VFILTER_OPTION( colorthresSaturationthresSlider, valueChanged(int) )
SETUP_VFILTER_OPTION( colorthresSimilaritythresSlider, valueChanged(int) ) SETUP_VFILTER_OPTION( colorthresSimilaritythresSlider, valueChanged(int) )
...@@ -165,6 +161,8 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -165,6 +161,8 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QWidget *_parent ) :
SETUP_VFILTER( rotate ) SETUP_VFILTER( rotate )
SETUP_VFILTER_OPTION( rotateAngleDial, valueChanged(int) ) SETUP_VFILTER_OPTION( rotateAngleDial, valueChanged(int) )
ui.rotateAngleDial->setWrapping( true );
ui.rotateAngleDial->setNotchesVisible( true );
SETUP_VFILTER( puzzle ) SETUP_VFILTER( puzzle )
SETUP_VFILTER_OPTION( puzzleRowsSpin, valueChanged(int) ) SETUP_VFILTER_OPTION( puzzleRowsSpin, valueChanged(int) )
...@@ -379,7 +377,13 @@ void ExtVideo::setWidgetValue( QObject *widget ) ...@@ -379,7 +377,13 @@ void ExtVideo::setWidgetValue( QObject *widget )
else if( checkbox ) checkbox->setCheckState( val.i_int? Qt::Checked else if( checkbox ) checkbox->setCheckState( val.i_int? Qt::Checked
: Qt::Unchecked ); : Qt::Unchecked );
else if( spinbox ) spinbox->setValue( val.i_int ); else if( spinbox ) spinbox->setValue( val.i_int );
else if( dial ) dial->setValue( val.i_int ); else if( dial ) dial->setValue( (540-val.i_int)%360 );
else if( lineedit )
{
char str[30];
sprintf( str, "%06X", val.i_int );
lineedit->setText( str );
}
else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ ); else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ );
} }
else if( i_type == VLC_VAR_FLOAT ) else if( i_type == VLC_VAR_FLOAT )
...@@ -448,8 +452,8 @@ void ExtVideo::updateFilterOptions() ...@@ -448,8 +452,8 @@ void ExtVideo::updateFilterOptions()
if( slider ) i_int = slider->value(); if( slider ) i_int = slider->value();
else if( checkbox ) i_int = checkbox->checkState() == Qt::Checked; else if( checkbox ) i_int = checkbox->checkState() == Qt::Checked;
else if( spinbox ) i_int = spinbox->value(); else if( spinbox ) i_int = spinbox->value();
else if( dial ) i_int = dial->value(); else if( dial ) i_int = (540-dial->value())%360;
else if( lineedit ) i_int = lineedit->text().toInt(); else if( lineedit ) i_int = lineedit->text().toInt(NULL,16);
else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ ); else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ );
config_PutInt( p_intf, option.toStdString().c_str(), i_int ); config_PutInt( p_intf, option.toStdString().c_str(), i_int );
if( i_type == VLC_VAR_INTEGER ) if( i_type == VLC_VAR_INTEGER )
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>995</width> <width>1109</width>
<height>575</height> <height>585</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
...@@ -19,6 +19,41 @@ ...@@ -19,6 +19,41 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item rowspan="3" row="3" column="0" >
<widget class="QGroupBox" name="extractEnable" >
<property name="title" >
<string>_("Color extraction")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>_("Color")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="extractComponentText" >
<property name="inputMask" >
<string>>HHHHHH;#</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="11" column="0" > <item row="11" column="0" >
<widget class="QCheckBox" name="invertEnable" > <widget class="QCheckBox" name="invertEnable" >
<property name="text" > <property name="text" >
...@@ -44,142 +79,190 @@ ...@@ -44,142 +79,190 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="4" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_14" > <widget class="QLabel" name="label_14" >
<property name="text" > <property name="text" >
<string>_("Similarity")</string> <string>_("Similarity")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" > <item row="2" column="1" >
<widget class="QSlider" name="colorthresSimilaritythresSlider" > <widget class="QSlider" name="colorthresSimilaritythresSlider" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1" > <item row="1" column="1" >
<widget class="QSlider" name="colorthresSaturationthresSlider" > <widget class="QSlider" name="colorthresSaturationthresSlider" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_13" > <widget class="QLabel" name="label_13" >
<property name="text" > <property name="text" >
<string>_("Saturation")</string> <string>_("Saturation")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_10" > <widget class="QLabel" name="label_8" >
<property name="text" > <property name="text" >
<string>Green</string> <string>_("Color")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="colorthresColorText" >
<property name="inputMask" >
<string>>HHHHHH;#</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</widget>
</item>
<item rowspan="3" row="0" column="0" >
<widget class="QGroupBox" name="adjustEnable" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="title" >
<string>_("Image adjust")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QSlider" name="colorthresRedSlider" > <widget class="QSlider" name="hueSlider" >
<property name="maximum" >
<number>360</number>
</property>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="4" column="1" >
<widget class="QSlider" name="colorthresGreenSlider" > <widget class="QSlider" name="gammaSlider" >
<property name="maximum" >
<number>500</number>
</property>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="tickInterval" >
<number>50</number>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="3" column="1" >
<widget class="QLabel" name="label_11" > <widget class="QSlider" name="saturationSlider" >
<property name="text" > <property name="maximum" >
<string>Blue</string> <number>300</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickInterval" >
<number>100</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" > <item row="2" column="1" >
<widget class="QSlider" name="colorthresBlueSlider" > <widget class="QSlider" name="brightnessSlider" >
<property name="maximum" >
<number>200</number>
</property>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="tickInterval" >
<number>100</number>
</property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="1" column="1" >
<widget class="QLabel" name="label_12" > <widget class="QSlider" name="contrastSlider" >
<property name="text" > <property name="maximum" >
<string>Red</string> <number>200</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickInterval" >
<number>100</number>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="4" column="0" >
</widget> <widget class="QLabel" name="label_5" >
</item> <property name="text" >
<item rowspan="3" row="9" column="2" colspan="3" > <string>_("Gamma")</string>
<widget class="QGroupBox" name="advancedVideoFilterBox" > </property>
<property name="title" > </widget>
<string>_("Advanced video filter controls")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="1" colspan="2" >
<widget class="QLineEdit" name="videoFilterText" />
</item>
<item row="2" column="1" colspan="2" >
<widget class="QLineEdit" name="subpictureFilterText" />
</item> </item>
<item row="3" column="0" colspan="2" > <item row="1" column="0" >
<widget class="QPushButton" name="filtersResetButton" > <widget class="QLabel" name="label_2" >
<property name="text" > <property name="text" >
<string>_("Reset")</string> <string>_("Contrast")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="2" > <item row="2" column="0" >
<widget class="QPushButton" name="filtersUpdateButton" > <widget class="QLabel" name="label_3" >
<property name="text" > <property name="text" >
<string>_("Update")</string> <string>_("Brightness")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="3" column="0" >
<widget class="QLabel" name="label_33" > <widget class="QLabel" name="label_4" >
<property name="text" > <property name="text" >
<string>_("Video filters")</string> <string>_("Saturation")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_32" > <widget class="QLabel" name="label" >
<property name="text" > <property name="text" >
<string>_("Vout filters")</string> <string>_("Hue")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="5" column="1" >
<widget class="QLabel" name="label_34" > <widget class="QCheckBox" name="brightnessThresholdCheck" >
<property name="text" > <property name="text" >
<string>_("Subpicture filters")</string> <string>_("Brightness threshold")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" colspan="2" >
<widget class="QLineEdit" name="voutFilterText" />
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item rowspan="4" row="5" column="3" > <item row="5" column="1" >
<widget class="QGroupBox" name="eraseEnable" > <widget class="QCheckBox" name="noiseEnable" >
<property name="text" >
<string>_("Noise")</string>
</property>
</widget>
</item>
<item rowspan="4" row="1" column="3" >
<widget class="QGroupBox" name="wallEnable" >
<property name="title" > <property name="title" >
<string>_("Logo erase")</string> <string>_("Wall")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -194,57 +277,47 @@ ...@@ -194,57 +277,47 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_16" > <widget class="QLabel" name="label_31" >
<property name="text" > <property name="text" >
<string>_("Top")</string> <string>_("Rows")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_17" > <widget class="QLabel" name="label_30" >
<property name="text" > <property name="text" >
<string>_("Left")</string> <string>_("Columns")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" >
<widget class="QSpinBox" name="eraseXSpin" />
</item>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QSpinBox" name="eraseYSpin" /> <widget class="QSpinBox" name="wallColsSpin" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>3</number>
</property>
</widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QLineEdit" name="eraseMaskText" /> <widget class="QSpinBox" name="wallRowsSpin" >
</item> <property name="minimum" >
<item row="0" column="0" > <number>1</number>
<widget class="QLabel" name="label_15" > </property>
<property name="text" > <property name="value" >
<string>_("Mask")</string> <number>3</number>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="9" column="1" > <item row="0" column="3" >
<widget class="QCheckBox" name="rippleEnable" > <widget class="QGroupBox" name="cloneEnable" >
<property name="text" >
<string>_("Water effect")</string>
</property>
</widget>
</item>
<item row="10" column="1" >
<widget class="QCheckBox" name="waveEnable" >
<property name="text" >
<string>_("Waves")</string>
</property>
</widget>
</item>
<item rowspan="6" row="2" column="4" >
<widget class="QGroupBox" name="logoEnable" >
<property name="title" > <property name="title" >
<string>_("Add logo")</string> <string>_("Clone")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -259,50 +332,23 @@ ...@@ -259,50 +332,23 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="3" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_22" > <widget class="QLabel" name="label_9" >
<property name="text" > <property name="text" >
<string>_("Transparency")</string> <string>_("Number of clones")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2" > <item row="0" column="1" >
<widget class="QLabel" name="label_21" > <widget class="QSpinBox" name="cloneCountSpin" >
<property name="text" > <property name="minimum" >
<string>_("Left")</string> <number>1</number>
</property> </property>
</widget> <property name="value" >
</item> <number>2</number>
<item row="1" column="0" colspan="2" >
<widget class="QLabel" name="label_20" >
<property name="text" >
<string>_("Top")</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2" >
<widget class="QSlider" name="logoTransparencySlider" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="2" >
<widget class="QSpinBox" name="logoXSpin" />
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="logoYSpin" />
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_19" >
<property name="text" >
<string>_("Logo")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" >
<widget class="QLineEdit" name="logoFileText" />
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
...@@ -313,140 +359,6 @@ ...@@ -313,140 +359,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item rowspan="2" row="0" column="4" >
<widget class="QGroupBox" name="marqEnable" >
<property name="title" >
<string>_("Add text")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="label_24" >
<property name="text" >
<string>_("Position")</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_23" >
<property name="text" >
<string>_("Text")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="marqMarqueeText" />
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="marqPositionCombo" />
</item>
</layout>
</widget>
</item>
<item row="0" column="3" >
<widget class="QGroupBox" name="cloneEnable" >
<property name="title" >
<string>_("Clone")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_9" >
<property name="text" >
<string>_("Number of clones")</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="cloneCountSpin" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>2</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item rowspan="4" row="1" column="3" >
<widget class="QGroupBox" name="wallEnable" >
<property name="title" >
<string>_("Wall")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_31" >
<property name="text" >
<string>_("Rows")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_30" >
<property name="text" >
<string>_("Columns")</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="wallColsSpin" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>3</number>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="wallRowsSpin" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>3</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item rowspan="3" row="5" column="2" > <item rowspan="3" row="5" column="2" >
<widget class="QGroupBox" name="puzzleEnable" > <widget class="QGroupBox" name="puzzleEnable" >
<property name="title" > <property name="title" >
...@@ -533,10 +445,19 @@ ...@@ -533,10 +445,19 @@
<number>359</number> <number>359</number>
</property> </property>
<property name="value" > <property name="value" >
<number>45</number> <number>0</number>
</property>
<property name="sliderPosition" >
<number>0</number>
</property> </property>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance" >
<bool>false</bool>
</property>
<property name="invertedControls" >
<bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -574,10 +495,24 @@ ...@@ -574,10 +495,24 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item rowspan="2" row="0" column="1" > <item row="10" column="1" >
<widget class="QGroupBox" name="gradientEnable" > <widget class="QCheckBox" name="waveEnable" >
<property name="text" >
<string>_("Waves")</string>
</property>
</widget>
</item>
<item row="9" column="1" >
<widget class="QCheckBox" name="rippleEnable" >
<property name="text" >
<string>_("Water effect")</string>
</property>
</widget>
</item>
<item rowspan="2" row="7" column="1" >
<widget class="QGroupBox" name="sharpenEnable" >
<property name="title" > <property name="title" >
<string>_("Gradient")</string> <string>_("Sharpen")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -592,37 +527,27 @@ ...@@ -592,37 +527,27 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="gradientCartoonCheck" >
<property name="text" >
<string>_("Cartoon")</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QCheckBox" name="gradientTypeCheck" >
<property name="text" >
<string>_("Color")</string>
</property>
</widget>
</item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_18" > <widget class="QLabel" name="label_29" >
<property name="text" > <property name="text" >
<string>_("Mode")</string> <string>_("Sigma")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QComboBox" name="gradientModeCombo" /> <widget class="QSlider" name="sharpenSigmaSlider" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="5" column="1" > <item row="6" column="1" >
<widget class="QCheckBox" name="noiseEnable" > <widget class="QCheckBox" name="psychedelicEnable" >
<property name="text" > <property name="text" >
<string>_("Noise")</string> <string>_("Psychedelic")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -633,13 +558,10 @@ ...@@ -633,13 +558,10 @@
</property> </property>
</widget> </widget>
</item> </item>
<item rowspan="3" row="0" column="0" > <item rowspan="2" row="2" column="1" >
<widget class="QGroupBox" name="adjustEnable" > <widget class="QGroupBox" name="blurEnable" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="title" > <property name="title" >
<string>_("Image adjust")</string> <string>_("Motion blur")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -654,117 +576,113 @@ ...@@ -654,117 +576,113 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="1" > <item row="0" column="0" >
<widget class="QSlider" name="hueSlider" > <widget class="QLabel" name="label_25" >
<property name="maximum" > <property name="text" >
<number>360</number> <string>_("Factor")</string>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" > <item row="0" column="1" >
<widget class="QSlider" name="gammaSlider" > <widget class="QSlider" name="blurFactorSlider" >
<property name="maximum" >
<number>500</number>
</property>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="tickInterval" >
<number>50</number>
</property>
</widget> </widget>
</item> </item>
<item row="3" column="1" > </layout>
<widget class="QSlider" name="saturationSlider" > </widget>
<property name="maximum" > </item>
<number>300</number> <item rowspan="2" row="0" column="1" >
</property> <widget class="QGroupBox" name="gradientEnable" >
<property name="orientation" > <property name="title" >
<enum>Qt::Horizontal</enum> <string>_("Gradient")</string>
</property> </property>
<property name="tickInterval" > <property name="checkable" >
<number>100</number> <bool>true</bool>
</property> </property>
</widget> <property name="checked" >
</item> <bool>false</bool>
<item row="2" column="1" > </property>
<widget class="QSlider" name="brightnessSlider" > <layout class="QGridLayout" >
<property name="maximum" > <property name="margin" >
<number>200</number> <number>9</number>
</property> </property>
<property name="orientation" > <property name="spacing" >
<enum>Qt::Horizontal</enum> <number>6</number>
</property> </property>
<property name="tickInterval" > <item row="0" column="0" >
<number>100</number> <widget class="QLabel" name="label_18" >
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSlider" name="contrastSlider" >
<property name="maximum" >
<number>200</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickInterval" >
<number>100</number>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" > <property name="text" >
<string>_("Gamma")</string> <string>_("Mode")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0" colspan="2" >
<widget class="QLabel" name="label_2" > <widget class="QCheckBox" name="gradientTypeCheck" >
<property name="text" > <property name="text" >
<string>_("Contrast")</string> <string>_("Color")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="2" column="0" colspan="2" >
<widget class="QLabel" name="label_3" > <widget class="QCheckBox" name="gradientCartoonCheck" >
<property name="text" > <property name="text" >
<string>_("Brightness")</string> <string>_("Cartoon")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" > <item row="0" column="1" >
<widget class="QLabel" name="label_4" > <widget class="QComboBox" name="gradientModeCombo" />
</item>
</layout>
</widget>
</item>
<item rowspan="2" row="0" column="4" >
<widget class="QGroupBox" name="marqEnable" >
<property name="title" >
<string>_("Add text")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="label_24" >
<property name="text" > <property name="text" >
<string>_("Saturation")</string> <string>_("Position")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label" > <widget class="QLabel" name="label_23" >
<property name="text" > <property name="text" >
<string>_("Hue")</string> <string>_("Text")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1" > <item row="0" column="1" >
<widget class="QCheckBox" name="brightnessThresholdCheck" > <widget class="QLineEdit" name="marqMarqueeText" />
<property name="text" > </item>
<string>_("Brightness threshold")</string> <item row="1" column="1" >
</property> <widget class="QComboBox" name="marqPositionCombo" />
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item rowspan="4" row="3" column="0" > <item rowspan="6" row="2" column="4" >
<widget class="QGroupBox" name="extractEnable" > <widget class="QGroupBox" name="logoEnable" >
<property name="title" > <property name="title" >
<string>_("Color extraction")</string> <string>_("Add logo")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -779,55 +697,57 @@ ...@@ -779,55 +697,57 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="2" column="1" > <item row="3" column="0" >
<widget class="QSlider" name="extractBlueSlider" > <widget class="QLabel" name="label_22" >
<property name="orientation" > <property name="text" >
<enum>Qt::Horizontal</enum> <string>_("Transparency")</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSlider" name="extractGreenSlider" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="2" column="0" colspan="2" >
<widget class="QSlider" name="extractRedSlider" > <widget class="QLabel" name="label_21" >
<property name="orientation" > <property name="text" >
<enum>Qt::Horizontal</enum> <string>_("Left")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="1" column="0" colspan="2" >
<widget class="QLabel" name="label_8" > <widget class="QLabel" name="label_20" >
<property name="text" > <property name="text" >
<string>_("Blue")</string> <string>_("Top")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="3" column="1" colspan="2" >
<widget class="QLabel" name="label_7" > <widget class="QSlider" name="logoTransparencySlider" >
<property name="text" > <property name="orientation" >
<string>_("Green")</string> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="2" >
<widget class="QSpinBox" name="logoXSpin" />
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="logoYSpin" />
</item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_6" > <widget class="QLabel" name="label_19" >
<property name="text" > <property name="text" >
<string>_("Red")</string> <string>_("Logo")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" >
<widget class="QLineEdit" name="logoFileText" />
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item rowspan="2" row="7" column="1" > <item rowspan="4" row="5" column="3" >
<widget class="QGroupBox" name="sharpenEnable" > <widget class="QGroupBox" name="eraseEnable" >
<property name="title" > <property name="title" >
<string>_("Sharpen")</string> <string>_("Logo erase")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -842,33 +762,43 @@ ...@@ -842,33 +762,43 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_29" > <widget class="QLabel" name="label_16" >
<property name="text" > <property name="text" >
<string>_("Sigma")</string> <string>_("Top")</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_17" >
<property name="text" >
<string>_("Left")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1" >
<widget class="QSpinBox" name="eraseXSpin" />
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="eraseYSpin" />
</item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QSlider" name="sharpenSigmaSlider" > <widget class="QLineEdit" name="eraseMaskText" />
<property name="orientation" > </item>
<enum>Qt::Horizontal</enum> <item row="0" column="0" >
<widget class="QLabel" name="label_15" >
<property name="text" >
<string>_("Mask")</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item rowspan="2" row="2" column="1" > <item rowspan="3" row="9" column="2" colspan="3" >
<widget class="QGroupBox" name="blurEnable" > <widget class="QGroupBox" name="advancedVideoFilterBox" >
<property name="title" > <property name="title" >
<string>_("Motion blur")</string> <string>_("Advanced video filter controls")</string>
</property>
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
...@@ -877,30 +807,53 @@ ...@@ -877,30 +807,53 @@
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="1" colspan="2" >
<widget class="QLineEdit" name="videoFilterText" />
</item>
<item row="2" column="1" colspan="2" >
<widget class="QLineEdit" name="subpictureFilterText" />
</item>
<item row="3" column="0" colspan="2" >
<widget class="QPushButton" name="filtersResetButton" >
<property name="text" >
<string>_("Reset")</string>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QPushButton" name="filtersUpdateButton" >
<property name="text" >
<string>_("Update")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_33" >
<property name="text" >
<string>_("Video filters")</string>
</property>
</widget>
</item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_25" > <widget class="QLabel" name="label_32" >
<property name="text" > <property name="text" >
<string>_("Factor")</string> <string>_("Vout filters")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="2" column="0" >
<widget class="QSlider" name="blurFactorSlider" > <widget class="QLabel" name="label_34" >
<property name="orientation" > <property name="text" >
<enum>Qt::Horizontal</enum> <string>_("Subpicture filters")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1" colspan="2" >
<widget class="QLineEdit" name="voutFilterText" />
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="6" column="1" >
<widget class="QCheckBox" name="psychedelicEnable" >
<property name="text" >
<string>_("Psychedelic")</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment