Ignore:
Timestamp:
Jul 15, 2013 5:44:36 PM (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
f5122ae
Parents:
2046091
Message:

Update PCDMd, add option to enable TCP listen, off by default

Also fix up main.cpp, make sure we set the screen resolution correctly, that
way we always come back to a full-screen widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/main.cpp

    r90dc161 rd4bc04b  
    109109    //qDebug() << "Main GUI Created:" << QString::number(clock.elapsed())+" ms"; 
    110110    splash.finish(&w); //close the splash when the GUI starts up 
     111 
     112    // Set full-screen dimensions 
     113    QRect dimensions = QApplication::desktop()->screenGeometry(); 
     114    int wid = dimensions.width();     // returns desktop width 
     115    int hig = dimensions.height();    // returns desktop height 
     116    w.setGeometry(0, 0, wid, hig); 
     117 
    111118    //Set the proper size on the Application 
    112       w.setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint); 
    113       w.setWindowState(Qt::WindowMaximized); //Qt::WindowFullScreen); 
     119    w.setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint); 
     120    w.setWindowState(Qt::WindowMaximized); //Qt::WindowFullScreen); 
    114121 
    115122    //Setup the signals/slots to startup the desktop session 
Note: See TracChangeset for help on using the changeset viewer.