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();

你可能感兴趣的:(qt)