开发者

creating a fullscreen desktop environment?

开发者 https://www.devze.com 2023-03-24 09:59 出处:网络
how to create a fullscreen application, with no window frame, to simulate a \'virtual desktop\'? I would like to know if it\'s possible using java and Qt C++? and what are the开发者_运维技巧 syntaxe f

how to create a fullscreen application, with no window frame, to simulate a 'virtual desktop'? I would like to know if it's possible using java and Qt C++? and what are the开发者_运维技巧 syntaxe for doing such thing in both languages?


To show a Qt widget fullscreen:

#include <QtGui>
#include <QtCore>

int
main(int argc, char* argv[])
{
  QApplication app(argc, argv);
  QWidget widget;

  //widget.show();  
  widget.showFullScreen();

  app.exec();
  return 0;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消