QT实现系统托盘
QT中添加系统托盘使用 QSystemTrayIcon 类
QT中添加系统托盘使用 QSystemTrayIcon 类
屏幕截图是非常常用的功能,但是一直没有自己写过,现在使用QT实现非常简单的全屏截图。
屏幕截图主要使用了QGuiApplication类、QScreen类。
QGuiApplication类管理GUI应用程序的控制流和主设置。
设置按钮的布局方向从右到左,这时图标的位置就在文本的后面了。代码如下:
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.