WIP, applying config renaming

parent 0ce3ab5f
...@@ -98,7 +98,7 @@ QVariantHash RedstartSessionBinauralHeadphonesDialog::GetCoreConfig() const ...@@ -98,7 +98,7 @@ QVariantHash RedstartSessionBinauralHeadphonesDialog::GetCoreConfig() const
QVariantHash oRenderer; QVariantHash oRenderer;
oRenderer[ "Class" ] = "BinauralFreeField"; oRenderer[ "Class" ] = "BinauralFreeField";
oRenderer[ "Outputs" ] = "MyTalkthroughHeadphones"; oRenderer[ "Reproductions" ] = "MyTalkthroughHeadphones";
oFinalCoreConfig[ "Renderer:MyBinauralRenderer" ] = oRenderer; oFinalCoreConfig[ "Renderer:MyBinauralRenderer" ] = oRenderer;
......
...@@ -103,7 +103,7 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const ...@@ -103,7 +103,7 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const
QVariantHash oRenderer; QVariantHash oRenderer;
oRenderer[ "Class" ] = "PrototypeGenericPath"; oRenderer[ "Class" ] = "PrototypeGenericPath";
oRenderer[ "NumChannels" ] = ui->spinBox_num_channels->value(); oRenderer[ "NumChannels" ] = ui->spinBox_num_channels->value();
oRenderer[ "Outputs" ] = "MyGenericTalkthrough"; oRenderer[ "Reproductions" ] = "MyGenericTalkthrough";
oFinalCoreConfig[ "Renderer:MyExperimentalRenderer" ] = oRenderer; oFinalCoreConfig[ "Renderer:MyExperimentalRenderer" ] = oRenderer;
......
...@@ -55,6 +55,21 @@ ...@@ -55,6 +55,21 @@
<string>Redstart</string> <string>Redstart</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<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> <item>
<widget class="QScrollArea" name="scrollArea_redstart"> <widget class="QScrollArea" name="scrollArea_redstart">
<property name="minimumSize"> <property name="minimumSize">
...@@ -63,6 +78,12 @@ ...@@ -63,6 +78,12 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="widgetResizable"> <property name="widgetResizable">
<bool>true</bool> <bool>true</bool>
</property> </property>
...@@ -71,11 +92,11 @@ ...@@ -71,11 +92,11 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1024</width> <width>1071</width>
<height>768</height> <height>788</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0"> <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,2">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="1,2,0,0,0"> <layout class="QVBoxLayout" name="verticalLayout_5" stretch="1,2,0,0,0">
<item> <item>
...@@ -378,6 +399,19 @@ background-color: rgb(208, 255, 188);</string> ...@@ -378,6 +399,19 @@ background-color: rgb(208, 255, 188);</string>
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
...@@ -578,10 +612,20 @@ background-color: rgb(208, 255, 188);</string> ...@@ -578,10 +612,20 @@ background-color: rgb(208, 255, 188);</string>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QGraphicsView" name="graphicsView_output_levels"/> <widget class="QGraphicsView" name="graphicsView_output_levels">
</item> <property name="sizePolicy">
<item row="1" column="0"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<widget class="QGraphicsView" name="graphicsView_input_levels"/> <horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>30</height>
</size>
</property>
</widget>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_13"> <widget class="QLabel" name="label_13">
...@@ -600,8 +644,8 @@ background-color: rgb(208, 255, 188);</string> ...@@ -600,8 +644,8 @@ background-color: rgb(208, 255, 188);</string>
<widget class="QDial" name="dial_core_control_output_gain"> <widget class="QDial" name="dial_core_control_output_gain">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>50</width> <width>90</width>
<height>50</height> <height>90</height>
</size> </size>
</property> </property>
<property name="minimum"> <property name="minimum">
...@@ -630,6 +674,22 @@ background-color: rgb(208, 255, 188);</string> ...@@ -630,6 +674,22 @@ background-color: rgb(208, 255, 188);</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0">
<widget class="QGraphicsView" name="graphicsView_input_levels">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>30</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QDial" name="dial_core_control_input_gain"> <widget class="QDial" name="dial_core_control_input_gain">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -640,8 +700,8 @@ background-color: rgb(208, 255, 188);</string> ...@@ -640,8 +700,8 @@ background-color: rgb(208, 255, 188);</string>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>50</width> <width>90</width>
<height>50</height> <height>90</height>
</size> </size>
</property> </property>
<property name="minimum"> <property name="minimum">
...@@ -686,6 +746,16 @@ background-color: rgb(208, 255, 188);</string> ...@@ -686,6 +746,16 @@ background-color: rgb(208, 255, 188);</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Output</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_output_gain"> <widget class="QDoubleSpinBox" name="doubleSpinBox_output_gain">
<property name="layoutDirection"> <property name="layoutDirection">
...@@ -725,15 +795,18 @@ background-color: rgb(208, 255, 188);</string> ...@@ -725,15 +795,18 @@ background-color: rgb(208, 255, 188);</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="6" column="0" colspan="2">
<widget class="QLabel" name="label_14"> <spacer name="verticalSpacer_2">
<property name="text"> <property name="orientation">
<string>Output</string> <enum>Qt::Vertical</enum>
</property> </property>
<property name="alignment"> <property name="sizeHint" stdset="0">
<set>Qt::AlignCenter</set> <size>
<width>20</width>
<height>40</height>
</size>
</property> </property>
</widget> </spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment