Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
93ac7b02
Commit
93ac7b02
authored
Aug 05, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix some OpenDialog sizing issues, reported by trax (no ticket) and hopefully fix #1538
parent
1479fb4e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
112 deletions
+93
-112
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+1
-0
modules/gui/qt4/ui/open.ui
modules/gui/qt4/ui/open.ui
+92
-112
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
93ac7b02
...
@@ -86,6 +86,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
...
@@ -86,6 +86,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/* Add a tooltip */
/* Add a tooltip */
dialogBox
->
setToolTip
(
qtr
(
"Select one or multiple files"
)
);
dialogBox
->
setToolTip
(
qtr
(
"Select one or multiple files"
)
);
dialogBox
->
setMinimumHeight
(
250
);
// But hide the two OK/Cancel buttons. Enable them for debug.
// But hide the two OK/Cancel buttons. Enable them for debug.
QDialogButtonBox
*
fileDialogAcceptBox
=
QDialogButtonBox
*
fileDialogAcceptBox
=
...
...
modules/gui/qt4/ui/open.ui
View file @
93ac7b02
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
<width>5
20
</width>
<width>5
37
</width>
<height>6
68
</height>
<height>6
40
</height>
</rect>
</rect>
</property>
</property>
<property name="sizePolicy" >
<property name="sizePolicy" >
...
@@ -28,24 +28,11 @@
...
@@ -28,24 +28,11 @@
<property name="windowTitle" >
<property name="windowTitle" >
<string>Dialog</string>
<string>Dialog</string>
</property>
</property>
<layout class="QVBoxLayout" >
<layout class="QGridLayout" name="gridLayout" >
<item>
<item row="0" column="0" colspan="4" >
<widget class="QTabWidget" name="Tab" >
<widget class="QTabWidget" name="Tab" />
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>500</width>
<height>400</height>
</size>
</property>
</widget>
</item>
</item>
<item>
<item
row="1" column="0" colspan="4"
>
<widget class="QCheckBox" name="advancedCheckBox" >
<widget class="QCheckBox" name="advancedCheckBox" >
<property name="toolTip" >
<property name="toolTip" >
<string>_("Show extended options")</string>
<string>_("Show extended options")</string>
...
@@ -55,9 +42,9 @@
...
@@ -55,9 +42,9 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item
row="2" column="0" colspan="4"
>
<widget class="QGroupBox" name="advancedFrame" >
<widget class="QGroupBox" name="advancedFrame" >
<layout class="QGridLayout" >
<layout class="QGridLayout"
name="gridLayout_2"
>
<item row="0" column="0" >
<item row="0" column="0" >
<widget class="QLabel" name="cacheLabel" >
<widget class="QLabel" name="cacheLabel" >
<property name="text" >
<property name="text" >
...
@@ -136,17 +123,17 @@
...
@@ -136,17 +123,17 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item row="1" column="1" colspan="6" >
<item row="1" column="0" >
<widget class="Line" name="line" />
</item>
<item row="2" column="0" colspan="7" >
<widget class="QCheckBox" name="slaveCheckbox" >
<widget class="QCheckBox" name="slaveCheckbox" >
<property name="text" >
<property name="text" >
<string>_("Play another media synchronously (extra audio file, ...)")</string>
<string>_("Play another media synchronously (extra audio file, ...)")</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="3" column="0" >
<item row="1" column="1" colspan="6" >
<widget class="Line" name="line" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="slaveLabel" >
<widget class="QLabel" name="slaveLabel" >
<property name="text" >
<property name="text" >
<string>_("Extra media")</string>
<string>_("Extra media")</string>
...
@@ -156,10 +143,10 @@
...
@@ -156,10 +143,10 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="
3
" column="1" colspan="4" >
<item row="
2
" column="1" colspan="4" >
<widget class="QLineEdit" name="slaveText" />
<widget class="QLineEdit" name="slaveText" />
</item>
</item>
<item row="
3
" column="5" colspan="2" >
<item row="
2
" column="5" colspan="2" >
<widget class="QPushButton" name="slaveBrowseButton" >
<widget class="QPushButton" name="slaveBrowseButton" >
<property name="toolTip" >
<property name="toolTip" >
<string>_("Select the file")</string>
<string>_("Select the file")</string>
...
@@ -169,10 +156,7 @@
...
@@ -169,10 +156,7 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="4" column="1" colspan="6" >
<item row="4" column="0" >
<widget class="Line" name="line" />
</item>
<item row="5" column="0" >
<widget class="QLabel" name="advancedLabel" >
<widget class="QLabel" name="advancedLabel" >
<property name="text" >
<property name="text" >
<string>_("Customize")</string>
<string>_("Customize")</string>
...
@@ -182,7 +166,10 @@
...
@@ -182,7 +166,10 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="5" column="1" colspan="6" >
<item row="3" column="1" colspan="6" >
<widget class="Line" name="line" />
</item>
<item row="4" column="1" colspan="6" >
<widget class="QLineEdit" name="advancedLineInput" >
<widget class="QLineEdit" name="advancedLineInput" >
<property name="toolTip" >
<property name="toolTip" >
<string>_("Complete MRL for VLC internal")</string>
<string>_("Complete MRL for VLC internal")</string>
...
@@ -192,12 +179,7 @@
...
@@ -192,12 +179,7 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item>
<item row="3" column="0" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<item>
<spacer>
<spacer>
<property name="orientation" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
...
@@ -210,7 +192,7 @@
...
@@ -210,7 +192,7 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item
>
<item row="3" column="1"
>
<widget class="QPushButton" name="menuButton" >
<widget class="QPushButton" name="menuButton" >
<property name="sizePolicy" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
<sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
...
@@ -235,7 +217,7 @@
...
@@ -235,7 +217,7 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
>
<item row="3" column="2"
>
<widget class="QPushButton" name="playButton" >
<widget class="QPushButton" name="playButton" >
<property name="sizePolicy" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
...
@@ -257,7 +239,7 @@
...
@@ -257,7 +239,7 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
>
<item row="3" column="3"
>
<widget class="QDialogButtonBox" name="buttonsBox" >
<widget class="QDialogButtonBox" name="buttonsBox" >
<property name="sizePolicy" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
<sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
...
@@ -270,9 +252,7 @@
...
@@ -270,9 +252,7 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
</layout>
<item row="4" column="0" colspan="4" >
</item>
<item>
<spacer>
<spacer>
<property name="orientation" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
<enum>Qt::Vertical</enum>
...
...
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