Commit f4232007 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: sprefs, add the systray popup on minize on the main page

parent fd48c291
...@@ -552,6 +552,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -552,6 +552,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "embedded-video", Bool, NULL, embedVideo ); CONFIG_GENERIC( "embedded-video", Bool, NULL, embedVideo );
CONFIG_GENERIC( "qt-fs-controller", Bool, NULL, fsController ); CONFIG_GENERIC( "qt-fs-controller", Bool, NULL, fsController );
CONFIG_GENERIC( "qt-system-tray", Bool, NULL, systrayBox ); CONFIG_GENERIC( "qt-system-tray", Bool, NULL, systrayBox );
CONFIG_GENERIC( "qt-notification", Bool, NULL, sysPop );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel, CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
ui.fileSkin, ui.skinBrowse ); ui.fileSkin, ui.skinBrowse );
CONFIG_GENERIC( "qt-video-autoresize", Bool, NULL, resizingBox ); CONFIG_GENERIC( "qt-video-autoresize", Bool, NULL, resizingBox );
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>745</width> <width>802</width>
<height>651</height> <height>651</height>
</rect> </rect>
</property> </property>
...@@ -332,6 +332,12 @@ ...@@ -332,6 +332,12 @@
</item> </item>
<item row="0" column="2" rowspan="3" colspan="2"> <item row="0" column="2" rowspan="3" colspan="2">
<widget class="QWidget" name="native_zone" native="true"> <widget class="QWidget" name="native_zone" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>10</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
...@@ -346,13 +352,6 @@ ...@@ -346,13 +352,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="1">
<widget class="QCheckBox" name="fsController">
<property name="text">
<string>Show controls in full screen mode</string>
</property>
</widget>
</item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="displayLabel"> <widget class="QLabel" name="displayLabel">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -372,13 +371,6 @@ ...@@ -372,13 +371,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1">
<widget class="QCheckBox" name="systrayBox">
<property name="text">
<string>Show systray icon</string>
</property>
</widget>
</item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="resizingBox"> <widget class="QCheckBox" name="resizingBox">
<property name="text"> <property name="text">
...@@ -386,13 +378,6 @@ ...@@ -386,13 +378,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="0">
<widget class="QCheckBox" name="embedVideo">
<property name="text">
<string>Embed video in interface</string>
</property>
</widget>
</item>
<item row="8" column="1"> <item row="8" column="1">
<widget class="QComboBox" name="stylesCombo"/> <widget class="QComboBox" name="stylesCombo"/>
</item> </item>
...@@ -406,6 +391,34 @@ ...@@ -406,6 +391,34 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0">
<widget class="QCheckBox" name="systrayBox">
<property name="text">
<string>Show systray icon</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="embedVideo">
<property name="text">
<string>Embed video in interface</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="fsController">
<property name="text">
<string>Show controls in full screen mode</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="sysPop">
<property name="text">
<string> Systray popup when minimized</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</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