dca7fadf51
This is part of a larger pass I'll be making over the UI to make it behave better with qss The Source Toolbar previously had a fixed height that made styling it difficult. It now takes up the minimum amount of space it needs, but can grow to accommodate larger buttons, padding, etc.
94 lines
2.3 KiB
XML
94 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>BrowserSourceToolbar</class>
|
|
<widget class="QWidget" name="BrowserSourceToolbar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>628</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">Form</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="refresh">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>RefreshBrowser</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../obs.qrc">
|
|
<normaloff>:/res/images/refresh.svg</normaloff>:/res/images/refresh.svg</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="themeID" stdset="0">
|
|
<string notr="true">refreshIconSmall</string>
|
|
</property>
|
|
<property name="themeID2" stdset="0">
|
|
<string notr="true">contextBarButton</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</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>
|
|
</widget>
|
|
<resources>
|
|
<include location="../obs.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|