类似扩展窗口?
可以用两个widget,上面的widget装载button,下面的widget装载combox 隐藏的时候直接隐藏下面的widget,因为combox是下面widget的孩子,所以也会隐藏
[quote=引用 2 楼 cai6811376 的回复:] 类似扩展窗口?
The Extension example shows how to add an extension to a QDialog using the QAbstractButton::toggled() signal and the QWidget::setVisible() slot.
16,216
社区成员
26,595
社区内容
加载中
试试用AI创作助手写篇文章吧