]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/mainview.ui
Enable setting as the default browser.
[PrivacyBrowserPC.git] / src / mainview.ui
index 2174544c90558deb59ef747c9b7f7b920bf466f2..c7afeb850379167bb43aa3ce430aabc78fd77927 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>
                 <number>0</number>
             </property>
 
+            <!-- URL bar. -->
             <item>
-                <widget class="KLineEdit" name="urlLineEdit" />
+                <layout class="QHBoxLayout">
+                    <!-- Set the spacing between items to 0. -->
+                    <property name="spacing">
+                        <number>0</number>
+                    </property>
+
+                    <!-- Back button. -->
+                    <item>
+                        <widget class="QPushButton" name="backButton">
+                            <property name="icon">
+                                <iconset theme="arrow-left" />
+                            </property>
+
+                            <property name="iconSize">
+                                <size>
+                                    <height>24</height>
+                                    <width>24</width>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <!-- Forward button. -->
+                    <item>
+                        <widget class="QPushButton" name="forwardButton">
+                            <property name="icon">
+                                <iconset theme="arrow-right" />
+                            </property>
+
+                            <property name="iconSize">
+                                <size>
+                                    <height>24</height>
+                                    <width>24</width>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <!-- Home button. -->
+                    <item>
+                        <widget class="QPushButton" name="homeButton">
+                            <property name="icon">
+                                <iconset theme="home" />
+                            </property>
+
+                            <property name="iconSize">
+                                <size>
+                                    <height>24</height>
+                                    <width>24</width>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+
+                    <!-- URL line edit. -->
+                    <item>
+                        <widget class="KLineEdit" name="urlLineEdit" />
+                    </item>
+
+                    <!-- JavaScript. -->
+                    <item>
+                        <widget class="QPushButton" name="javaScript">
+                            <property name="iconSize">
+                                <size>
+                                    <height>24</height>
+                                    <width>24</width>
+                                </size>
+                            </property>
+
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                    </item>
+                </layout>
             </item>
 
+            <!-- WebEngine view. -->
             <item>
                 <widget class="QWebEngineView" name="webEngineView" />
             </item>