Adding more UI elements

parent 07bb3696
......@@ -63,12 +63,14 @@ set( Redstart_Sources
set( Redstart_UIs
"ui/RedstartWindow.ui"
"ui/RedstartSessionBinauralHeadphonesDialog.ui"
"ui/RedstartSessionBinauralHeadphonesDialog.ui"
"ui/RedstartSessionExperimentalTalkthroughDialog.ui"
)
# Qt UI form compiler
qt5_wrap_ui( "ui_RedstartWindow.h" "ui/RedstartWindow.ui" )
qt5_wrap_ui( "ui_RedstartSessionBinauralHeadphonesDialog.h" "ui/RedstartSessionBinauralHeadphonesDialog.ui" )
qt5_wrap_ui( "ui_RedstartSessionExperimentalTalkthroughDialog.h" "ui/RedstartSessionExperimentalTalkthroughDialog.ui" )
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" ) # Qt UI form compiler generates files into this folder
......
......@@ -591,3 +591,8 @@ void RedstartWindow::on_actionRunSimpleExample_triggered()
oErrMsg.exec();
}
}
void RedstartWindow::on_actionCirculating_source_triggered()
{
}
......@@ -139,6 +139,8 @@ private slots:
void on_actionRunSimpleExample_triggered();
void on_actionCirculating_source_triggered();
private:
void PostCoreStart();
void PostCoreStop();
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>412</width>
<height>169</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_demo_sound_macro">
<property name="text">
<string>$(DemoSound)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Demo sound</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_session_name">
<property name="text">
<string>MyExperimentalTalkthrough</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Session name</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QPushButton" name="pushButton_create">
<property name="text">
<string>Create experimental session</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Number of channels</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="pushButton_select_demo_sound">
<property name="text">
<string>Select</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Output channel routing</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEdit_output_channels">
<property name="text">
<string>1,2</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBox_num_channels">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
......@@ -72,7 +72,7 @@
<x>0</x>
<y>0</y>
<width>1029</width>
<height>660</height>
<height>666</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,0,0,0,1">
......@@ -873,12 +873,13 @@ background-color: rgb(208, 255, 188);</string>
</widget>
<widget class="QMenu" name="menuRun">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="title">
<string>Run</string>
</property>
<addaction name="actionRunSimpleExample"/>
<addaction name="actionCirculating_source"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
......@@ -940,6 +941,9 @@ background-color: rgb(208, 255, 188);</string>
</property>
</action>
<action name="actionRunSimpleExample">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Simple example</string>
</property>
......@@ -1072,6 +1076,14 @@ background-color: rgb(208, 255, 188);</string>
<string>S, C</string>
</property>
</action>
<action name="actionCirculating_source">
<property name="text">
<string>Circulating source</string>
</property>
<property name="shortcut">
<string>R, C</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
......
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