Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
41d28327
Commit
41d28327
authored
Apr 25, 2011
by
Jean-Baptiste Kempf
Browse files
Qt: change default sizes
Close #3340
parent
ca0eddec
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/playlist/playlist.cpp
View file @
41d28327
...
...
@@ -90,7 +90,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
playlist_item_t
*
p_root
=
THEPL
->
p_playing
;
PL_UNLOCK
;
setMinimumWidth
(
35
0
);
setMinimumWidth
(
40
0
);
PLModel
*
model
=
new
PLModel
(
p_playlist
,
p_intf
,
p_root
,
this
);
mainView
=
new
StandardPLPanel
(
this
,
p_intf
,
p_root
,
selector
,
model
);
...
...
modules/gui/qt4/components/playlist/selector.cpp
View file @
41d28327
...
...
@@ -148,6 +148,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
palette
.
setColor
(
QPalette
::
Window
,
QColor
(
209
,
215
,
226
)
);
setPalette
(
palette
);
#endif
setMinimumHeight
(
120
);
}
PLSelector
::~
PLSelector
()
...
...
modules/gui/qt4/main_interface.cpp
View file @
41d28327
...
...
@@ -253,7 +253,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/**** FINAL SIZING and placement of interface */
settings
->
beginGroup
(
"MainWindow"
);
QVLCTools
::
restoreWidgetPosition
(
settings
,
this
,
QSize
(
4
00
,
10
0
)
);
QVLCTools
::
restoreWidgetPosition
(
settings
,
this
,
QSize
(
6
00
,
42
0
)
);
settings
->
endGroup
();
b_interfaceFullScreen
=
isFullScreen
();
...
...
@@ -398,7 +398,7 @@ void MainInterface::createMainWidget( QSettings *settings )
mainLayout
->
insertWidget
(
1
,
stackCentralW
);
settings
->
beginGroup
(
"MainWindow"
);
stackWidgetsSizes
[
bgWidget
]
=
settings
->
value
(
"bgSize"
,
QSize
(
4
00
,
0
)
).
toSize
();
stackWidgetsSizes
[
bgWidget
]
=
settings
->
value
(
"bgSize"
,
QSize
(
6
00
,
0
)
).
toSize
();
/* Resize even if no-auto-resize, because we are at creation */
resizeStack
(
stackWidgetsSizes
[
bgWidget
].
width
(),
stackWidgetsSizes
[
bgWidget
].
height
()
);
...
...
@@ -739,7 +739,7 @@ void MainInterface::createPlaylist()
if
(
b_plDocked
)
{
stackCentralW
->
addWidget
(
playlistWidget
);
stackWidgetsSizes
[
playlistWidget
]
=
settings
->
value
(
"playlistSize"
,
QSize
(
5
00
,
25
0
)
).
toSize
();
stackWidgetsSizes
[
playlistWidget
]
=
settings
->
value
(
"playlistSize"
,
QSize
(
6
00
,
30
0
)
).
toSize
();
}
else
{
...
...
Write
Preview
Supports
Markdown
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