]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/settings.ui
Add a zoom factor setting.
[PrivacyBrowserPC.git] / src / settings.ui
index fdfe8f22c520bf655d6a4db53e6eb0be7007ac10..35d51b893156082bc4ab133f64cc7feb23c079cd 100644 (file)
 
         <layout class="QFormLayout">
             <item row="0" column="0">
-                <widget class="QLabel" name="backgroundLabel">
+                <widget class="QLabel" name="zoomFactorLabel">
                     <property name="text">
-                        <string>Background color:</string>
+                        <string>Zoom factor</string>
                     </property>
                 </widget>
             </item>
 
             <item row="0" column="1">
-                <widget class="KColorButton" name="kcfg_colorBackground">
+                <widget class="QDoubleSpinBox" name="kcfg_zoomFactor">
                     <property name="toolTip">
-                        <string>Choose a new background color</string>
+                        <string>Set the zoom factor between 0.25 and 5.00.</string>
                     </property>
 
                     <property name="whatsThis">
-                        <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-                            p, li { white-space: pre-wrap; }
-                            &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
-                            &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Change the &lt;span style=&quot; font-weight:600;&quot;&gt;background&lt;/span&gt; color by clicking here and choose the new &lt;span style=&quot; color:#ff0000;&quot;&gt;color&lt;/span&gt; in the &lt;span style=&quot; font-style:italic;&quot;&gt;color dialog&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
-                    </property>
-
-                    <property name="text">
-                        <string/>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="1" column="0">
-                <widget class="QLabel" name="foregroundLabel">
-                    <property name="text">
-                        <string>Foreground color:</string>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="1" column="1">
-                <widget class="KColorButton" name="kcfg_colorForeground">
-                    <property name="toolTip">
-                        <string>Choose a new foreground color</string>
-                    </property>
-
-                    <property name="whatsThis">
-                        <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-                            p, li { white-space: pre-wrap; }
-                            &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
-                            &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Change the &lt;span style=&quot; font-weight:600;&quot;&gt;foreground&lt;/span&gt; color by clicking here and choose the new &lt;span style=&quot; color:#ff0000;&quot;&gt;color&lt;/span&gt; in the &lt;span style=&quot; font-style:italic;&quot;&gt;color dialog&lt;/span&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
-                    </property>
-
-                    <property name="text">
-                        <string/>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="2" column="0">
-                <widget class="QLabel" name="projectLabel">
-                    <property name="text">
-                        <string>Project age:</string>
-                    </property>
-                </widget>
-            </item>
-
-            <item row="2" column="1">
-                <widget class="QSpinBox" name="kcfg_ageInDays">
-                    <property name="toolTip">
-                        <string>Set the project age (in days)</string>
-                    </property>
-
-                    <property name="whatsThis">
-                        <string>Change the project age (in days) by choosing a new number of days.</string>
+                        <string>Set the zoom factor between 0.25 and 5.00.  The default is 1.00.</string>
                     </property>
 
                     <property name="minimum">
-                        <number>1</number>
+                        <double>0.250000000000000</double>
                     </property>
 
-                    <property name="value">
-                        <number>2</number>
+                    <property name="maximum">
+                        <double>5.000000000000000</double>
                     </property>
                 </widget>
             </item>
         </layout>
     </widget>
 
-    <customwidgets>
-        <customwidget>
-            <class>KColorButton</class>
-
-            <extends>QPushButton</extends>
-
-            <header>kcolorbutton.h</header>
-        </customwidget>
-    </customwidgets>
-
     <resources/>
 
     <connections/>