介绍QSizePolicy::SizeType(zz)
来源:互联网 发布:php 用户登录验证 编辑:程序博客网 时间:2024/04/28 22:26
类QSizePolicy 是描述水平和垂直修改大小策略的一种而已属性
QSizePolicy::SizeType
The per-dimension sizing types used when constructing a QSizePolicy are:
QSizePolicy::Fixed - the QWidget::sizeHint() is the only acceptable alternative, so the widget can never grow or shrink (e.g. the vertical direction of a push button).
缺省大小(sizehint)是唯一可以接收的改变,因此定义这种类型部件不会发生任何改变。
QSizePolicy::Minimum - the sizeHint() is minimal, and sufficient. The widget can be expanded, but there is no advantage to it being larger (e.g. the horizontal direction of a push button).
缺省大小定义的部件最小大小,并且是充分的。部件允许扩展,但是并不倾向扩展。
QSizePolicy::Maximum - the sizeHint() is a maximum. The widget can be shrunk any amount without detriment if other widgets need the space (e.g. a separator line).
缺省大小定义的部件是最大的,假如其它部件需要空间并且不会破坏这个部件,那么该部件允许缩小。
QSizePolicy::Preferred - the sizeHint() is best, but the widget can be shrunk and still be useful. The widget can be expanded, but there is no advantage to it being larger than sizeHint() (the default QWidget policy).
缺省大小是最佳效果,部件允许扩展或缩小,但并倾向于扩展(缺省策略)。
QSizePolicy::Expanding - the sizeHint() is a sensible size, but the widget can be shrunk and still be useful. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider).
缺省大小是合理的大小,但部件允许缩小并且可用。这个部件可以利用额外的空间,因此它将会得到尽可能多的空间。
QSizePolicy::MinimumExpanding - the sizeHint() is minimal, and sufficient. The widget can make use of extra space, so it should get as much space as possible (e.g. the horizontal direction of a slider).
缺省大小是部件最小大小,并且是足够的。这个部件允许使用额外空间,因此它将会得到尽可能多的空间。
QSizePolicy::Ignored - the sizeHint() is ignored. The widget will get as much space as possible.
缺省大小将会被忽略,这个部件会得到尽可能多的空间。
- 介绍QSizePolicy::SizeType(zz)
- QSizePolicy::SizeType
- QT QSizePolicy::SizeType的用法
- QSizePolicy
- CDN介绍(ZZ)
- setSizePolicy -- QSizePolicy
- RSA算法原理介绍(ZZ)
- C++ 的好书介绍(ZZ)
- 介绍六种排序方法(ZZ)
- SizeType隐私政策
- QSizePolicy 常用值
- Qt之QSizePolicy
- qt界面Layout::QSizePolicy
- ZZ: grub管理器介绍
- devfs介绍-zz
- WinSock介绍(zz)
- JDBC专题介绍(zz)
- EDI 介绍[ZZ]
- 快速排序算法-c#版
- 黑马程序员--Collection集合
- 怎样去除EXCEL中的重复行
- vim cscope
- ext gridpanel plugin rowediting编辑保存
- 介绍QSizePolicy::SizeType(zz)
- 关于serv-u公网访问出现“打开ftp服务器上的文件夹时发生错误。请检查是否有权限访问该文件夹。详细信息:操作超时”的解决方法
- MVC 发布注意事项
- linux下的打包及压缩(主要介绍tar)
- 2012,各大电商向精细化转型
- 杨辉三角
- 从B树、B+树、B*树谈到R 树
- Magento 开发笔记5
- 使用libcurl POST数据和上传文件