Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
72ac92a9
Commit
72ac92a9
authored
Nov 30, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: playlist, remove the bar of buttons at the bottom
It just changes the layout, but not much more yet.
parent
157f43b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
28 deletions
+18
-28
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+18
-28
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
72ac92a9
...
...
@@ -55,7 +55,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
playlist_item_t
*
p_root
)
:
QWidget
(
_parent
),
p_intf
(
_p_intf
)
{
Q
VBoxLayout
*
layout
=
new
QVBox
Layout
(
this
);
Q
GridLayout
*
layout
=
new
QGrid
Layout
(
this
);
layout
->
setSpacing
(
0
);
layout
->
setMargin
(
0
);
model
=
new
PLModel
(
p_playlist
,
p_intf
,
p_root
,
this
);
...
...
@@ -110,46 +110,36 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
currentRootId
=
-
1
;
/* Buttons configuration */
QHBoxLayout
*
buttons
=
new
QHBoxLayout
;
/* Title label */
title
=
new
QLabel
;
QFont
titleFont
;
titleFont
.
setPointSize
(
titleFont
.
pointSize
()
+
6
);
titleFont
.
setFamily
(
"Verdana"
);
title
->
setFont
(
titleFont
);
layout
->
addWidget
(
title
,
0
,
0
);
/* A Spacer and the search possibilities */
layout
->
setRowStretch
(
1
,
10
);
SearchLineEdit
*
search
=
new
SearchLineEdit
(
this
);
layout
->
addWidget
(
search
,
0
,
4
);
CONNECT
(
search
,
textChanged
(
const
QString
&
),
this
,
search
(
const
QString
&
)
);
/* Add item to the playlist button */
addButton
=
new
QPushButton
;
addButton
->
setIcon
(
QIcon
(
":/buttons/playlist/playlist_add"
)
);
addButton
->
setMaximumWidth
(
30
);
BUTTONACT
(
addButton
,
popupAdd
()
);
buttons
->
addWidget
(
addButton
);
layout
->
addWidget
(
addButton
,
0
,
2
);
/* Goto */
gotoPlayingButton
=
new
QPushButton
;
BUTTON_SET_ACT_I
(
gotoPlayingButton
,
""
,
buttons
/
playlist
/
jump_to
,
qtr
(
"Show the current item"
),
gotoPlayingItem
()
);
buttons
->
addWidget
(
gotoPlayingButton
);
/* A Spacer and the search possibilities */
QSpacerItem
*
spacer
=
new
QSpacerItem
(
10
,
20
);
buttons
->
addItem
(
spacer
);
QLabel
*
filter
=
new
QLabel
(
qtr
(
I_PL_SEARCH
)
+
" "
);
buttons
->
addWidget
(
filter
);
SearchLineEdit
*
search
=
new
SearchLineEdit
(
this
);
buttons
->
addWidget
(
search
);
filter
->
setBuddy
(
search
);
CONNECT
(
search
,
textChanged
(
const
QString
&
),
this
,
search
(
const
QString
&
)
);
/* Title label */
title
=
new
QLabel
;
QFont
titleFont
;
titleFont
.
setPointSize
(
titleFont
.
pointSize
()
+
6
);
titleFont
.
setFamily
(
"Verdana"
);
title
->
setFont
(
titleFont
);
layout
->
addWidget
(
gotoPlayingButton
,
0
,
3
);
/* Finish the layout */
layout
->
addWidget
(
title
);
layout
->
addWidget
(
view
);
layout
->
addLayout
(
buttons
);
// layout->addWidget( bar );
layout
->
addWidget
(
view
,
1
,
0
,
1
,
-
1
);
selectColumnsSigMapper
=
new
QSignalMapper
(
this
);
CONNECT
(
selectColumnsSigMapper
,
mapped
(
int
),
this
,
toggleColumnShown
(
int
)
);
...
...
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