qt5---布局_控件

QHBoxLayout  水平布局:

Header:   #include <QHBoxLayout>     

qmake:  QT += widgets

Inherits:QBoxLayout


选中要布局的控件--->点击布局按钮:

qt5---布局_#include_02



QVBoxLayout 垂直布局: 

Header:  #include <QVBoxLayout>

qmake:  QT += widgets

Inherits:QBoxLayout