查看完整内容
使用道具 举报
20030969 发表于 2013-7-1 22:11 在哪加……style 里面?
Tells the geometry manager to place the menu bar widget at the top of parentWidget(), outside QWidget::contentsMargins(). All child widgets are placed below the bottom edge of the menu bar.
KaoN 发表于 2013-7-1 08:18 QLayout::setMenuBar() 试一下这个