demos/browser/settings.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>Settings</class>
       
     3  <widget class="QDialog" name="Settings" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>657</width>
       
     9     <height>322</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Settings</string>
       
    14   </property>
       
    15   <layout class="QGridLayout" name="gridLayout" >
       
    16    <item row="2" column="0" >
       
    17     <widget class="QDialogButtonBox" name="buttonBox" >
       
    18      <property name="orientation" >
       
    19       <enum>Qt::Horizontal</enum>
       
    20      </property>
       
    21      <property name="standardButtons" >
       
    22       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
    23      </property>
       
    24     </widget>
       
    25    </item>
       
    26    <item row="1" column="0" >
       
    27     <widget class="QTabWidget" name="tabWidget" >
       
    28      <property name="currentIndex" >
       
    29       <number>0</number>
       
    30      </property>
       
    31      <widget class="QWidget" name="tab" >
       
    32       <property name="geometry" >
       
    33        <rect>
       
    34         <x>0</x>
       
    35         <y>0</y>
       
    36         <width>627</width>
       
    37         <height>243</height>
       
    38        </rect>
       
    39       </property>
       
    40       <attribute name="title" >
       
    41        <string>General</string>
       
    42       </attribute>
       
    43       <layout class="QGridLayout" name="gridLayout_4" >
       
    44        <item row="0" column="0" >
       
    45         <widget class="QLabel" name="label_3" >
       
    46          <property name="text" >
       
    47           <string>Home:</string>
       
    48          </property>
       
    49          <property name="alignment" >
       
    50           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
    51          </property>
       
    52         </widget>
       
    53        </item>
       
    54        <item row="0" column="1" colspan="2" >
       
    55         <widget class="QLineEdit" name="homeLineEdit" />
       
    56        </item>
       
    57        <item row="1" column="1" >
       
    58         <widget class="QPushButton" name="setHomeToCurrentPageButton" >
       
    59          <property name="text" >
       
    60           <string>Set to current page</string>
       
    61          </property>
       
    62         </widget>
       
    63        </item>
       
    64        <item row="1" column="2" >
       
    65         <spacer name="horizontalSpacer" >
       
    66          <property name="orientation" >
       
    67           <enum>Qt::Horizontal</enum>
       
    68          </property>
       
    69          <property name="sizeHint" stdset="0" >
       
    70           <size>
       
    71            <width>280</width>
       
    72            <height>18</height>
       
    73           </size>
       
    74          </property>
       
    75         </spacer>
       
    76        </item>
       
    77        <item row="2" column="0" >
       
    78         <widget class="QLabel" name="label_4" >
       
    79          <property name="text" >
       
    80           <string>Remove history items:</string>
       
    81          </property>
       
    82          <property name="alignment" >
       
    83           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
    84          </property>
       
    85         </widget>
       
    86        </item>
       
    87        <item row="2" column="1" colspan="2" >
       
    88         <widget class="QComboBox" name="expireHistory" >
       
    89          <item>
       
    90           <property name="text" >
       
    91            <string>After one day</string>
       
    92           </property>
       
    93          </item>
       
    94          <item>
       
    95           <property name="text" >
       
    96            <string>After one week</string>
       
    97           </property>
       
    98          </item>
       
    99          <item>
       
   100           <property name="text" >
       
   101            <string>After two weeks</string>
       
   102           </property>
       
   103          </item>
       
   104          <item>
       
   105           <property name="text" >
       
   106            <string>After one month</string>
       
   107           </property>
       
   108          </item>
       
   109          <item>
       
   110           <property name="text" >
       
   111            <string>After one year</string>
       
   112           </property>
       
   113          </item>
       
   114          <item>
       
   115           <property name="text" >
       
   116            <string>Manually</string>
       
   117           </property>
       
   118          </item>
       
   119         </widget>
       
   120        </item>
       
   121        <item row="3" column="0" >
       
   122         <widget class="QLabel" name="label_7" >
       
   123          <property name="text" >
       
   124           <string>Save downloads to:</string>
       
   125          </property>
       
   126          <property name="alignment" >
       
   127           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   128          </property>
       
   129         </widget>
       
   130        </item>
       
   131        <item row="3" column="1" colspan="2" >
       
   132         <widget class="QLineEdit" name="downloadsLocation" />
       
   133        </item>
       
   134        <item row="4" column="0" >
       
   135         <widget class="QLabel" name="label_8" >
       
   136          <property name="text" >
       
   137           <string>Open links from applications:</string>
       
   138          </property>
       
   139          <property name="alignment" >
       
   140           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   141          </property>
       
   142         </widget>
       
   143        </item>
       
   144        <item row="4" column="1" colspan="2" >
       
   145         <widget class="QComboBox" name="openLinksIn" >
       
   146          <item>
       
   147           <property name="text" >
       
   148            <string>In a tab in the current window</string>
       
   149           </property>
       
   150          </item>
       
   151          <item>
       
   152           <property name="text" >
       
   153            <string>In a new window</string>
       
   154           </property>
       
   155          </item>
       
   156         </widget>
       
   157        </item>
       
   158        <item row="5" column="1" colspan="2" >
       
   159         <spacer>
       
   160          <property name="orientation" >
       
   161           <enum>Qt::Vertical</enum>
       
   162          </property>
       
   163          <property name="sizeHint" stdset="0" >
       
   164           <size>
       
   165            <width>391</width>
       
   166            <height>262</height>
       
   167           </size>
       
   168          </property>
       
   169         </spacer>
       
   170        </item>
       
   171       </layout>
       
   172      </widget>
       
   173      <widget class="QWidget" name="tab_3" >
       
   174       <property name="geometry" >
       
   175        <rect>
       
   176         <x>0</x>
       
   177         <y>0</y>
       
   178         <width>627</width>
       
   179         <height>243</height>
       
   180        </rect>
       
   181       </property>
       
   182       <attribute name="title" >
       
   183        <string>Appearance</string>
       
   184       </attribute>
       
   185       <layout class="QGridLayout" name="gridLayout_3" >
       
   186        <item row="0" column="0" >
       
   187         <widget class="QLabel" name="label_5" >
       
   188          <property name="text" >
       
   189           <string>Standard font:</string>
       
   190          </property>
       
   191          <property name="alignment" >
       
   192           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   193          </property>
       
   194         </widget>
       
   195        </item>
       
   196        <item row="0" column="1" >
       
   197         <widget class="QLabel" name="standardLabel" >
       
   198          <property name="sizePolicy" >
       
   199           <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
       
   200            <horstretch>0</horstretch>
       
   201            <verstretch>0</verstretch>
       
   202           </sizepolicy>
       
   203          </property>
       
   204          <property name="frameShape" >
       
   205           <enum>QFrame::StyledPanel</enum>
       
   206          </property>
       
   207          <property name="text" >
       
   208           <string>Times 16</string>
       
   209          </property>
       
   210          <property name="alignment" >
       
   211           <set>Qt::AlignCenter</set>
       
   212          </property>
       
   213         </widget>
       
   214        </item>
       
   215        <item row="0" column="2" >
       
   216         <widget class="QPushButton" name="standardFontButton" >
       
   217          <property name="text" >
       
   218           <string>Select...</string>
       
   219          </property>
       
   220         </widget>
       
   221        </item>
       
   222        <item row="1" column="0" >
       
   223         <widget class="QLabel" name="label_6" >
       
   224          <property name="text" >
       
   225           <string>Fixed-width font:</string>
       
   226          </property>
       
   227          <property name="alignment" >
       
   228           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   229          </property>
       
   230         </widget>
       
   231        </item>
       
   232        <item row="1" column="1" >
       
   233         <widget class="QLabel" name="fixedLabel" >
       
   234          <property name="frameShape" >
       
   235           <enum>QFrame::StyledPanel</enum>
       
   236          </property>
       
   237          <property name="text" >
       
   238           <string>Courier 13</string>
       
   239          </property>
       
   240          <property name="alignment" >
       
   241           <set>Qt::AlignCenter</set>
       
   242          </property>
       
   243         </widget>
       
   244        </item>
       
   245        <item row="1" column="2" >
       
   246         <widget class="QPushButton" name="fixedFontButton" >
       
   247          <property name="text" >
       
   248           <string>Select...</string>
       
   249          </property>
       
   250         </widget>
       
   251        </item>
       
   252        <item row="2" column="1" >
       
   253         <spacer name="verticalSpacer" >
       
   254          <property name="orientation" >
       
   255           <enum>Qt::Vertical</enum>
       
   256          </property>
       
   257          <property name="sizeHint" stdset="0" >
       
   258           <size>
       
   259            <width>20</width>
       
   260            <height>93</height>
       
   261           </size>
       
   262          </property>
       
   263         </spacer>
       
   264        </item>
       
   265       </layout>
       
   266      </widget>
       
   267      <widget class="QWidget" name="tab_2" >
       
   268       <property name="geometry" >
       
   269        <rect>
       
   270         <x>0</x>
       
   271         <y>0</y>
       
   272         <width>627</width>
       
   273         <height>243</height>
       
   274        </rect>
       
   275       </property>
       
   276       <attribute name="title" >
       
   277        <string>Privacy</string>
       
   278       </attribute>
       
   279       <layout class="QVBoxLayout" name="verticalLayout_3" >
       
   280        <item>
       
   281         <widget class="QGroupBox" name="groupBox" >
       
   282          <property name="title" >
       
   283           <string>Web Content</string>
       
   284          </property>
       
   285          <layout class="QVBoxLayout" name="verticalLayout_2" >
       
   286           <item>
       
   287            <widget class="QCheckBox" name="enablePlugins" >
       
   288             <property name="text" >
       
   289              <string>Enable Plugins</string>
       
   290             </property>
       
   291             <property name="checked" >
       
   292              <bool>true</bool>
       
   293             </property>
       
   294            </widget>
       
   295           </item>
       
   296           <item>
       
   297            <widget class="QCheckBox" name="enableJavascript" >
       
   298             <property name="text" >
       
   299              <string>Enable Javascript</string>
       
   300             </property>
       
   301             <property name="checked" >
       
   302              <bool>true</bool>
       
   303             </property>
       
   304            </widget>
       
   305           </item>
       
   306          </layout>
       
   307         </widget>
       
   308        </item>
       
   309        <item>
       
   310         <widget class="QGroupBox" name="cookiesGroupBox" >
       
   311          <property name="title" >
       
   312           <string>Cookies</string>
       
   313          </property>
       
   314          <layout class="QGridLayout" >
       
   315           <item row="0" column="0" >
       
   316            <widget class="QLabel" name="label_2" >
       
   317             <property name="text" >
       
   318              <string>Accept Cookies:</string>
       
   319             </property>
       
   320             <property name="alignment" >
       
   321              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   322             </property>
       
   323            </widget>
       
   324           </item>
       
   325           <item row="0" column="1" >
       
   326            <widget class="QComboBox" name="acceptCombo" >
       
   327             <item>
       
   328              <property name="text" >
       
   329               <string>Always</string>
       
   330              </property>
       
   331             </item>
       
   332             <item>
       
   333              <property name="text" >
       
   334               <string>Never</string>
       
   335              </property>
       
   336             </item>
       
   337             <item>
       
   338              <property name="text" >
       
   339               <string>Only from sites you navigate to</string>
       
   340              </property>
       
   341             </item>
       
   342            </widget>
       
   343           </item>
       
   344           <item row="0" column="2" >
       
   345            <widget class="QPushButton" name="exceptionsButton" >
       
   346             <property name="text" >
       
   347              <string>Exceptions...</string>
       
   348             </property>
       
   349            </widget>
       
   350           </item>
       
   351           <item row="1" column="0" >
       
   352            <widget class="QLabel" name="label" >
       
   353             <property name="text" >
       
   354              <string>Keep until:</string>
       
   355             </property>
       
   356             <property name="alignment" >
       
   357              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   358             </property>
       
   359            </widget>
       
   360           </item>
       
   361           <item row="1" column="1" >
       
   362            <widget class="QComboBox" name="keepUntilCombo" >
       
   363             <item>
       
   364              <property name="text" >
       
   365               <string>They expire</string>
       
   366              </property>
       
   367             </item>
       
   368             <item>
       
   369              <property name="text" >
       
   370               <string>I exit the application</string>
       
   371              </property>
       
   372             </item>
       
   373             <item>
       
   374              <property name="text" >
       
   375               <string>At most 90 days</string>
       
   376              </property>
       
   377             </item>
       
   378            </widget>
       
   379           </item>
       
   380           <item row="1" column="2" >
       
   381            <widget class="QPushButton" name="cookiesButton" >
       
   382             <property name="text" >
       
   383              <string>Cookies...</string>
       
   384             </property>
       
   385            </widget>
       
   386           </item>
       
   387          </layout>
       
   388         </widget>
       
   389        </item>
       
   390        <item>
       
   391         <spacer>
       
   392          <property name="orientation" >
       
   393           <enum>Qt::Vertical</enum>
       
   394          </property>
       
   395          <property name="sizeHint" stdset="0" >
       
   396           <size>
       
   397            <width>371</width>
       
   398            <height>177</height>
       
   399           </size>
       
   400          </property>
       
   401         </spacer>
       
   402        </item>
       
   403       </layout>
       
   404      </widget>
       
   405      <widget class="QWidget" name="tab_4" >
       
   406       <property name="geometry" >
       
   407        <rect>
       
   408         <x>0</x>
       
   409         <y>0</y>
       
   410         <width>627</width>
       
   411         <height>243</height>
       
   412        </rect>
       
   413       </property>
       
   414       <attribute name="title" >
       
   415        <string>Proxy</string>
       
   416       </attribute>
       
   417       <layout class="QVBoxLayout" name="verticalLayout" >
       
   418        <item>
       
   419         <widget class="QGroupBox" name="proxySupport" >
       
   420          <property name="title" >
       
   421           <string>Enable proxy</string>
       
   422          </property>
       
   423          <property name="checkable" >
       
   424           <bool>true</bool>
       
   425          </property>
       
   426          <layout class="QGridLayout" name="gridLayout_6" >
       
   427           <item row="0" column="0" >
       
   428            <widget class="QLabel" name="label_9" >
       
   429             <property name="text" >
       
   430              <string>Type:</string>
       
   431             </property>
       
   432             <property name="alignment" >
       
   433              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   434             </property>
       
   435            </widget>
       
   436           </item>
       
   437           <item row="0" column="1" colspan="2" >
       
   438            <widget class="QComboBox" name="proxyType" >
       
   439             <item>
       
   440              <property name="text" >
       
   441               <string>Socks5</string>
       
   442              </property>
       
   443             </item>
       
   444             <item>
       
   445              <property name="text" >
       
   446               <string>Http</string>
       
   447              </property>
       
   448             </item>
       
   449            </widget>
       
   450           </item>
       
   451           <item row="1" column="0" >
       
   452            <widget class="QLabel" name="label_10" >
       
   453             <property name="text" >
       
   454              <string>Host:</string>
       
   455             </property>
       
   456             <property name="alignment" >
       
   457              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   458             </property>
       
   459            </widget>
       
   460           </item>
       
   461           <item row="1" column="1" colspan="2" >
       
   462            <widget class="QLineEdit" name="proxyHostName" />
       
   463           </item>
       
   464           <item row="2" column="0" >
       
   465            <widget class="QLabel" name="label_11" >
       
   466             <property name="text" >
       
   467              <string>Port:</string>
       
   468             </property>
       
   469             <property name="alignment" >
       
   470              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   471             </property>
       
   472            </widget>
       
   473           </item>
       
   474           <item row="2" column="1" >
       
   475            <widget class="QSpinBox" name="proxyPort" >
       
   476             <property name="maximum" >
       
   477              <number>10000</number>
       
   478             </property>
       
   479             <property name="value" >
       
   480              <number>1080</number>
       
   481             </property>
       
   482            </widget>
       
   483           </item>
       
   484           <item row="2" column="2" >
       
   485            <spacer name="horizontalSpacer_2" >
       
   486             <property name="orientation" >
       
   487              <enum>Qt::Horizontal</enum>
       
   488             </property>
       
   489             <property name="sizeHint" stdset="0" >
       
   490              <size>
       
   491               <width>293</width>
       
   492               <height>20</height>
       
   493              </size>
       
   494             </property>
       
   495            </spacer>
       
   496           </item>
       
   497           <item row="3" column="0" >
       
   498            <widget class="QLabel" name="label_12" >
       
   499             <property name="text" >
       
   500              <string>User Name:</string>
       
   501             </property>
       
   502             <property name="alignment" >
       
   503              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   504             </property>
       
   505            </widget>
       
   506           </item>
       
   507           <item row="3" column="1" colspan="2" >
       
   508            <widget class="QLineEdit" name="proxyUserName" />
       
   509           </item>
       
   510           <item row="4" column="0" >
       
   511            <widget class="QLabel" name="label_13" >
       
   512             <property name="text" >
       
   513              <string>Password:</string>
       
   514             </property>
       
   515             <property name="alignment" >
       
   516              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       
   517             </property>
       
   518            </widget>
       
   519           </item>
       
   520           <item row="4" column="1" colspan="2" >
       
   521            <widget class="QLineEdit" name="proxyPassword" >
       
   522             <property name="echoMode" >
       
   523              <enum>QLineEdit::Password</enum>
       
   524             </property>
       
   525            </widget>
       
   526           </item>
       
   527           <item row="5" column="0" >
       
   528            <spacer name="verticalSpacer_2" >
       
   529             <property name="orientation" >
       
   530              <enum>Qt::Vertical</enum>
       
   531             </property>
       
   532             <property name="sizeHint" stdset="0" >
       
   533              <size>
       
   534               <width>20</width>
       
   535               <height>8</height>
       
   536              </size>
       
   537             </property>
       
   538            </spacer>
       
   539           </item>
       
   540          </layout>
       
   541         </widget>
       
   542        </item>
       
   543       </layout>
       
   544      </widget>
       
   545      <widget class="QWidget" name="tab_5" >
       
   546       <attribute name="title" >
       
   547        <string>Advanced</string>
       
   548       </attribute>
       
   549       <layout class="QGridLayout" name="gridLayout_2" >
       
   550        <item row="0" column="0" >
       
   551         <widget class="QLabel" name="label_14" >
       
   552          <property name="text" >
       
   553           <string>Style Sheet:</string>
       
   554          </property>
       
   555         </widget>
       
   556        </item>
       
   557        <item row="0" column="1" >
       
   558         <widget class="QLineEdit" name="userStyleSheet" />
       
   559        </item>
       
   560        <item row="1" column="1" >
       
   561         <spacer name="verticalSpacer_3" >
       
   562          <property name="orientation" >
       
   563           <enum>Qt::Vertical</enum>
       
   564          </property>
       
   565          <property name="sizeHint" stdset="0" >
       
   566           <size>
       
   567            <width>20</width>
       
   568            <height>176</height>
       
   569           </size>
       
   570          </property>
       
   571         </spacer>
       
   572        </item>
       
   573       </layout>
       
   574      </widget>
       
   575     </widget>
       
   576    </item>
       
   577   </layout>
       
   578  </widget>
       
   579  <resources/>
       
   580  <connections>
       
   581   <connection>
       
   582    <sender>buttonBox</sender>
       
   583    <signal>accepted()</signal>
       
   584    <receiver>Settings</receiver>
       
   585    <slot>accept()</slot>
       
   586    <hints>
       
   587     <hint type="sourcelabel" >
       
   588      <x>248</x>
       
   589      <y>254</y>
       
   590     </hint>
       
   591     <hint type="destinationlabel" >
       
   592      <x>157</x>
       
   593      <y>274</y>
       
   594     </hint>
       
   595    </hints>
       
   596   </connection>
       
   597   <connection>
       
   598    <sender>buttonBox</sender>
       
   599    <signal>rejected()</signal>
       
   600    <receiver>Settings</receiver>
       
   601    <slot>reject()</slot>
       
   602    <hints>
       
   603     <hint type="sourcelabel" >
       
   604      <x>316</x>
       
   605      <y>260</y>
       
   606     </hint>
       
   607     <hint type="destinationlabel" >
       
   608      <x>286</x>
       
   609      <y>274</y>
       
   610     </hint>
       
   611    </hints>
       
   612   </connection>
       
   613  </connections>
       
   614 </ui>