
QHBoxLayout 水平布局:
Header: #include <QHBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
选中要布局的控件--->点击布局按钮:

QVBoxLayout 垂直布局:
Header: #include <QVBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
qt5---布局
阅读 115
2022-02-28

Header: #include <QHBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
选中要布局的控件--->点击布局按钮:

Header: #include <QVBoxLayout>
qmake: QT += widgets
Inherits:QBoxLayout
相关推荐
精彩评论(0)