forked from kuoted/Quotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fuct_MenuLink.py
50 lines (47 loc) · 1.87 KB
/
Fuct_MenuLink.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
# -*- coding: utf-8 -*-
"""
菜单与功能函数字典映射关系
"""
def UI_Menu(UI):
Menu = [
{"title": "龙虎榜",
"Button":UI.QToolButton_mRankList,
"pages":[{"id": 1, "title": "龙虎榜列表", "FuctLink": UI.QPushButton_cRankListStocks, "Avgs": "1"},
]
},
# {"title": "次新股",
# "Button": UI.QToolButton_mNews,
# "pages": [
# {"id": 1, "title": "今日开板", "FuctLink": "Cixin", "Avgs": "1"},
# {"id": 2, "title": "近7日开板", "FuctLink": "Cixin", "Avgs": "7"},
# {"id": 3, "title": "近30日开板", "FuctLink": "Cixin", "Avgs": "30"}
# ]
# },
# {"title": "板块追踪",
# "Button": UI.QToolButton_mNews,
# "pages": [
# {"id": 1, "title": "今日开板", "FuctLink": "Cixin", "Avgs": "1"},
# {"id": 2, "title": "近7日开板", "FuctLink": "Cixin", "Avgs": "7"},
# {"id": 3, "title": "近30日开板", "FuctLink": "Cixin", "Avgs": "30"}
# ]
# },
# {"title": "涨停预测",
# "Button": UI.QToolButton_mNews,
# "pages": [
# {"id": 1, "title": "今日开板", "FuctLink": "Cixin", "Avgs": "1"},
# {"id": 2, "title": "近7日开板", "FuctLink": "Cixin", "Avgs": "7"},
# {"id": 3, "title": "近30日开板", "FuctLink": "Cixin", "Avgs": "30"}
# ]
# },
# {"title": "资讯",
# "Button": UI.QToolButton_mNews,
# "pages": [
# {"id": 1, "title": "今日开板", "FuctLink": "Cixin", "Avgs": "1"},
# {"id": 2, "title": "近7日开板", "FuctLink": "Cixin", "Avgs": "7"},
# {"id": 3, "title": "近30日开板", "FuctLink": "Cixin", "Avgs": "30"}
# ]
# },
]
return Menu
if __name__ == '__main__':
pass