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
01e557cb
Commit
01e557cb
authored
Feb 23, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix the weird size of the open dialog.
parent
e74e198b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+6
-5
modules/gui/qt4/ui/open_capture.ui
modules/gui/qt4/ui/open_capture.ui
+2
-2
modules/gui/qt4/ui/open_file.ui
modules/gui/qt4/ui/open_file.ui
+3
-3
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
01e557cb
...
...
@@ -88,10 +88,10 @@ OpenDialog::OpenDialog( QWidget *parent,
setWindowTitle
(
qtr
(
"Open a Media"
)
);
/* Tab definition and creation */
fileOpenPanel
=
new
FileOpenPanel
(
ui
.
Tab
,
p_intf
);
discOpenPanel
=
new
DiscOpenPanel
(
ui
.
Tab
,
p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
ui
.
Tab
,
p_intf
);
captureOpenPanel
=
new
CaptureOpenPanel
(
ui
.
Tab
,
p_intf
);
fileOpenPanel
=
new
FileOpenPanel
(
this
,
p_intf
);
discOpenPanel
=
new
DiscOpenPanel
(
this
,
p_intf
);
netOpenPanel
=
new
NetOpenPanel
(
this
,
p_intf
);
captureOpenPanel
=
new
CaptureOpenPanel
(
this
,
p_intf
);
/* Insert the tabs */
ui
.
Tab
->
insertTab
(
OPEN_FILE_TAB
,
fileOpenPanel
,
qtr
(
"&File"
)
);
...
...
@@ -179,7 +179,8 @@ OpenDialog::OpenDialog( QWidget *parent,
storedMethod
=
""
;
newCachingMethod
(
"file-caching"
);
resize
(
getSettings
()
->
value
(
"opendialog-size"
,
QSize
(
400
,
490
)
).
toSize
()
);
setMinimumSize
(
sizeHint
()
);
resize
(
getSettings
()
->
value
(
"opendialog-size"
,
QSize
(
500
,
490
)
).
toSize
()
);
}
OpenDialog
::~
OpenDialog
()
...
...
modules/gui/qt4/ui/open_capture.ui
View file @
01e557cb
...
...
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>3
65
</width>
<height>1
29
</height>
<width>3
92
</width>
<height>1
34
</height>
</rect>
</property>
<layout class="QGridLayout" >
...
...
modules/gui/qt4/ui/open_file.ui
View file @
01e557cb
...
...
@@ -6,12 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>5
19
</width>
<height>2
82
</height>
<width>5
71
</width>
<height>2
71
</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="
Minimum" hsizetype="Preferred
" >
<sizepolicy vsizetype="
Preferred" hsizetype="MinimumExpanding
" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
...
...
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