- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 树莓派升级内核
sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-updatesudo chmod +x /usr/bin/rpi-update sudo rpi-update
2018-11-19 20:30:12 537
原创 远程控制树莓派方法之傻瓜操作
自己搭建远程太麻烦,而且内网穿透也不方便,推荐使用teamviewer远程控制,无需自己搭建内网穿透和VNC,很适合个人使用,切免费方便
2018-08-22 14:59:46 2798
QT,自启动,永远置顶,Flash动画,托盘隐藏
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);
2018-09-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人