- Launch OLA setup web page in a new window. Menu File

This commit is contained in:
Santi Noreña 2013-03-09 15:21:00 +01:00
parent e24f617e52
commit 70c51c5368
5 changed files with 53 additions and 20 deletions

View file

@ -160,10 +160,11 @@ libreMediaServer::libreMediaServer(QStringList args, QWidget *parent)
connect(ui.actionChange_Media_Path, SIGNAL(triggered()), this, SLOT(ChangeMediaPath()));
connect(ui.actionInitMSEX, SIGNAL(triggered()), this, SLOT(initMSEX()));
connect(ui.actionMake_Thumbs, SIGNAL(triggered()), this, SLOT(makeThumbs()));
connect(ui.actionLaunch_OLA_Setup,SIGNAL(triggered()),this, SLOT(olasetup()));
// Load the configuration
open_start();
// Connect MSEx Timer
connect(m_msex,SIGNAL(frameRequest()), this, SLOT(sendFrame()));
connect(m_msex,SIGNAL(frameRequest()), this, SLOT(sendFrame()));
}
///////////////////////////////////////////////////////////////////
@ -460,6 +461,13 @@ void libreMediaServer::olastart()
// connect(ola, SIGNAL(finished(int)), this, SLOT(olastart()));
}
void libreMediaServer::olasetup()
{
QWebView *view = new QWebView();
view->load(QUrl("http://localhost:9090/ola.html"));
view->show();
}
///////////////////////////////////////////////////////////////////
// Menu CITP/MSEx
///////////////////////////////////////////////////////////////////