]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/settings.ui
Add a web engine view.
[PrivacyBrowserPC.git] / src / settings.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
7
8   Privacy Browser PC is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser PC is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ui version="4.0">
22     <class>Settings</class>
23
24     <widget class="QWidget" name="Settings">
25         <property name="geometry">
26             <rect>
27                 <x>0</x>
28                 <y>0</y>
29                 <width>374</width>
30                 <height>200</height>
31             </rect>
32         </property>
33
34         <layout class="QFormLayout">
35             <item row="0" column="0">
36                 <widget class="QLabel" name="backgroundLabel">
37                     <property name="text">
38                         <string>Background color:</string>
39                     </property>
40                 </widget>
41             </item>
42
43             <item row="0" column="1">
44                 <widget class="KColorButton" name="kcfg_colorBackground">
45                     <property name="toolTip">
46                         <string>Choose a new background color</string>
47                     </property>
48
49                     <property name="whatsThis">
50                         <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;
51                             p, li { white-space: pre-wrap; }
52                             &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;
53                             &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>
54                     </property>
55
56                     <property name="text">
57                         <string/>
58                     </property>
59                 </widget>
60             </item>
61
62             <item row="1" column="0">
63                 <widget class="QLabel" name="foregroundLabel">
64                     <property name="text">
65                         <string>Foreground color:</string>
66                     </property>
67                 </widget>
68             </item>
69
70             <item row="1" column="1">
71                 <widget class="KColorButton" name="kcfg_colorForeground">
72                     <property name="toolTip">
73                         <string>Choose a new foreground color</string>
74                     </property>
75
76                     <property name="whatsThis">
77                         <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;
78                             p, li { white-space: pre-wrap; }
79                             &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;
80                             &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>
81                     </property>
82
83                     <property name="text">
84                         <string/>
85                     </property>
86                 </widget>
87             </item>
88
89             <item row="2" column="0">
90                 <widget class="QLabel" name="projectLabel">
91                     <property name="text">
92                         <string>Project age:</string>
93                     </property>
94                 </widget>
95             </item>
96
97             <item row="2" column="1">
98                 <widget class="QSpinBox" name="kcfg_ageInDays">
99                     <property name="toolTip">
100                         <string>Set the project age (in days)</string>
101                     </property>
102
103                     <property name="whatsThis">
104                         <string>Change the project age (in days) by choosing a new number of days.</string>
105                     </property>
106
107                     <property name="minimum">
108                         <number>1</number>
109                     </property>
110
111                     <property name="value">
112                         <number>2</number>
113                     </property>
114                 </widget>
115             </item>
116         </layout>
117     </widget>
118
119     <customwidgets>
120         <customwidget>
121             <class>KColorButton</class>
122
123             <extends>QPushButton</extends>
124
125             <header>kcolorbutton.h</header>
126         </customwidget>
127     </customwidgets>
128
129     <resources/>
130
131     <connections/>
132 </ui>