Commit 955947a8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: try to fix the arrow on the open dialog.

Close #2508/
parent 01e557cb
...@@ -127,6 +127,7 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -127,6 +127,7 @@ OpenDialog::OpenDialog( QWidget *parent,
QKeySequence( "Alt+C" ) ); QKeySequence( "Alt+C" ) );
ui.menuButton->setMenu( openButtonMenu ); ui.menuButton->setMenu( openButtonMenu );
ui.menuButton->setIcon( QIcon( ":/down_arrow" ) );
/* Add the three Buttons */ /* Add the three Buttons */
ui.buttonsBox->addButton( selectButton, QDialogButtonBox::AcceptRole ); ui.buttonsBox->addButton( selectButton, QDialogButtonBox::AcceptRole );
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
</spacer> </spacer>
</item> </item>
<item row="3" column="1" > <item row="3" column="1" >
<widget class="QPushButton" name="menuButton" > <widget class="QToolButton" name="menuButton" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Fixed" > <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
...@@ -216,19 +216,22 @@ ...@@ -216,19 +216,22 @@
</property> </property>
<property name="maximumSize" > <property name="maximumSize" >
<size> <size>
<width>20</width> <width>16</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="focusPolicy" > <property name="focusPolicy" >
<enum>Qt::ClickFocus</enum> <enum>Qt::ClickFocus</enum>
</property> </property>
<property name="contextMenuPolicy" >
<enum>Qt::NoContextMenu</enum>
</property>
<property name="toolTip" > <property name="toolTip" >
<string>_("Select play mode")</string> <string>_("Select play mode")</string>
</property> </property>
<property name="popupMode" >
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="arrowType" >
<enum>Qt::NoArrow</enum>
</property>
</widget> </widget>
</item> </item>
<item row="3" column="2" > <item row="3" column="2" >
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>500</width> <width>500</width>
<height>311</height> <height>319</height>
</rect> </rect>
</property> </property>
<property name="minimumSize" > <property name="minimumSize" >
...@@ -351,11 +351,6 @@ ...@@ -351,11 +351,6 @@
</widget> </widget>
</item> </item>
</layout> </layout>
<zorder>subtitlesLabel</zorder>
<zorder>subtitlesSpin</zorder>
<zorder>audioLabel</zorder>
<zorder>audioSpin</zorder>
<zorder>diskGroupBox</zorder>
</widget> </widget>
</item> </item>
<item> <item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment