Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QDialog->show() 与ubuntu

QDialog->show() 与ubuntu

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 1.6k Views
  • 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.
  • neemeN Offline
    neemeN Offline
    neeme
    wrote on last edited by
    #1

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

    QDialg *dlg;
    dlg->show();

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

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

    1 Reply Last reply
    0
    • jiancaiyangJ Offline
      jiancaiyangJ Offline
      jiancaiyang
      wrote on last edited by
      #2

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

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved