diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-22 16:43:56 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-22 16:43:56 +0200 | 
| commit | f02f8f72b459a30169d3016463147f662dca7491 (patch) | |
| tree | 36adcfc14fdf2e69bd72be9440bd91f666182ebd /src/settings_general.ui | |
| parent | changed title. (diff) | |
| download | rekonq-f02f8f72b459a30169d3016463147f662dca7491.tar.xz | |
(LAST hopefully) BIG change (before 0.3)
A strange bug on new window loading, calling from .desktop file
(krunner & friends). So I had to change the homePage launch mechanism.
Working on that I started playing with startup settings and implemented this.
I hope Pano like this very much: 0.3 gift :D
Waiting for someone comments and reviews to merge..
Diffstat (limited to 'src/settings_general.ui')
| -rw-r--r-- | src/settings_general.ui | 222 | 
1 files changed, 141 insertions, 81 deletions
| diff --git a/src/settings_general.ui b/src/settings_general.ui index 5ea19b09..d0d98b7b 100644 --- a/src/settings_general.ui +++ b/src/settings_general.ui @@ -6,8 +6,8 @@     <rect>      <x>0</x>      <y>0</y> -    <width>438</width> -    <height>371</height> +    <width>751</width> +    <height>523</height>     </rect>    </property>    <property name="windowTitle"> @@ -15,46 +15,113 @@    </property>    <layout class="QVBoxLayout" name="verticalLayout">     <item> -    <widget class="QGroupBox" name="groupBox"> +    <widget class="QGroupBox" name="groupBox_2">       <property name="title"> -      <string>Home Page</string> +      <string>On startup</string>       </property> -     <layout class="QVBoxLayout" name="verticalLayout_2"> +     <layout class="QHBoxLayout" name="horizontalLayout_2">        <item> -       <widget class="QRadioButton" name="rbUseNewTabPage"> -        <property name="text"> -         <string>Use new tab page</string> +       <widget class="QLabel" name="label"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy>          </property> -        <property name="checked"> -         <bool>true</bool> +        <property name="minimumSize"> +         <size> +          <width>120</width> +          <height>0</height> +         </size> +        </property> +        <property name="baseSize"> +         <size> +          <width>0</width> +          <height>0</height> +         </size> +        </property> +        <property name="layoutDirection"> +         <enum>Qt::LeftToRight</enum> +        </property> +        <property name="text"> +         <string>rekonq        </string>          </property>         </widget>        </item>        <item> -       <layout class="QHBoxLayout" name="horizontalLayout"> +       <widget class="KComboBox" name="kcfg_startupBehaviour"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property>          <item> -         <widget class="QRadioButton" name="rbUseHomePage"> -          <property name="text"> -           <string>Use this page:</string> -          </property> -          <property name="checked"> -           <bool>false</bool> -          </property> -         </widget> +         <property name="text"> +          <string>opens home page</string> +         </property>          </item>          <item> -         <widget class="KLineEdit" name="kcfg_homePage"> -          <property name="enabled"> -           <bool>true</bool> -          </property> -          <property name="sizePolicy"> -           <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> -            <horstretch>0</horstretch> -            <verstretch>0</verstretch> -           </sizepolicy> -          </property> -         </widget> +         <property name="text"> +          <string>opens new tab page</string> +         </property> +        </item> +        <item> +         <property name="text"> +          <string>restores the last open pages</string> +         </property>          </item> +       </widget> +      </item> +     </layout> +    </widget> +   </item> +   <item> +    <widget class="QGroupBox" name="groupBox"> +     <property name="title"> +      <string>Home Page</string> +     </property> +     <layout class="QGridLayout" name="gridLayout"> +      <item row="0" column="0"> +       <widget class="QLabel" name="label_2"> +        <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>Home Page Url:</string> +        </property> +       </widget> +      </item> +      <item row="0" column="1"> +       <widget class="KLineEdit" name="kcfg_homePage"> +        <property name="enabled"> +         <bool>true</bool> +        </property> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +       </widget> +      </item> +      <item row="1" column="1"> +       <layout class="QHBoxLayout" name="horizontalLayout_3">          <item>           <widget class="QPushButton" name="setHomeToCurrentPageButton">            <property name="text"> @@ -62,6 +129,19 @@            </property>           </widget>          </item> +        <item> +         <spacer name="horizontalSpacer"> +          <property name="orientation"> +           <enum>Qt::Horizontal</enum> +          </property> +          <property name="sizeHint" stdset="0"> +           <size> +            <width>40</width> +            <height>20</height> +           </size> +          </property> +         </spacer> +        </item>         </layout>        </item>       </layout> @@ -72,19 +152,43 @@       <property name="title">        <string>New Tabs Behaviour</string>       </property> -     <layout class="QGridLayout" name="gridLayout_2"> -      <item row="0" column="0"> +     <layout class="QHBoxLayout" name="horizontalLayout"> +      <item>         <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"> +      <item>         <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> @@ -106,61 +210,17 @@      </widget>     </item>     <item> -    <widget class="QGroupBox" name="groupBox_4"> -     <property name="title"> -      <string>Tabbed Browsing</string> -     </property> -     <layout class="QVBoxLayout" name="verticalLayout_4"> -      <item> -       <widget class="QCheckBox" name="kcfg_openTabNoWindow"> -        <property name="text"> -         <string>Open links in new tab instead of in new window</string> -        </property> -       </widget> -      </item> -      <item> -       <widget class="QCheckBox" name="kcfg_alwaysShowTabBar"> -        <property name="text"> -         <string>Always show tab bar</string> -        </property> -       </widget> -      </item> -      <item> -       <widget class="QCheckBox" name="kcfg_openTabsBack"> -        <property name="text"> -         <string>Open new tabs in the background</string> -        </property> -       </widget> -      </item> -      <item> -       <widget class="QCheckBox" name="kcfg_openTabsNearCurrent"> -        <property name="text"> -         <string>Open new tabs after currently active one</string> -        </property> -       </widget> -      </item> -      <item> -       <widget class="QCheckBox" name="kcfg_alwaysShowTabPreviews"> -        <property name="text"> -         <string>Show preview when hovering tab</string> -        </property> -        <property name="checked"> -         <bool>false</bool> -        </property> -       </widget> -      </item> -     </layout> -    </widget> -   </item> -   <item>      <spacer name="verticalSpacer">       <property name="orientation">        <enum>Qt::Vertical</enum>       </property> +     <property name="sizeType"> +      <enum>QSizePolicy::Expanding</enum> +     </property>       <property name="sizeHint" stdset="0">        <size>         <width>20</width> -       <height>43</height> +       <height>40</height>        </size>       </property>      </spacer> | 
