Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
8bc57b36
Commit
8bc57b36
authored
Jun 04, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Open Dialog: Capture: small fixes.
parent
6808bf9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+7
-7
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/open.hpp
+2
-1
No files found.
modules/gui/qt4/components/open.cpp
View file @
8bc57b36
...
...
@@ -507,6 +507,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
v4lFreq
=
new
QSpinBox
;
v4lFreq
->
setAlignment
(
Qt
::
AlignRight
);
v4lFreq
->
setSuffix
(
" kHz"
);
setSpinBoxFreq
(
v4lFreq
);
v4lPropLayout
->
addWidget
(
v4lFreq
,
1
,
1
);
/* v4l CONNECTs */
...
...
@@ -547,7 +548,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
pvrFreq
=
new
QSpinBox
;
pvrFreq
->
setAlignment
(
Qt
::
AlignRight
);
pvrFreq
->
setSuffix
(
" kHz"
);
set
MaxBound
(
pvrFreq
);
set
SpinBoxFreq
(
pvrFreq
);
pvrPropLayout
->
addWidget
(
pvrFreq
,
1
,
1
);
QLabel
*
pvrBitrLabel
=
new
QLabel
(
qtr
(
"Bitrate"
)
);
...
...
@@ -556,7 +557,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
pvrBitr
=
new
QSpinBox
;
pvrBitr
->
setAlignment
(
Qt
::
AlignRight
);
pvrBitr
->
setSuffix
(
" kHz"
);
set
MaxBound
(
pvrBitr
);
set
SpinBoxFreq
(
pvrBitr
);
pvrPropLayout
->
addWidget
(
pvrBitr
,
2
,
1
);
/* PVR CONNECTs */
...
...
@@ -638,8 +639,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaFreq
->
setAlignment
(
Qt
::
AlignRight
);
bdaFreq
->
setSuffix
(
" kHz"
);
bdaFreq
->
setSingleStep
(
1000
);
bdaFreq
->
setAccelerated
(
true
);
setMaxBound
(
bdaFreq
)
setSpinBoxFreq
(
bdaFreq
)
bdaPropLayout
->
addWidget
(
bdaFreq
,
0
,
1
);
bdaSrateLabel
=
new
QLabel
(
qtr
(
"Transponder symbol rate"
)
);
...
...
@@ -648,7 +648,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
bdaSrate
=
new
QSpinBox
;
bdaSrate
->
setAlignment
(
Qt
::
AlignRight
);
bdaSrate
->
setSuffix
(
" kHz"
);
set
MaxBound
(
bdaSrate
);
set
SpinBoxFreq
(
bdaSrate
);
bdaPropLayout
->
addWidget
(
bdaSrate
,
1
,
1
);
bdaBandLabel
=
new
QLabel
(
qtr
(
"Bandwidth"
)
);
...
...
@@ -706,7 +706,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
dvbFreq
=
new
QSpinBox
;
dvbFreq
->
setAlignment
(
Qt
::
AlignRight
);
dvbFreq
->
setSuffix
(
" kHz"
);
set
MaxBound
(
dvbFreq
);
set
SpinBoxFreq
(
dvbFreq
);
dvbPropLayout
->
addWidget
(
dvbFreq
,
0
,
1
);
QLabel
*
dvbSrateLabel
=
new
QLabel
(
qtr
(
"Transponder symbol rate"
)
);
...
...
@@ -715,7 +715,7 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
dvbSrate
=
new
QSpinBox
;
dvbSrate
->
setAlignment
(
Qt
::
AlignRight
);
dvbSrate
->
setSuffix
(
" kHz"
);
set
MaxBound
(
dvbSrate
);
set
SpinBoxFreq
(
dvbSrate
);
dvbPropLayout
->
addWidget
(
dvbSrate
,
1
,
1
);
/* DVB CONNECTs */
...
...
modules/gui/qt4/components/open.hpp
View file @
8bc57b36
...
...
@@ -38,7 +38,8 @@
# include <limits.h>
#endif
#define setMaxBound( spinbox ) spinbox->setRange ( 0, INT_MAX );
#define setSpinBoxFreq( spinbox ){ spinbox->setRange ( 0, INT_MAX ); \
spinbox->setAccelerated( true ); }
#define V4L_DEVICE 0x0
#define PVR_DEVICE 0x1
...
...
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