};
#endif
-QString ModuleFromWidgetName( QObject *obj )
+const QString ModuleFromWidgetName( QObject *obj )
{
return obj->objectName().replace( "Enable","" );
}
ui.cropRightPx, setDisabled( bool ) );
}
-ExtVideo::~ExtVideo()
-{
-}
-
void ExtVideo::cropChange()
{
if( ui.topBotCropSync->isChecked() )
}
/* Vout is not kept, so put that in the config */
config_PutPsz( p_intf, psz_filter_type, psz_string );
- if( !strcmp( psz_filter_type, "video-filter" ) )
- ui.videoFilterText->setText( psz_string );
- else if( !strcmp( psz_filter_type, "vout-filter" ) )
- ui.voutFilterText->setText( psz_string );
- else if( !strcmp( psz_filter_type, "sub-filter" ) )
- ui.subpictureFilterText->setText( psz_string );
/* Try to set on the fly */
p_vout = THEMIM->getVout();
box = NULL;
}
-ExtV4l2::~ExtV4l2()
-{
- delete box;
-}
-
void ExtV4l2::showEvent( QShowEvent *event )
{
QWidget::showEvent( event );
<x>0</x>
<y>0</y>
<width>619</width>
- <height>280</height>
+ <height>308</height>
</rect>
</property>
<property name="currentIndex">
</item>
</layout>
</widget>
- <widget class="QWidget" name="tab_6">
- <attribute name="title">
- <string>Advanced video filter controls</string>
- </attribute>
- <layout class="QGridLayout">
- <item row="2" column="1" colspan="2">
- <widget class="QLineEdit" name="subpictureFilterText"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_34">
- <property name="text">
- <string>Subpicture filters</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" colspan="2">
- <widget class="QLineEdit" name="videoFilterText"/>
- </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">
- <widget class="QLabel" name="label_32">
- <property name="text">
- <string>Vout filters</string>
- </property>
- </widget>
- </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="0" column="1" colspan="2">
- <widget class="QLineEdit" name="voutFilterText"/>
- </item>
- </layout>
- </widget>
</widget>
<tabstops>
<tabstop>logoEnable</tabstop>
<tabstop>brightnessSlider</tabstop>
<tabstop>contrastSlider</tabstop>
<tabstop>hueSlider</tabstop>
- <tabstop>filtersResetButton</tabstop>
- <tabstop>videoFilterText</tabstop>
- <tabstop>filtersUpdateButton</tabstop>
- <tabstop>subpictureFilterText</tabstop>
- <tabstop>voutFilterText</tabstop>
<tabstop>adjustEnable</tabstop>
<tabstop>transformEnable</tabstop>
<tabstop>brightnessThresholdCheck</tabstop>