Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
60b2d721
Commit
60b2d721
authored
May 25, 2007
by
damienf
Browse files
qt4: improve the layout of files in file open dialog
parent
3ea8e8f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/open.cpp
View file @
60b2d721
...
...
@@ -33,6 +33,7 @@
#include
<QDialogButtonBox>
#include
<QLineEdit>
#include
<QStackedLayout>
#include
<QListView>
#ifdef HAVE_LIMITS_H
# include <limits.h>
...
...
@@ -99,6 +100,14 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/* Change the text that was uncool in the usual box */
listLabel
[
5
]
->
setText
(
qtr
(
"Filter:"
)
);
QListView
*
fileListView
=
findChildren
<
QListView
*>
().
first
();
fileListView
->
setViewMode
(
QListView
::
ListMode
);
fileListView
->
setResizeMode
(
QListView
::
Adjust
);
fileListView
->
setWrapping
(
true
);
fileListView
->
setFlow
(
QListView
::
TopToBottom
);
fileListView
->
setUniformItemSizes
(
false
);
fileListView
->
setLayoutMode
(
QListView
::
Batched
);
// Hide the subtitles control by default.
ui
.
subFrame
->
hide
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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