Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2152eabc
Commit
2152eabc
authored
Sep 03, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: extended panels, remove last tab and simplify code
parent
ebb2d8d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
75 deletions
+2
-75
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+1
-16
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+0
-2
modules/gui/qt4/ui/video_effects.ui
modules/gui/qt4/ui/video_effects.ui
+1
-57
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
2152eabc
...
@@ -73,7 +73,7 @@ private:
...
@@ -73,7 +73,7 @@ private:
};
};
#endif
#endif
QString
ModuleFromWidgetName
(
QObject
*
obj
)
const
QString
ModuleFromWidgetName
(
QObject
*
obj
)
{
{
return
obj
->
objectName
().
replace
(
"Enable"
,
""
);
return
obj
->
objectName
().
replace
(
"Enable"
,
""
);
}
}
...
@@ -240,10 +240,6 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
...
@@ -240,10 +240,6 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
ui
.
cropRightPx
,
setDisabled
(
bool
)
);
ui
.
cropRightPx
,
setDisabled
(
bool
)
);
}
}
ExtVideo
::~
ExtVideo
()
{
}
void
ExtVideo
::
cropChange
()
void
ExtVideo
::
cropChange
()
{
{
if
(
ui
.
topBotCropSync
->
isChecked
()
)
if
(
ui
.
topBotCropSync
->
isChecked
()
)
...
@@ -362,12 +358,6 @@ void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
...
@@ -362,12 +358,6 @@ void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
}
}
/* Vout is not kept, so put that in the config */
/* Vout is not kept, so put that in the config */
config_PutPsz
(
p_intf
,
psz_filter_type
,
psz_string
);
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 */
/* Try to set on the fly */
p_vout
=
THEMIM
->
getVout
();
p_vout
=
THEMIM
->
getVout
();
...
@@ -646,11 +636,6 @@ ExtV4l2::ExtV4l2( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -646,11 +636,6 @@ ExtV4l2::ExtV4l2( intf_thread_t *_p_intf, QWidget *_parent )
box
=
NULL
;
box
=
NULL
;
}
}
ExtV4l2
::~
ExtV4l2
()
{
delete
box
;
}
void
ExtV4l2
::
showEvent
(
QShowEvent
*
event
)
void
ExtV4l2
::
showEvent
(
QShowEvent
*
event
)
{
{
QWidget
::
showEvent
(
event
);
QWidget
::
showEvent
(
event
);
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
2152eabc
...
@@ -49,7 +49,6 @@ class ExtVideo: public QObject
...
@@ -49,7 +49,6 @@ class ExtVideo: public QObject
friend
class
ExtendedDialog
;
friend
class
ExtendedDialog
;
public:
public:
ExtVideo
(
struct
intf_thread_t
*
,
QTabWidget
*
);
ExtVideo
(
struct
intf_thread_t
*
,
QTabWidget
*
);
virtual
~
ExtVideo
();
/*void gotoConf( QObject* );*/
/*void gotoConf( QObject* );*/
private:
private:
Ui
::
ExtVideoWidget
ui
;
Ui
::
ExtVideoWidget
ui
;
...
@@ -71,7 +70,6 @@ class ExtV4l2 : public QWidget
...
@@ -71,7 +70,6 @@ class ExtV4l2 : public QWidget
Q_OBJECT
Q_OBJECT
public:
public:
ExtV4l2
(
intf_thread_t
*
,
QWidget
*
);
ExtV4l2
(
intf_thread_t
*
,
QWidget
*
);
virtual
~
ExtV4l2
();
virtual
void
showEvent
(
QShowEvent
*
event
);
virtual
void
showEvent
(
QShowEvent
*
event
);
...
...
modules/gui/qt4/ui/video_effects.ui
View file @
2152eabc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
619
</width>
<width>
619
</width>
<height>
280
</height>
<height>
308
</height>
</rect>
</rect>
</property>
</property>
<property
name=
"currentIndex"
>
<property
name=
"currentIndex"
>
...
@@ -1324,57 +1324,6 @@
...
@@ -1324,57 +1324,6 @@
</item>
</item>
</layout>
</layout>
</widget>
</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>
</widget>
<tabstops>
<tabstops>
<tabstop>
logoEnable
</tabstop>
<tabstop>
logoEnable
</tabstop>
...
@@ -1442,11 +1391,6 @@
...
@@ -1442,11 +1391,6 @@
<tabstop>
brightnessSlider
</tabstop>
<tabstop>
brightnessSlider
</tabstop>
<tabstop>
contrastSlider
</tabstop>
<tabstop>
contrastSlider
</tabstop>
<tabstop>
hueSlider
</tabstop>
<tabstop>
hueSlider
</tabstop>
<tabstop>
filtersResetButton
</tabstop>
<tabstop>
videoFilterText
</tabstop>
<tabstop>
filtersUpdateButton
</tabstop>
<tabstop>
subpictureFilterText
</tabstop>
<tabstop>
voutFilterText
</tabstop>
<tabstop>
adjustEnable
</tabstop>
<tabstop>
adjustEnable
</tabstop>
<tabstop>
transformEnable
</tabstop>
<tabstop>
transformEnable
</tabstop>
<tabstop>
brightnessThresholdCheck
</tabstop>
<tabstop>
brightnessThresholdCheck
</tabstop>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment