QT,自启动,永远置顶,Flash动画,托盘隐藏

时间:2021-10-20 08:35:24
【文件属性】:
文件名称:QT,自启动,永远置顶,Flash动画,托盘隐藏
文件大小:57KB
文件格式:ZIP
更新时间:2021-10-20 08:35:24
自启动 永远置顶 Fla QT 自启动 永远置顶 Flash动画 myTrayIcon = new QSystemTrayIcon(this); myTrayIcon->setIcon(QIcon(":/laugh.bmp")); myTrayIcon->setToolTip(tr("小老鼠")); myTrayIcon->showMessage("托盘","托盘管理",QSystemTrayIcon::Information,10000); myTrayIcon->setContextMenu(myMenu); myTrayIcon->show(); connect(quitAction,SIGNAL(triggered(bool)),this,SLOT(slquit(bool))); connect(hideAction,SIGNAL(triggered(bool)),this,SLOT(slhide(bool))); connect(autoRunAction,SIGNAL(triggered(bool)),this,SLOT(slAuto(bool))); connect(myTrayIcon,SIGNAL(messageClicked()),this,SLOT(slMessageClicked())); this->setGeometry(100,100,this->width(),this->height()); QDesktopWidget *desktop = QApplication::desktop(); QRect screen = desktop->screenGeometry(); int screenWidth = screen.width(); int screenHeight = screen.height(); this->move(screenWidth - this->width(),screenHeight - this->height() - 50);
【文件预览】:
js.js
activeFlash.pro.user
laugh.qrc
res.qrc
honehone_clock_wh.swf
activeFlash.pro
widget.h
ActiveFlashObject.cpp
laugh.bmp
widget.ui
ActiveFlashObject.h
main.cpp
swf.qrc
Autorun.h
winautorun.cpp
widget.cpp

网友评论