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
5d00d361
Commit
5d00d361
authored
Dec 16, 2008
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n
parent
bbbdc632
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/gui/qt4/dialogs/toolbar.cpp
modules/gui/qt4/dialogs/toolbar.cpp
+9
-8
No files found.
modules/gui/qt4/dialogs/toolbar.cpp
View file @
5d00d361
...
@@ -50,7 +50,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
...
@@ -50,7 +50,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
setMinimumWidth
(
600
);
setMinimumWidth
(
600
);
/* main GroupBox */
/* main GroupBox */
QGroupBox
*
widgetBox
=
new
QGroupBox
(
"Toolbar Elements"
,
this
);
QGroupBox
*
widgetBox
=
new
QGroupBox
(
qtr
(
"Toolbar Elements"
)
,
this
);
widgetBox
->
setSizePolicy
(
QSizePolicy
::
Preferred
,
widgetBox
->
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
MinimumExpanding
);
QSizePolicy
::
MinimumExpanding
);
QGridLayout
*
boxLayout
=
new
QGridLayout
(
widgetBox
);
QGridLayout
*
boxLayout
=
new
QGridLayout
(
widgetBox
);
...
@@ -68,15 +68,15 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
...
@@ -68,15 +68,15 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
/* Main ToolBar */
/* Main ToolBar */
QGroupBox
*
mainToolbarBox
=
new
QGroupBox
(
"Main Toolbar"
,
this
);
QGroupBox
*
mainToolbarBox
=
new
QGroupBox
(
qtr
(
"Main Toolbar"
)
,
this
);
QGridLayout
*
mainTboxLayout
=
new
QGridLayout
(
mainToolbarBox
);
QGridLayout
*
mainTboxLayout
=
new
QGridLayout
(
mainToolbarBox
);
QLabel
*
label
=
new
QLabel
(
"Toolbar position:"
);
QLabel
*
label
=
new
QLabel
(
qtr
(
"Toolbar position:"
)
);
mainTboxLayout
->
addWidget
(
label
,
0
,
0
,
1
,
2
);
mainTboxLayout
->
addWidget
(
label
,
0
,
0
,
1
,
2
);
QComboBox
*
positionCombo
=
new
QComboBox
;
QComboBox
*
positionCombo
=
new
QComboBox
;
positionCombo
->
addItems
(
QStringList
()
<<
"Above the Video"
positionCombo
->
addItems
(
QStringList
()
<<
qtr
(
"Above the Video"
)
<<
"Under the Video"
);
<<
qtr
(
"Under the Video"
)
);
mainTboxLayout
->
addWidget
(
positionCombo
,
0
,
2
,
1
,
1
);
mainTboxLayout
->
addWidget
(
positionCombo
,
0
,
2
,
1
,
1
);
QLabel
*
line1Label
=
new
QLabel
(
"Line 1:"
);
QLabel
*
line1Label
=
new
QLabel
(
"Line 1:"
);
...
@@ -96,7 +96,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
...
@@ -96,7 +96,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainTboxLayout
->
addWidget
(
controller2
,
2
,
1
,
1
,
2
);
mainTboxLayout
->
addWidget
(
controller2
,
2
,
1
,
1
,
2
);
/* Advanced ToolBar */
/* Advanced ToolBar */
QLabel
*
advLabel
=
new
QLabel
(
"Advanced Widget toolbar:"
);
QLabel
*
advLabel
=
new
QLabel
(
qtr
(
"Advanced Widget toolbar:"
)
);
QString
lineA
=
getSettings
()
->
value
(
"MainWindow/AdvToolbar"
,
QString
lineA
=
getSettings
()
->
value
(
"MainWindow/AdvToolbar"
,
"12;11;13;14"
).
toString
();
"12;11;13;14"
).
toString
();
controllerA
=
new
DroppingController
(
p_intf
,
lineA
,
controllerA
=
new
DroppingController
(
p_intf
,
lineA
,
...
@@ -107,7 +107,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
...
@@ -107,7 +107,7 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainLayout
->
addWidget
(
mainToolbarBox
,
1
,
0
,
1
,
-
1
);
mainLayout
->
addWidget
(
mainToolbarBox
,
1
,
0
,
1
,
-
1
);
/* TimeToolBar */
/* TimeToolBar */
QGroupBox
*
timeToolbarBox
=
new
QGroupBox
(
"Time Toolbar"
,
this
);
QGroupBox
*
timeToolbarBox
=
new
QGroupBox
(
qtr
(
"Time Toolbar"
)
,
this
);
QGridLayout
*
timeTboxLayout
=
new
QGridLayout
(
timeToolbarBox
);
QGridLayout
*
timeTboxLayout
=
new
QGridLayout
(
timeToolbarBox
);
QString
line
=
getSettings
()
->
value
(
"MainWindow/InputToolbar"
,
QString
line
=
getSettings
()
->
value
(
"MainWindow/InputToolbar"
,
...
@@ -119,7 +119,8 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
...
@@ -119,7 +119,8 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
mainLayout
->
addWidget
(
timeToolbarBox
,
2
,
0
,
1
,
-
1
);
mainLayout
->
addWidget
(
timeToolbarBox
,
2
,
0
,
1
,
-
1
);
/* FSCToolBar */
/* FSCToolBar */
QGroupBox
*
FSCToolbarBox
=
new
QGroupBox
(
"Fullscreen Controller"
,
this
);
QGroupBox
*
FSCToolbarBox
=
new
QGroupBox
(
qtr
(
"Fullscreen Controller"
),
this
);
QGridLayout
*
FSCTboxLayout
=
new
QGridLayout
(
FSCToolbarBox
);
QGridLayout
*
FSCTboxLayout
=
new
QGridLayout
(
FSCToolbarBox
);
QString
lineFSC
=
getSettings
()
->
value
(
"MainWindow/FSCtoolbar"
,
QString
lineFSC
=
getSettings
()
->
value
(
"MainWindow/FSCtoolbar"
,
...
...
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