QHBoxLayout 水平布局:
Header: #include <QHBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
选中要布局的控件--->点击布局按钮:
QVBoxLayout 垂直布局:
Header: #include <QVBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
微信扫一扫
Header: #include <QHBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
选中要布局的控件--->点击布局按钮:
Header: #include <QVBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
相关推荐