Commit 3889a42f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, sprefs: add play-and-pause

parent d572f0e9
...@@ -602,6 +602,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -602,6 +602,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_BOOL( "qt-pause-minimized", pauseMinimizedBox ); CONFIG_BOOL( "qt-pause-minimized", pauseMinimizedBox );
CONFIG_BOOL( "playlist-tree", treePlaylist ); CONFIG_BOOL( "playlist-tree", treePlaylist );
CONFIG_BOOL( "play-and-pause", playPauseBox );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel, CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
ui.fileSkin, ui.skinBrowse ); ui.fileSkin, ui.skinBrowse );
......
...@@ -231,17 +231,21 @@ ...@@ -231,17 +231,21 @@
<property name="title"> <property name="title">
<string>Playlist</string> <string>Playlist</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_6"> <layout class="QGridLayout" name="gridLayout_4">
<property name="bottomMargin"> <item row="0" column="0">
<number>9</number>
</property>
<item row="0" column="0" colspan="3">
<widget class="QCheckBox" name="treePlaylist"> <widget class="QCheckBox" name="treePlaylist">
<property name="text"> <property name="text">
<string>Display playlist tree</string> <string>Display playlist tree</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" colspan="2">
<widget class="QCheckBox" name="playPauseBox">
<property name="text">
<string>Pause on the last frame of a video</string>
</property>
</widget>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="assocLabel"> <widget class="QLabel" name="assocLabel">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -258,6 +262,19 @@ ...@@ -258,6 +262,19 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QPushButton" name="assoButton"> <widget class="QPushButton" name="assoButton">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -277,14 +294,14 @@ ...@@ -277,14 +294,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="3">
<spacer name="horizontalSpacer_6"> <spacer name="horizontalSpacer_8">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>40</width> <width>135</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
......
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