From 1a7e594bdbb8567e7d32ef72dea61ef804c10fbe Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sun, 1 Mar 2015 01:08:33 +0200 Subject: [PATCH] UI: Optimize OBSBasic.ui This optimizes the main OBSBasic.ui window so that it uses fewer objects and thus fewer allocations. Closes pull request #386 (message added by Jim) --- obs/forms/OBSBasic.ui | 823 ++++++++++++++++++++---------------------- 1 file changed, 389 insertions(+), 434 deletions(-) diff --git a/obs/forms/OBSBasic.ui b/obs/forms/OBSBasic.ui index 166768491..8e22f7a7d 100644 --- a/obs/forms/OBSBasic.ui +++ b/obs/forms/OBSBasic.ui @@ -7,7 +7,7 @@ 0 0 - 927 + 920 700 @@ -56,7 +56,7 @@ - + 0 @@ -91,457 +91,412 @@ 2 - - - - - 0 - 0 - + + + + Qt::Horizontal - - - 4 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - Mixer - - - - - - - - 0 - 0 - - - - - 22 - 22 - - - - - - - - :/res/images/configuration21_16.png:/res/images/configuration21_16.png - - - true - - - - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Qt::ScrollBarAlwaysOn - - - Qt::ScrollBarAlwaysOff - - - true - - - - - 0 - 0 - 231 - 16 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - - - - - - - - - - 0 - 0 - + + QSizePolicy::Fixed - + 150 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - QFrame::StyledPanel - - - QFrame::Sunken - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - true - - - - 0 - 0 - - - - Qt::CustomContextMenu - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - - - - 16 - 16 - - - - false - - - - - - - - - - - - - - - - - - - - 0 - 0 - - - - - 150 - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - QFrame::StyledPanel - - - QFrame::Sunken - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - Qt::CustomContextMenu - - - QFrame::NoFrame - - - - - - - - - 16 - 16 - - - - false - - - - - - - - - - - - - - - - - - - - 0 - 0 - - - - - 150 - 0 - - - - - 5 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - true - - - Basic.Main.StartStreaming - - - false - - - - - - - true - - - Basic.Main.StartRecording - - - - - - - Settings - - - - - - - Exit - - - - - + - + Basic.Main.Sources - + Basic.Main.Scenes + + + + 2 + + + + + true + + + Basic.Main.StartStreaming + + + false + + + + + + + true + + + Basic.Main.StartRecording + + + + + + + Settings + + + + + + + Exit + + + + + + + Qt::Vertical + + + + 0 + 0 + + + + + + + + + + 0 + + + + + + 0 + 0 + + + + Mixer + + + + + + + + 0 + 0 + + + + + 22 + 22 + + + + + + + + :/res/images/configuration21_16.png:/res/images/configuration21_16.png + + + true + + + + + + + Qt::Horizontal + + + + 0 + 0 + + + + + + + + + + QFrame::StyledPanel + + + QFrame::Sunken + + + Qt::ScrollBarAlwaysOn + + + Qt::ScrollBarAlwaysOff + + + true + + + + + 0 + 0 + 209 + 16 + + + + + 0 + 0 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + 0 + + + + + + 0 + 0 + + + + + 160 + 0 + + + + QFrame::StyledPanel + + + QFrame::Sunken + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + Qt::CustomContextMenu + + + QFrame::NoFrame + + + + + + + + + 16 + 16 + + + + false + + + + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 150 + 0 + + + + + + + + + + + + + 0 + + + + + + 0 + 0 + + + + + 160 + 0 + + + + QFrame::StyledPanel + + + QFrame::Sunken + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + true + + + + 0 + 0 + + + + Qt::CustomContextMenu + + + QFrame::NoFrame + + + QFrame::Plain + + + + + + + + + 0 + 0 + + + + + 16 + 16 + + + + false + + + + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 150 + 0 + + + + + + + + + @@ -552,7 +507,7 @@ 0 0 - 927 + 920 21