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
41d28327
Commit
41d28327
authored
Apr 25, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: change default sizes
Close #3340
parent
ca0eddec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+1
-1
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+1
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+3
-3
No files found.
modules/gui/qt4/components/playlist/playlist.cpp
View file @
41d28327
...
@@ -90,7 +90,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
...
@@ -90,7 +90,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
playlist_item_t
*
p_root
=
THEPL
->
p_playing
;
playlist_item_t
*
p_root
=
THEPL
->
p_playing
;
PL_UNLOCK
;
PL_UNLOCK
;
setMinimumWidth
(
35
0
);
setMinimumWidth
(
40
0
);
PLModel
*
model
=
new
PLModel
(
p_playlist
,
p_intf
,
p_root
,
this
);
PLModel
*
model
=
new
PLModel
(
p_playlist
,
p_intf
,
p_root
,
this
);
mainView
=
new
StandardPLPanel
(
this
,
p_intf
,
p_root
,
selector
,
model
);
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 )
...
@@ -148,6 +148,7 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
palette
.
setColor
(
QPalette
::
Window
,
QColor
(
209
,
215
,
226
)
);
palette
.
setColor
(
QPalette
::
Window
,
QColor
(
209
,
215
,
226
)
);
setPalette
(
palette
);
setPalette
(
palette
);
#endif
#endif
setMinimumHeight
(
120
);
}
}
PLSelector
::~
PLSelector
()
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 )
...
@@ -253,7 +253,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
/**** FINAL SIZING and placement of interface */
/**** FINAL SIZING and placement of interface */
settings
->
beginGroup
(
"MainWindow"
);
settings
->
beginGroup
(
"MainWindow"
);
QVLCTools
::
restoreWidgetPosition
(
settings
,
this
,
QSize
(
400
,
10
0
)
);
QVLCTools
::
restoreWidgetPosition
(
settings
,
this
,
QSize
(
600
,
42
0
)
);
settings
->
endGroup
();
settings
->
endGroup
();
b_interfaceFullScreen
=
isFullScreen
();
b_interfaceFullScreen
=
isFullScreen
();
...
@@ -398,7 +398,7 @@ void MainInterface::createMainWidget( QSettings *settings )
...
@@ -398,7 +398,7 @@ void MainInterface::createMainWidget( QSettings *settings )
mainLayout
->
insertWidget
(
1
,
stackCentralW
);
mainLayout
->
insertWidget
(
1
,
stackCentralW
);
settings
->
beginGroup
(
"MainWindow"
);
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 */
/* Resize even if no-auto-resize, because we are at creation */
resizeStack
(
stackWidgetsSizes
[
bgWidget
].
width
(),
stackWidgetsSizes
[
bgWidget
].
height
()
);
resizeStack
(
stackWidgetsSizes
[
bgWidget
].
width
(),
stackWidgetsSizes
[
bgWidget
].
height
()
);
...
@@ -739,7 +739,7 @@ void MainInterface::createPlaylist()
...
@@ -739,7 +739,7 @@ void MainInterface::createPlaylist()
if
(
b_plDocked
)
if
(
b_plDocked
)
{
{
stackCentralW
->
addWidget
(
playlistWidget
);
stackCentralW
->
addWidget
(
playlistWidget
);
stackWidgetsSizes
[
playlistWidget
]
=
settings
->
value
(
"playlistSize"
,
QSize
(
500
,
25
0
)
).
toSize
();
stackWidgetsSizes
[
playlistWidget
]
=
settings
->
value
(
"playlistSize"
,
QSize
(
600
,
30
0
)
).
toSize
();
}
}
else
else
{
{
...
...
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