]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/uis/SettingsGeneral.ui
Add full screen support. https://redmine.stoutner.com/issues/832
[PrivacyBrowserPC.git] / src / uis / SettingsGeneral.ui
index 5248663a6d60d6bae2ae774e10bf609ee0c6a74d..5e11e864ec0d98df013b543e4389bf8d7b3c61ab 100644 (file)
     <class>GeneralSettings</class>
 
     <widget class="QWidget">
-        <layout class="QFormLayout">
-            <!-- Homepage. -->
-            <item row="0" column="0">
-                <widget class="QLabel" name="homepageLabel">
-                    <property name="text">
-                        <string>Homepage</string>
-                    </property>
-
-                    <property name="toolTip">
-                        <string>The default is https://www.mojeek.com/.</string>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="0" column="1">
-                <widget class="KLineEdit" name="kcfg_homepage" />
-            </item>
-
-            <!-- Search engine. -->
-            <item row="1" column="0">
-                <widget class="QLabel">
-                    <property name="text">
-                        <string>Search engine</string>
-                    </property>
-
-                    <property name="toolTip">
-                        <string>The default is Mojeek.</string>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="1" column="1">
-                <widget class="QComboBox" name="kcfg_searchEngine">
-                    <property name="sizePolicy">
-                        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-
-                    <property name="editable">
-                        <bool>true</bool>
-                    </property>
-
-                    <item>
-                        <property name="text">
-                            <string>Mojeek</string>
-                        </property>
+        <layout class="QVBoxLayout">
+            <item>
+                <layout class="QFormLayout">
+                    <!-- Homepage. -->
+                    <item row="0" column="0">
+                        <widget class="QLabel" name="homepageLabel">
+                            <property name="text">
+                                <string>Homepage</string>
+                            </property>
+
+                            <property name="toolTip">
+                                <string>The default is https://www.mojeek.com/.</string>
+                            </property>
+                        </widget>
                     </item>
 
-                    <item>
-                        <property name="text">
-                            <string>Monocles</string>
-                        </property>
+                    <item row="0" column="1">
+                        <widget class="KLineEdit" name="kcfg_homepage" />
                     </item>
 
-                    <item>
-                        <property name="text">
-                            <string>MetaGer</string>
-                        </property>
+                    <!-- Search engine. -->
+                    <item row="1" column="0">
+                        <widget class="QLabel">
+                            <property name="text">
+                                <string>Search engine</string>
+                            </property>
+
+                            <property name="toolTip">
+                                <string>The default is Mojeek.</string>
+                            </property>
+                        </widget>
                     </item>
 
-                    <item>
-                        <property name="text">
-                            <string>Google</string>
-                        </property>
+                    <item row="1" column="1">
+                        <widget class="QComboBox" name="kcfg_searchEngine">
+                            <property name="sizePolicy">
+                                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+                                    <horstretch>0</horstretch>
+                                    <verstretch>0</verstretch>
+                                </sizepolicy>
+                            </property>
+
+                            <property name="editable">
+                                <bool>true</bool>
+                            </property>
+
+                            <item>
+                                <property name="text">
+                                    <string>Mojeek</string>
+                                </property>
+                            </item>
+
+                            <item>
+                                <property name="text">
+                                    <string>Monocles</string>
+                                </property>
+                            </item>
+
+                            <item>
+                                <property name="text">
+                                    <string>MetaGer</string>
+                                </property>
+                            </item>
+
+                            <item>
+                                <property name="text">
+                                    <string>Google</string>
+                                </property>
+                            </item>
+
+                            <item>
+                                <property name="text">
+                                    <string>Bing</string>
+                                </property>
+                            </item>
+
+                            <item>
+                                <property name="text">
+                                    <string>Yahoo</string>
+                                </property>
+                            </item>
+                        </widget>
                     </item>
 
-                    <item>
-                        <property name="text">
-                            <string>Bing</string>
-                        </property>
+                    <item row="2" column="1">
+                        <widget class="QLabel" name="searchEngineLabel">
+                            <property name="textInteractionFlags">
+                                <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
+                            </property>
+                        </widget>
                     </item>
 
-                    <item>
-                        <property name="text">
-                            <string>Yahoo</string>
-                        </property>
+                    <!-- Zoom factor. -->
+                    <item row="3" column="0">
+                        <widget class="QLabel" name="zoomFactorLabel">
+                            <property name="text">
+                                <string>Zoom factor</string>
+                            </property>
+
+                            <property name="toolTip">
+                                <string>Valid values for the zoom factor are between 0.25 and 5.00.  The default is 1.00.</string>
+                            </property>
+                        </widget>
                     </item>
-                </widget>
-            </item>
 
-            <item row="2" column="1">
-                <widget class="QLabel" name="searchEngineLabel">
-                    <property name="textInteractionFlags">
-                        <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
-                    </property>
-                </widget>
-            </item>
+                    <item row="3" column="1">
+                        <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
+                            <property name="minimum">
+                                <double>0.250000000000000</double>
+                            </property>
 
-            <!-- Zoom factor. -->
-            <item row="3" column="0">
-                <widget class="QLabel" name="zoomFactorLabel">
-                    <property name="text">
-                        <string>Zoom factor</string>
-                    </property>
+                            <property name="maximum">
+                                <double>5.000000000000000</double>
+                            </property>
 
-                    <property name="toolTip">
-                        <string>Valid values for the zoom factor are between 0.25 and 5.00.  The default is 1.00.</string>
-                    </property>
-                </widget>
+                            <property name="singleStep">
+                                <double>0.250000000000000</double>
+                            </property>
+                        </widget>
+                    </item>
+                </layout>
             </item>
 
-            <item row="3" column="1">
-                <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
-
-                    <property name="minimum">
-                        <double>0.250000000000000</double>
+            <!-- Full screen browsing. -->
+            <item>
+                <widget class="QGroupBox">
+                    <property name="title">
+                        <string>Full Screen Browsing</string>
                     </property>
 
-                    <property name="maximum">
-                        <double>5.000000000000000</double>
-                    </property>
+                    <layout class="QVBoxLayout">
+                        <!-- Hide menu bar. -->
+                        <item>
+                            <widget class="QCheckBox" name="kcfg_fullScreenHideMenuBar">
+                                <property name="text">
+                                    <string>Hide menu bar</string>
+                                </property>
+
+                                <property name="toolTip">
+                                    <string>Hide the menu bar when browsing full screen. The default is enabled.</string>
+                                </property>
+                            </widget>
+                        </item>
+
+                        <!-- Hide toolbars. -->
+                        <item>
+                            <widget class="QCheckBox" name="kcfg_fullScreenHideToolBars">
+                                <property name="text">
+                                    <string>Hide toolbars</string>
+                                </property>
+
+                                <property name="toolTip">
+                                    <string>Hide the toolbars when browsing full screen.  The default is enabled.</string>
+                                </property>
+                            </widget>
+                        </item>
+
+                        <!-- Hide status bar. -->
+                        <item>
+                            <widget class="QCheckBox" name="kcfg_fullScreenHideStatusBar">
+                                <property name="text">
+                                    <string>Hide status bar</string>
+                                </property>
+
+                                <property name="toolTip">
+                                    <string>Hide the status bar when browsing full screen.  The default is enabled.</string>
+                                </property>
+                            </widget>
+                        </item>
+                    </layout>
+                </widget>
+            </item>
 
-                    <property name="singleStep">
-                        <double>0.250000000000000</double>
+            <!-- Spacer. -->
+            <item>
+                <spacer>
+                    <property name="orientation">
+                        <enum>Qt::Vertical</enum>
                     </property>
-                </widget>
+                </spacer>
             </item>
         </layout>
     </widget>