Qt设计师-Dialog Button Box按钮盒 拖出来的效果: layoutDirection 两个按钮的布局方向 LeftToRight ok按钮在左 Cancel按钮在右 RightToLeft Cancel按钮在左 ok按钮在右 standardButtons 选择按钮种类