当前位置:网站首页>Qt | 设置部件大小 sizeHint、minimumSizeHint、sizePolicy、stretch factor
Qt | 设置部件大小 sizeHint、minimumSizeHint、sizePolicy、stretch factor
2022-07-23 23:36:00 【InfoQ】
- sizeHint:大小提示
- minimumSizeHint:最小大小提示
- sizePolicy:大小策略
- Fixed:固定的;部件无法伸缩,它的大小只能是sizeHint()的值。
- Minimum:sizeHint()给部件设置一个最小值,部件最小不能小于这个值,但是部件可以被拉伸。
- Maximum:sizeHint()给部件设置一个最大值,部件最大不能大于这个值,但是部件可以被压缩。
- Preferred:优先的;sizeHint()提供给部件一个最佳大小,但是可以改变,可以拉伸或压缩。
- Expanding:扩大的;sizeHint()提供给部件一个合适大小,部件可以被压缩,但是部件更倾向于被拉伸来获得更大的大小。
- MinimumExpanding:sizeHint()提供给部件的大小是最小值,部件倾向于被拉伸来获得更大的大小。
- Ignord:sizeHint()的值被忽略,部件将尽可能的被拉伸来获取更大的大小。
- stretch factor:伸缩因子
边栏推荐
- Iptables prevent nmap scanning and binlog
- Grey prediction (matlab)
- Principal component analysis (matlab)
- 1、 Simplification of digital logic
- ciscn_2019_n_8
- How are you preparing for the Android golden nine silver ten interview? The latest Android Interview Questions Summary helps you prepare for the war
- ArraysList 与顺序表 ——模拟实现
- Open source embedded sig in the openeuler community. Let's talk about its multi OS hybrid deployment framework
- BGP基础实验
- 在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架
猜你喜欢

jarvisoj_level2

Classification model - logistic regression, Fisher linear discriminant (SPSS)

No wonder the application effect of ERP in domestic enterprises is generally not ideal

1、 Simplification of digital logic

BGP basic experiment

Practical learning of SQL statements

USB to can device in nucleic acid extractor high performance USB interface can card
![[web vulnerability exploration] SQL injection vulnerability](/img/94/dc84d7790d5a1823e4b73d513e86be.png)
[web vulnerability exploration] SQL injection vulnerability

Grey prediction (matlab)

FreeRTOS personal notes - suspend / unhook tasks
随机推荐
BGP basic experiment
jarvisoj_ level2
第六章、实现一个持久性适配器
Navicat15 download and installation
pwn1_ sctf_ two thousand and sixteen
The most complete 2022 Android interview questions in history
Go language multiple return values and return error types
关于使用 Jackson 解析 JSON 你需要知道的一切
BUUCTF -rip
Operating system not found solution after importing ISO into virtual machine
Iptables prevent nmap scanning and binlog
Arrayslist and sequence table -- Simulation Implementation
Entropy weight method to optimize TOPSIS (matlab)
PHP(2)
【三年面试五年模拟】算法工程师的独孤九剑秘籍(前六式汇总篇)V1版
为什么大多数人都认为编程很难?
Intel英特尔RealSense实感深度摄像头 自校准(Self-Calibration)操作步骤讲解 D400系列适用
在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架
Stm32mp1 M4 bare metal cubeide Development Guide Chapter 6 stm32cube firmware package
Network security class assignment