qt 实现全屏

 this->showFullScreen();

this->setStatusBar(0);

     //this->setWindowFlags(Qt::CustomizeWindowHint);
      // this->setWindowFlags(Qt::FramelessWindowHint);
       //this->setWindowFlags( Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint );
         //this->resize( QApplication::desktop()->size() );
         //this->setFocusPolicy( Qt::StrongFocus );
         //this->setAttribute(Qt::WA_QuitOnClose, true);
         //this->setWindowFlags(Qt::Popup);
         //this->setFocus();

posted on 2011-03-22 16:47  风乔  阅读(726)  评论(0编辑  收藏  举报

导航