This commit is contained in:
zhuzihcu
2023-04-19 09:41:08 +08:00
parent cb94db8a97
commit 88fed82260
17 changed files with 641 additions and 530 deletions

View File

@ -6,7 +6,7 @@
AppInfo::AppInfo(QObject *parent)
: QObject{parent}
{
version("1.2.4");
version("1.2.5");
lang(new En());
}

View File

@ -21,6 +21,7 @@ FluScrollablePage{
FluPivot{
anchors.fill: parent
currentIndex: 2
FluPivotItem{
title:"All"
contentItem:FluText{

View File

@ -26,12 +26,24 @@ FluWindow {
SystemTrayIcon {
visible: true
icon.source: "qrc:/res/image/favicon.ico"
onActivated: {
window.show()
window.raise()
window.requestActivate()
tooltip: "FluentUI"
menu: Menu {
MenuItem {
text: "退出"
onTriggered: {
window.destoryWindow()
FluApp.closeApp()
}
}
}
onActivated:
(reason)=>{
if(reason === SystemTrayIcon.Trigger){
window.show()
window.raise()
window.requestActivate()
}
}
}