]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/mainview.ui
Add forward and back buttons.
[PrivacyBrowserPC.git] / src / mainview.ui
index 2174544c90558deb59ef747c9b7f7b920bf466f2..4865f6eacb46f2d6f8b0295f11c192e383ef7453 100644 (file)
         </property>
 
         <layout class="QVBoxLayout">
+            <!-- Set the spacing between items to 0. -->
+            <property name="spacing">
+                <number>0</number>
+            </property>
+
             <!-- Set the margins to 0. -->
             <property name="topMargin">
                 <number>0</number>
             </property>
 
             <item>
-                <widget class="KLineEdit" name="urlLineEdit" />
+                <layout class="QHBoxLayout">
+                    <!-- Set the spacing between items to 0. -->
+                    <property name="spacing">
+                        <number>0</number>
+                    </property>
+
+                    <item>
+                        <widget class="QPushButton" name="backButton">
+                            <property name="icon">
+                                <iconset theme="arrow-left" />
+                            </property>
+
+                            <property name="iconSize">
+                                <size>
+                                    <width>24</width>
+                                    <height>24</height>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <item>
+                        <widget class="QPushButton" name="forwardButton">
+                            <property name="icon">
+                                <iconset theme="arrow-right" />
+                            </property>
+
+                            <property name="iconSize">
+                                <size>
+                                    <width>24</width>
+                                    <height>24</height>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <item>
+                        <widget class="KLineEdit" name="urlLineEdit" />
+                    </item>
+                </layout>
             </item>
 
             <item>