|
@@ -249,6 +249,53 @@
|
|
|
<property name="bottomMargin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="previewZoomInButton">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>16</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="maximumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>16</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomIn</string>
|
|
|
+ </property>
|
|
|
+ <property name="accessibleName">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomIn</string>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string/>
|
|
|
+ </property>
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="obs.qrc">
|
|
|
+ <normaloff>:/res/images/plus.svg</normaloff>:/res/images/plus.svg</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="iconSize">
|
|
|
+ <size>
|
|
|
+ <width>8</width>
|
|
|
+ <height>8</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="toolButton" stdset="0">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="class" stdset="0">
|
|
|
+ <string>icon-plus</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
<item>
|
|
|
<widget class="OBSPreviewScalingLabel" name="previewScalePercent">
|
|
|
<property name="text">
|
|
@@ -259,6 +306,53 @@
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="previewZoomOutButton">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>16</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="maximumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>16</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomOut</string>
|
|
|
+ </property>
|
|
|
+ <property name="accessibleName">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomOut</string>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string/>
|
|
|
+ </property>
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="obs.qrc">
|
|
|
+ <normaloff>:/res/images/minus.svg</normaloff>:/res/images/minus.svg</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="iconSize">
|
|
|
+ <size>
|
|
|
+ <width>8</width>
|
|
|
+ <height>8</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="toolButton" stdset="0">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="class" stdset="0">
|
|
|
+ <string>icon-minus</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
<item>
|
|
|
<widget class="OBSPreviewScalingComboBox" name="previewScalingMode">
|
|
|
<item>
|
|
@@ -273,6 +367,22 @@
|
|
|
</item>
|
|
|
</widget>
|
|
|
</item>
|
|
|
+ <item>
|
|
|
+ <spacer name="horizontalSpacer_5">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::Fixed</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>4</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
<item>
|
|
|
<widget class="QScrollBar" name="previewXScrollBar">
|
|
|
<property name="sizePolicy">
|
|
@@ -690,6 +800,10 @@
|
|
|
<addaction name="actionScaleWindow"/>
|
|
|
<addaction name="actionScaleCanvas"/>
|
|
|
<addaction name="actionScaleOutput"/>
|
|
|
+ <addaction name="separator"/>
|
|
|
+ <addaction name="actionPreviewZoomIn"/>
|
|
|
+ <addaction name="actionPreviewZoomOut"/>
|
|
|
+ <addaction name="actionPreviewResetZoom"/>
|
|
|
</widget>
|
|
|
<action name="actionCopySource">
|
|
|
<property name="text">
|
|
@@ -1160,7 +1274,7 @@
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
- <width>225</width>
|
|
|
+ <width>323</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
@@ -1214,7 +1328,7 @@
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>16</width>
|
|
|
- <height>192</height>
|
|
|
+ <height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="sizePolicy">
|
|
@@ -2213,6 +2327,35 @@
|
|
|
<string>List</string>
|
|
|
</property>
|
|
|
</action>
|
|
|
+ <action name="actionPreview">
|
|
|
+ <property name="text">
|
|
|
+ <string>Preview</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actionPreviewZoomIn">
|
|
|
+ <property name="enabled">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomIn</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actionPreviewZoomOut">
|
|
|
+ <property name="enabled">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ZoomOut</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actionPreviewResetZoom">
|
|
|
+ <property name="enabled">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Basic.MainMenu.Edit.Scale.ResetZoom</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
</widget>
|
|
|
<customwidgets>
|
|
|
<customwidget>
|