Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved QDialog->show() 与ubuntu

    Chinese
    2
    2
    1374
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • neeme
      neeme last edited by

      大家好:
      MainWindow w;
      w.showFullScreen();
      我是这样就可以全屏了, 但在 w 里有一个button, click() 如下

      QDialg *dlg;
      dlg->show();

      当这个dlg show()的时候, ubuntu的图标栏就会自动显示(在屏幕的左边),破坏全屏效果!

      请问怎样 在 show 一个dialog 时,依然是全屏的呢, 谢谢!

      1 Reply Last reply Reply Quote 0
      • jiancaiyang
        jiancaiyang last edited by

        对话框不适宜全屏。使用QMainWindow作全屏会比较好。

        我们自己的论坛:http://qtdream.com
        擅长三维角色仿真动画。

        1 Reply Last reply Reply Quote 0
        • First post
          Last post