--- infoscreen/MainView.cpp 2009/12/15 19:17:04 514 +++ infoscreen/MainView.cpp 2009/12/15 20:36:26 515 @@ -6,17 +6,18 @@ #include -#include //Phonon -#include //Phonon +//#include //Phonon +//#include //Phonon #include "MyWebView.h" +#include "clientsiderender.h" MainView::MainView(QWidget* parent) : QWidget(parent) { this->setWindowState( Qt::WindowFullScreen ); - qApp->setOverrideCursor( QCursor( Qt::BlankCursor) ); +// qApp->setOverrideCursor( QCursor( Qt::BlankCursor) ); //Phonon::VideoPlayer* video; @@ -25,21 +26,23 @@ //layout->addWidget(video,1); //video->play(); - web = new MyWebView(this); + render = new ClientSideRender(this); + web = new MyWebView(this); + web->setVisible( false ); QVBoxLayout* layout = new QVBoxLayout(); - layout->addWidget(web,1); - + layout->addWidget(web,1); + layout->addWidget(render,1); layout->addStretch(); layout->setContentsMargins(0,0,0,0); - setLayout(layout); + setLayout(layout); QTimer* timer = new QTimer(this); connect(timer, SIGNAL(timeout() ), this, SLOT(onTimer() )); timer->start(1000); - web->start(); + web->start(); }