All in one tyb now, not yet really tabbed; closes #14; refs #13

This commit is contained in:
Marc Wäckerlin
2011-01-14 10:11:03 +00:00
parent 3c6c54ede1
commit cada2da8b6
6 changed files with 542 additions and 386 deletions

View File

@@ -14,20 +14,34 @@
<string>SwissSurfer</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QWebView" name="_browser">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<widget class="QTabWidget" name="_tabs">
<property name="currentIndex">
<number>0</number>
</property>
<property name="url">
<url>
<string>about:blank</string>
</url>
<property name="elideMode">
<enum>Qt::ElideMiddle</enum>
</property>
<property name="documentMode">
<bool>true</bool>
</property>
<property name="tabsClosable">
<bool>true</bool>
</property>
<property name="movable">
<bool>true</bool>
</property>
<widget class="QWidget" name="tab1">
<attribute name="title">
<string>Tab 1</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QWebView" name="_browser" native="true"/>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
@@ -61,7 +75,7 @@
<x>0</x>
<y>0</y>
<width>1052</width>
<height>31</height>
<height>29</height>
</rect>
</property>
<widget class="QMenu" name="menuDatei">
@@ -70,6 +84,10 @@
</property>
<addaction name="actionNew"/>
<addaction name="separator"/>
<addaction name="actionPrintPreview"/>
<addaction name="actionPrint"/>
<addaction name="actionInstantPrint"/>
<addaction name="separator"/>
<addaction name="actionClose"/>
</widget>
<widget class="QMenu" name="menuEinstellungen">
@@ -78,8 +96,15 @@
</property>
<addaction name="actionProxySettings"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="actionActivateNextSubwindow"/>
</widget>
<addaction name="menuDatei"/>
<addaction name="menuEinstellungen"/>
<addaction name="menuView"/>
</widget>
<action name="actionProxyConfig">
<property name="text">
@@ -196,6 +221,32 @@
<string>Ctrl+P</string>
</property>
</action>
<action name="actionActivateNextSubwindow">
<property name="text">
<string>Activate Next Subwindow</string>
</property>
<property name="toolTip">
<string>Activate Next Subwindow</string>
</property>
<property name="shortcut">
<string>Ctrl+Right</string>
</property>
</action>
<action name="actionPrint">
<property name="text">
<string>Print ...</string>
</property>
</action>
<action name="actionPrintPreview">
<property name="text">
<string>Print Pre&amp;view ...</string>
</property>
</action>
<action name="actionInstantPrint">
<property name="text">
<string>Quick &amp;Print</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
@@ -207,70 +258,5 @@
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>actionReload</sender>
<signal>activated()</signal>
<receiver>_browser</receiver>
<slot>reload()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>515</x>
<y>387</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionBack</sender>
<signal>activated()</signal>
<receiver>_browser</receiver>
<slot>back()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>515</x>
<y>387</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionForward</sender>
<signal>activated()</signal>
<receiver>_browser</receiver>
<slot>forward()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>515</x>
<y>387</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionStop</sender>
<signal>activated()</signal>
<receiver>_browser</receiver>
<slot>stop()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>515</x>
<y>387</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>