UI: Make stats dockable

Adds a new dock out of the stats widget.
This commit is contained in:
Alex Anderson
2018-08-28 07:39:50 -07:00
parent deba492a2d
commit 4df790a471
4 changed files with 48 additions and 11 deletions

View File

@@ -293,6 +293,7 @@
<addaction name="toggleMixer"/>
<addaction name="toggleTransitions"/>
<addaction name="toggleControls"/>
<addaction name="toggleStats"/>
</widget>
<action name="actionFullscreenInterface">
<property name="text">
@@ -1098,6 +1099,21 @@
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="statsDock">
<property name="minimumSize">
<size>
<width>168</width>
<height>103</height>
</size>
</property>
<property name="windowTitle">
<string>Basic.Stats</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents"/>
</widget>
<action name="actionAddScene">
<property name="icon">
<iconset resource="obs.qrc">
@@ -1656,6 +1672,17 @@
<string>Basic.MainMenu.Help.Discord</string>
</property>
</action>
<action name="toggleStats">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Basic.Stats</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>