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
d769331b
Commit
d769331b
authored
Oct 01, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: do not translate object variable names in V4L2 panel
parent
de56648c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+4
-4
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
d769331b
...
@@ -737,7 +737,7 @@ void ExtV4l2::Refresh( void )
...
@@ -737,7 +737,7 @@ void ExtV4l2::Refresh( void )
if
(
i_type
&
VLC_VAR_HASCHOICE
)
if
(
i_type
&
VLC_VAR_HASCHOICE
)
{
{
QComboBox
*
combobox
=
new
QComboBox
(
box
);
QComboBox
*
combobox
=
new
QComboBox
(
box
);
combobox
->
setObjectName
(
q
tr
(
psz_var
)
);
combobox
->
setObjectName
(
q
fu
(
psz_var
)
);
vlc_value_t
val2
,
text2
;
vlc_value_t
val2
,
text2
;
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETCHOICES
,
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETCHOICES
,
...
@@ -759,7 +759,7 @@ void ExtV4l2::Refresh( void )
...
@@ -759,7 +759,7 @@ void ExtV4l2::Refresh( void )
else
else
{
{
QSlider
*
slider
=
new
QSlider
(
box
);
QSlider
*
slider
=
new
QSlider
(
box
);
slider
->
setObjectName
(
q
tr
(
psz_var
)
);
slider
->
setObjectName
(
q
fu
(
psz_var
)
);
slider
->
setOrientation
(
Qt
::
Horizontal
);
slider
->
setOrientation
(
Qt
::
Horizontal
);
vlc_value_t
val2
;
vlc_value_t
val2
;
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETMIN
,
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETMIN
,
...
@@ -783,7 +783,7 @@ void ExtV4l2::Refresh( void )
...
@@ -783,7 +783,7 @@ void ExtV4l2::Refresh( void )
case
VLC_VAR_BOOL
:
case
VLC_VAR_BOOL
:
{
{
QCheckBox
*
button
=
new
QCheckBox
(
name
,
box
);
QCheckBox
*
button
=
new
QCheckBox
(
name
,
box
);
button
->
setObjectName
(
q
tr
(
psz_var
)
);
button
->
setObjectName
(
q
fu
(
psz_var
)
);
button
->
setChecked
(
var_GetBool
(
p_obj
,
psz_var
)
);
button
->
setChecked
(
var_GetBool
(
p_obj
,
psz_var
)
);
CONNECT
(
button
,
clicked
(
bool
),
this
,
CONNECT
(
button
,
clicked
(
bool
),
this
,
...
@@ -796,7 +796,7 @@ void ExtV4l2::Refresh( void )
...
@@ -796,7 +796,7 @@ void ExtV4l2::Refresh( void )
if
(
i_type
&
VLC_VAR_ISCOMMAND
)
if
(
i_type
&
VLC_VAR_ISCOMMAND
)
{
{
QPushButton
*
button
=
new
QPushButton
(
name
,
box
);
QPushButton
*
button
=
new
QPushButton
(
name
,
box
);
button
->
setObjectName
(
q
tr
(
psz_var
)
);
button
->
setObjectName
(
q
fu
(
psz_var
)
);
CONNECT
(
button
,
clicked
(
bool
),
this
,
CONNECT
(
button
,
clicked
(
bool
),
this
,
ValueChange
(
bool
)
);
ValueChange
(
bool
)
);
...
...
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