Progress

parent 485a2d15
......@@ -12,6 +12,8 @@
*/
#include <QErrorMessage>
#include <QUrl>
#include <qdesktopservices>
#include "RedstartWindow.h"
#include <ui_RedstartWindow.h>
......@@ -122,9 +124,9 @@ void RedstartWindow::PostCoreStart()
ui->pushButton_start_stop->setText( "Stop" );
// Switch UI elements enabled
ui->groupBox_redstart_vaserver_audio_iface->setEnabled( false );
ui->groupBox_redstart_audio_iface->setEnabled( false );
ui->groupBox_redstart_network->setEnabled( false );
ui->groupBox_redstart_session->setEnabled( false );
ui->horizontalLayout_redstart_session->setEnabled( false );
ui->groupBox_core->setEnabled( true );
ui->groupBox_paths->setEnabled( true );
ui->groupBox_macros->setEnabled( true );
......@@ -146,9 +148,9 @@ void RedstartWindow::PostCoreStop()
ui->pushButton_start_stop->setText( "Start" );
// Switch UI elements enabled
ui->groupBox_redstart_vaserver_audio_iface->setEnabled( true );
ui->groupBox_redstart_audio_iface->setEnabled( true );
ui->groupBox_redstart_network->setEnabled( true );
ui->groupBox_redstart_session->setEnabled( true );
ui->horizontalLayout_redstart_session->setEnabled( true );
ui->groupBox_core->setEnabled( false );
ui->groupBox_paths->setEnabled( false );
ui->groupBox_macros->setEnabled( false );
......@@ -262,3 +264,27 @@ void RedstartWindow::on_comboBox_audio_iface_device_currentIndexChanged(int inde
{
}
void RedstartWindow::on_actionWebsite_triggered()
{
QUrl urlVAWebsite( "http://www.virtualacoustics.org/work" );
QDesktopServices::openUrl( urlVAWebsite );
}
void RedstartWindow::on_actionGet_started_triggered()
{
QUrl urlVAWebsiteGetStarted( "http://www.virtualacoustics.org/work/start.html" );
QDesktopServices::openUrl( urlVAWebsiteGetStarted );
}
void RedstartWindow::on_actionDocumentation_triggered()
{
QUrl urlVAWebsiteDocumentation( "http://www.virtualacoustics.org/work/documentation.html" );
QDesktopServices::openUrl( urlVAWebsiteDocumentation );
}
void RedstartWindow::on_actionGet_help_triggered()
{
QUrl urlVAWebsiteGetHelp( "http://www.virtualacoustics.org/work/help.html" );
QDesktopServices::openUrl( urlVAWebsiteGetHelp );
}
......@@ -70,6 +70,14 @@ private slots:
void on_comboBox_audio_iface_device_currentIndexChanged(int index);
void on_actionWebsite_triggered();
void on_actionGet_started_triggered();
void on_actionDocumentation_triggered();
void on_actionGet_help_triggered();
private:
void PostCoreStart();
void PostCoreStop();
......
This diff is collapsed.
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