UI: Add Profiles

Adds setting profiles to the basic user interface.  For each profile, a
subdirectory for the profile will be created in
[config_dir]/obs-studio/basic/profiles which will contain the settings
data for each profile.
This commit is contained in:
jp9000
2015-06-23 19:38:01 -07:00
parent 7d6a12f49e
commit f9314128ea
11 changed files with 689 additions and 26 deletions

View File

@@ -628,6 +628,16 @@
<addaction name="separator"/>
<addaction name="actionAdvAudioProperties"/>
</widget>
<widget class="QMenu" name="profileMenu">
<property name="title">
<string>Basic.MainMenu.Profile</string>
</property>
<addaction name="actionNewProfile"/>
<addaction name="actionDupProfile"/>
<addaction name="actionRenameProfile"/>
<addaction name="actionRemoveProfile"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="sceneCollectionMenu">
<property name="title">
<string>Basic.MainMenu.SceneCollection</string>
@@ -640,6 +650,7 @@
</widget>
<addaction name="menu_File"/>
<addaction name="menuBasic_MainMenu_Edit"/>
<addaction name="profileMenu"/>
<addaction name="sceneCollectionMenu"/>
<addaction name="menuBasic_MainMenu_Help"/>
</widget>
@@ -963,6 +974,26 @@
<string>Remove</string>
</property>
</action>
<action name="actionNewProfile">
<property name="text">
<string>New</string>
</property>
</action>
<action name="actionDupProfile">
<property name="text">
<string>Duplicate</string>
</property>
</action>
<action name="actionRenameProfile">
<property name="text">
<string>Rename</string>
</property>
</action>
<action name="actionRemoveProfile">
<property name="text">
<string>Remove</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>