-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpredefined_size_policy.py
43 lines (40 loc) · 1.13 KB
/
predefined_size_policy.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from PyQt5.QtWidgets import QSizePolicy
SizePolicy_fixed = QSizePolicy(
QSizePolicy.Fixed, QSizePolicy.Fixed
)
SizePolicy_fixed_height = QSizePolicy(
QSizePolicy.Expanding, QSizePolicy.Fixed
)
SizePolicy_fixed_width = QSizePolicy(
QSizePolicy.Fixed, QSizePolicy.Expanding
)
SizePolicy_preferred = QSizePolicy(
QSizePolicy.Preferred, QSizePolicy.Preferred
)
SizePolicy_preferred_width = QSizePolicy(
QSizePolicy.Preferred, QSizePolicy.Expanding
)
SizePolicy_maximum = QSizePolicy(
QSizePolicy.Maximum, QSizePolicy.Maximum
)
SizePolicy_maximum_height = QSizePolicy(
QSizePolicy.Expanding, QSizePolicy.Maximum
)
SizePolicy_maximum_width = QSizePolicy(
QSizePolicy.Maximum, QSizePolicy.Expanding
)
SizePolicy_minimum = QSizePolicy(
QSizePolicy.Minimum, QSizePolicy.Minimum
)
SizePolicy_minimum_height = QSizePolicy(
QSizePolicy.Expanding, QSizePolicy.Minimum
)
SizePolicy_minimum_width = QSizePolicy(
QSizePolicy.Minimum, QSizePolicy.Expanding
)
SizePolicy_minimum_fixed =QSizePolicy(
QSizePolicy.Minimum, QSizePolicy.Fixed
)
SizePolicy_expanding = QSizePolicy(
QSizePolicy.Expanding, QSizePolicy.Expanding
)