-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui_params.py
51 lines (43 loc) · 1.28 KB
/
ui_params.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
44
45
46
47
48
49
50
51
cometrics_version = "1.4.0"
ui_title = f"cometrics v{cometrics_version}"
cometrics_data_root = fr'C:\cometrics'
cometrics_ver_root = fr'{cometrics_data_root}\{cometrics_version}'
project_treeview_params = [40, 60, 400, 300]
ksf_distance = 1.75
window_ratio = 0.7
large_header_font = ('Purisa', 16)
large_treeview_font = ('Purisa', 16, 'bold')
large_treeview_rowheight = 28
large_field_font = ('Purisa', 14)
large_field_offset = 70
large_button_size = (120, 35)
large_tab_size = (140, 35)
medium_header_font = ('Purisa', 14)
medium_treeview_font = ('Purisa', 14, 'bold')
medium_treeview_rowheight = 25
medium_field_font = ('Purisa', 12)
medium_field_offset = 60
medium_button_size = (100, 30)
medium_tab_size = (120, 30)
small_header_font = ('Purisa', 12)
small_treeview_font = ('Purisa', 12, 'bold')
small_treeview_rowheight = 22
small_field_font = ('Purisa', 10)
small_field_offset = 60
small_button_size = (80, 25)
small_tab_size = (110, 25)
treeview_tags = ['odd', 'even', 'header']
treeview_default_tag_dict = {
'odd': '#E8E8E8',
'even': '#DFDFDF',
'header': '#C4C4C4'
}
treeview_bind_tags = ['odd', 'even', 'toggle']
treeview_bind_tag_dict = {
'odd': '#E8E8E8',
'even': '#DFDFDF',
'toggle': 'red'
}
# https://unicode-table.com/en/#274E
checkmark = '\u2705'
crossmark = '\u274E'