--- infoscreen/mainview.cpp 2010/12/25 21:44:00 1209 +++ infoscreen/mainview.cpp 2011/01/03 20:56:54 1210 @@ -43,7 +43,7 @@ readLocalFiles(); } - this->resize(400,400); + this->resize(640,480); this->setWindowState( Qt::WindowFullScreen ); this->grabKeyboard(); @@ -157,6 +157,16 @@ if (key == ' ' || key == Qt::Key_Return || key == Qt::Key_Enter) { close(); } + + if (key == 'f' || key == 'F') { + Qt::WindowStates current = this->windowState(); + if (current == Qt::WindowFullScreen) { + this->setWindowState(Qt::WindowActive); + } else { + this->setWindowState(Qt::WindowFullScreen); + } + } + } void MainView::onTimer()