shapesDockWidget->setWidget(ui->widgetButtons);
shapesDockWidget->setAllowedAreas(Qt::NoDockWidgetArea);
addDockWidget(Qt::BottomDockWidgetArea, shapesDockWidget);
/* 停靠区域
Constant Value
Qt::LeftDockWidgetArea 0x1
Qt::RightDockWidgetArea 0x2
Qt::TopDockWidgetArea 0x4
Qt::BottomDockWidgetArea 0x8
Qt::AllDockWidgetAreas DockWidgetArea_Mask
Qt::NoDockWidgetArea 0 //不停靠