Commit 5743cb83 authored by Antoine Cellerier's avatar Antoine Cellerier

95% of the video filters extended panel is now done. It's just missing the combo box related code.

parent e3d735fe
...@@ -37,15 +37,18 @@ class ExtVideo: public QWidget ...@@ -37,15 +37,18 @@ class ExtVideo: public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
ExtVideo( intf_thread_t *, QWidget * ); ExtVideo( intf_thread_t *, QWidget * );
virtual ~ExtVideo(); virtual ~ExtVideo();
void gotoConf( QObject* ); /*void gotoConf( QObject* );*/
private: private:
Ui::ExtVideoWidget ui; Ui::ExtVideoWidget ui;
QSignalMapper* filterMapper; QSignalMapper* filterMapper;
intf_thread_t *p_intf; intf_thread_t *p_intf;
void setWidgetValue( QObject* );
void ChangeVFiltersString( char *psz_name, vlc_bool_t b_add );
private slots: private slots:
void updateFilters( ); void updateFilters();
void updateFilterOptions();
}; };
class Equalizer: public QWidget class Equalizer: public QWidget
......
...@@ -52,14 +52,14 @@ ...@@ -52,14 +52,14 @@
</widget> </widget>
</item> </item>
<item row="4" column="1" > <item row="4" column="1" >
<widget class="QSlider" name="colorthresSimilaritySlider" > <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="3" column="1" >
<widget class="QSlider" name="colorthresSaturationSlider" > <widget class="QSlider" name="colorthresSaturationthresSlider" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<widget class="QLineEdit" name="videoFilterText" /> <widget class="QLineEdit" name="videoFilterText" />
</item> </item>
<item row="2" column="1" colspan="2" > <item row="2" column="1" colspan="2" >
<widget class="QLineEdit" name="subpictureFiltersText" /> <widget class="QLineEdit" name="subpictureFilterText" />
</item> </item>
<item row="3" column="0" colspan="2" > <item row="3" column="0" colspan="2" >
<widget class="QPushButton" name="filtersResetButton" > <widget class="QPushButton" name="filtersResetButton" >
...@@ -209,10 +209,10 @@ ...@@ -209,10 +209,10 @@
</widget> </widget>
</item> </item>
<item row="2" column="1" > <item row="2" column="1" >
<widget class="QSpinBox" name="eraseLeftSpin" /> <widget class="QSpinBox" name="eraseXSpin" />
</item> </item>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QSpinBox" name="eraseTopSpin" /> <widget class="QSpinBox" name="eraseYSpin" />
</item> </item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QLineEdit" name="eraseMaskText" /> <widget class="QLineEdit" name="eraseMaskText" />
...@@ -281,17 +281,17 @@ ...@@ -281,17 +281,17 @@
</widget> </widget>
</item> </item>
<item row="3" column="1" colspan="2" > <item row="3" column="1" colspan="2" >
<widget class="QSlider" name="logoAlphaSlider" > <widget class="QSlider" name="logoTransparencySlider" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="2" > <item row="2" column="2" >
<widget class="QSpinBox" name="logoLeftSpin" /> <widget class="QSpinBox" name="logoXSpin" />
</item> </item>
<item row="1" column="2" > <item row="1" column="2" >
<widget class="QSpinBox" name="logoTopSpin" /> <widget class="QSpinBox" name="logoYSpin" />
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_19" > <widget class="QLabel" name="label_19" >
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QSpinBox" name="clonesCountSpin" > <widget class="QSpinBox" name="cloneCountSpin" >
<property name="minimum" > <property name="minimum" >
<number>1</number> <number>1</number>
</property> </property>
...@@ -425,7 +425,7 @@ ...@@ -425,7 +425,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QSpinBox" name="wallColumnsSpin" > <widget class="QSpinBox" name="wallColsSpin" >
<property name="minimum" > <property name="minimum" >
<number>1</number> <number>1</number>
</property> </property>
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QSpinBox" name="puzzleColumnsDial" > <widget class="QSpinBox" name="puzzleColsSpin" >
<property name="minimum" > <property name="minimum" >
<number>1</number> <number>1</number>
</property> </property>
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2" > <item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="puzzleBlackslotCheck" > <widget class="QCheckBox" name="puzzleBlackSlotCheck" >
<property name="text" > <property name="text" >
<string>Black slot</string> <string>Black slot</string>
</property> </property>
...@@ -593,14 +593,14 @@ ...@@ -593,14 +593,14 @@
<number>6</number> <number>6</number>
</property> </property>
<item row="2" column="0" colspan="2" > <item row="2" column="0" colspan="2" >
<widget class="QCheckBox" name="gradientCartoonBox" > <widget class="QCheckBox" name="gradientCartoonCheck" >
<property name="text" > <property name="text" >
<string>Cartoon</string> <string>Cartoon</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2" > <item row="1" column="0" colspan="2" >
<widget class="QCheckBox" name="gradientColorCheck" > <widget class="QCheckBox" name="gradientTypeCheck" >
<property name="text" > <property name="text" >
<string>Color</string> <string>Color</string>
</property> </property>
...@@ -656,6 +656,9 @@ ...@@ -656,6 +656,9 @@
</property> </property>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QSlider" name="hueSlider" > <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>
...@@ -663,30 +666,54 @@ ...@@ -663,30 +666,54 @@
</item> </item>
<item row="4" column="1" > <item row="4" column="1" >
<widget class="QSlider" name="gammaSlider" > <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="3" column="1" > <item row="3" column="1" >
<widget class="QSlider" name="saturationSlider" > <widget class="QSlider" name="saturationSlider" >
<property name="maximum" >
<number>300</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="2" column="1" > <item row="2" column="1" >
<widget class="QSlider" name="brightnessSlider" > <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="1" column="1" > <item row="1" column="1" >
<widget class="QSlider" name="constrastSlider" > <widget class="QSlider" name="contrastSlider" >
<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="4" column="0" > <item row="4" column="0" >
...@@ -725,7 +752,7 @@ ...@@ -725,7 +752,7 @@
</widget> </widget>
</item> </item>
<item row="5" column="1" > <item row="5" column="1" >
<widget class="QCheckBox" name="brightnessthresholdCheck" > <widget class="QCheckBox" name="brightnessThresholdCheck" >
<property name="text" > <property name="text" >
<string>Brightness threshold</string> <string>Brightness threshold</string>
</property> </property>
...@@ -833,7 +860,7 @@ ...@@ -833,7 +860,7 @@
</widget> </widget>
</item> </item>
<item rowspan="2" row="2" column="1" > <item rowspan="2" row="2" column="1" >
<widget class="QGroupBox" name="motionblurEnable" > <widget class="QGroupBox" name="blurEnable" >
<property name="title" > <property name="title" >
<string>Motion blur</string> <string>Motion blur</string>
</property> </property>
...@@ -858,7 +885,7 @@ ...@@ -858,7 +885,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1" >
<widget class="QSlider" name="motionblurFactorSlider" > <widget class="QSlider" name="blurFactorSlider" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
......
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