diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 11:17:57 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-19 11:17:57 +0200 | 
| commit | 93ad10ce9a9e1f02f43837edafb83b08cc90f1d4 (patch) | |
| tree | 5271144a902ca376111cd1afa5470d7a01342470 /src/settings | |
| parent | Merge commit 'refs/merge-requests/2244' of git://gitorious.org/rekonq/mainline (diff) | |
| download | rekonq-93ad10ce9a9e1f02f43837edafb83b08cc90f1d4.tar.xz | |
Implementing a new default engine choice for rekonq
Diffstat (limited to 'src/settings')
| -rw-r--r-- | src/settings/settings_general.ui | 105 | ||||
| -rw-r--r-- | src/settings/settings_tabs.ui | 138 | 
2 files changed, 161 insertions, 82 deletions
| diff --git a/src/settings/settings_general.ui b/src/settings/settings_general.ui index 98a56591..00277133 100644 --- a/src/settings/settings_general.ui +++ b/src/settings/settings_general.ui @@ -6,8 +6,8 @@     <rect>      <x>0</x>      <y>0</y> -    <width>751</width> -    <height>523</height> +    <width>552</width> +    <height>512</height>     </rect>    </property>    <property name="windowTitle"> @@ -150,11 +150,11 @@     <item>      <widget class="QGroupBox" name="groupBox_3">       <property name="title"> -      <string>New Tabs Behaviour</string> +      <string>Search Engine</string>       </property> -     <layout class="QGridLayout" name="gridLayout_2"> -      <item row="0" column="0"> -       <widget class="QLabel" name="label_4"> +     <layout class="QHBoxLayout" name="horizontalLayout_4"> +      <item> +       <widget class="QLabel" name="label_3">          <property name="sizePolicy">           <sizepolicy hsizetype="Fixed" vsizetype="Preferred">            <horstretch>0</horstretch> @@ -169,73 +169,20 @@          </property>          <property name="baseSize">           <size> -          <width>120</width> -          <height>0</height> -         </size> -        </property> -        <property name="text"> -         <string>New tab opens:</string> -        </property> -       </widget> -      </item> -      <item row="0" column="1"> -       <widget class="KComboBox" name="kcfg_newTabsBehaviour"> -        <property name="enabled"> -         <bool>true</bool> -        </property> -        <property name="sizePolicy"> -         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> -          <horstretch>0</horstretch> -          <verstretch>0</verstretch> -         </sizepolicy> -        </property> -        <item> -         <property name="text"> -          <string>New Tab Page</string> -         </property> -        </item> -        <item> -         <property name="text"> -          <string>Blank Page</string> -         </property> -        </item> -        <item> -         <property name="text"> -          <string comment="@item:inlistbox">Home Page</string> -         </property> -        </item> -       </widget> -      </item> -      <item row="1" column="0"> -       <widget class="QLabel" name="label_5"> -        <property name="sizePolicy"> -         <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> -          <horstretch>0</horstretch> -          <verstretch>0</verstretch> -         </sizepolicy> -        </property> -        <property name="minimumSize"> -         <size> -          <width>120</width> +          <width>0</width>            <height>0</height>           </size>          </property> -        <property name="baseSize"> -         <size> -          <width>120</width> -          <height>0</height> -         </size> +        <property name="layoutDirection"> +         <enum>Qt::LeftToRight</enum>          </property>          <property name="text"> -         <string>New tab page starts with:</string> +         <string>Default search engine:</string>          </property>         </widget>        </item> -      <item row="1" column="1"> -       <widget class="KComboBox" name="kcfg_newTabStartPage"> -        <property name="enabled"> -         <bool>true</bool> -        </property> +      <item> +       <widget class="KComboBox" name="kcfg_searchEngine">          <property name="sizePolicy">           <sizepolicy hsizetype="Expanding" vsizetype="Fixed">            <horstretch>0</horstretch> @@ -244,27 +191,27 @@          </property>          <item>           <property name="text"> -          <string>Favorites</string> +          <string>google</string>           </property>          </item>          <item>           <property name="text"> -          <string>Closed Tabs</string> +          <string>altavista</string>           </property>          </item>          <item>           <property name="text"> -          <string>Bookmarks</string> +          <string>lycos</string>           </property>          </item>          <item>           <property name="text"> -          <string>History</string> +          <string>wikipedia</string>           </property>          </item>          <item>           <property name="text"> -          <string>Downloads</string> +          <string>wolfram</string>           </property>          </item>         </widget> @@ -277,14 +224,7 @@       <property name="title">        <string>Download Manager</string>       </property> -     <layout class="QHBoxLayout" name="horizontalLayout_5"> -      <item> -       <widget class="QCheckBox" name="kcfg_kgetDownload"> -        <property name="text"> -         <string>Use KGet for downloading files</string> -        </property> -       </widget> -      </item> +     <layout class="QVBoxLayout" name="verticalLayout_2">        <item>         <widget class="QCheckBox" name="kcfg_kgetList">          <property name="whatsThis"> @@ -295,6 +235,13 @@          </property>         </widget>        </item> +      <item> +       <widget class="QCheckBox" name="kcfg_kgetDownload"> +        <property name="text"> +         <string>Use KGet for downloading files</string> +        </property> +       </widget> +      </item>       </layout>      </widget>     </item> @@ -306,7 +253,7 @@       <property name="sizeHint" stdset="0">        <size>         <width>20</width> -       <height>40</height> +       <height>179</height>        </size>       </property>      </spacer> diff --git a/src/settings/settings_tabs.ui b/src/settings/settings_tabs.ui index 9104843a..45579e90 100644 --- a/src/settings/settings_tabs.ui +++ b/src/settings/settings_tabs.ui @@ -6,8 +6,8 @@     <rect>      <x>0</x>      <y>0</y> -    <width>456</width> -    <height>329</height> +    <width>483</width> +    <height>427</height>     </rect>    </property>    <property name="windowTitle"> @@ -15,6 +15,131 @@    </property>    <layout class="QVBoxLayout" name="verticalLayout">     <item> +    <widget class="QGroupBox" name="groupBox_3"> +     <property name="title"> +      <string>New Tabs Behaviour</string> +     </property> +     <layout class="QGridLayout" name="gridLayout_2"> +      <item row="0" column="0"> +       <widget class="QLabel" name="label_4"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>120</width> +          <height>0</height> +         </size> +        </property> +        <property name="baseSize"> +         <size> +          <width>120</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>New tab opens:</string> +        </property> +       </widget> +      </item> +      <item row="0" column="1"> +       <widget class="KComboBox" name="kcfg_newTabsBehaviour"> +        <property name="enabled"> +         <bool>true</bool> +        </property> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <item> +         <property name="text"> +          <string>New Tab Page</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>Blank Page</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string comment="@item:inlistbox">Home Page</string> +         </property> +        </item> +       </widget> +      </item> +      <item row="1" column="0"> +       <widget class="QLabel" name="label_5"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="minimumSize"> +         <size> +          <width>120</width> +          <height>0</height> +         </size> +        </property> +        <property name="baseSize"> +         <size> +          <width>120</width> +          <height>0</height> +         </size> +        </property> +        <property name="text"> +         <string>New tab page starts with:</string> +        </property> +       </widget> +      </item> +      <item row="1" column="1"> +       <widget class="KComboBox" name="kcfg_newTabStartPage"> +        <property name="enabled"> +         <bool>true</bool> +        </property> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <item> +         <property name="text"> +          <string>Favorites</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>Closed Tabs</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>Bookmarks</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>History</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>Downloads</string> +         </property> +        </item> +       </widget> +      </item> +     </layout> +    </widget> +   </item> +   <item>      <widget class="QGroupBox" name="groupBox_4">       <property name="title">        <string>Tabbed Browsing</string> @@ -79,13 +204,20 @@       <property name="sizeHint" stdset="0">        <size>         <width>20</width> -       <height>142</height> +       <height>120</height>        </size>       </property>      </spacer>     </item>    </layout>   </widget> + <customwidgets> +  <customwidget> +   <class>KComboBox</class> +   <extends>QComboBox</extends> +   <header>kcombobox.h</header> +  </customwidget> + </customwidgets>   <resources/>   <connections/>  </ui> | 
