![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt学习
yuanS7
编程菜鸟,求大神带飞
展开
-
qt中截取桌面
//获取桌面信息 QDesktopWidget*desk = QApplication::desktop(); //获取桌面的大小 QRect rect = desk->screenGeometry(); m_height = rect.height(); m_width = rect.width(); //qDebug()screenCount()原创 2017-05-02 17:23:05 · 1224 阅读 · 0 评论 -
QT中的定时器
一.QString中将整形转换成字符串首先先介绍下Qt中如何将整形转换成字符串QString arg(int a, int fieldWidth = 0, int base = 10, QChar fillChar = QLatin1Char( ' ' )) const int a:表示要转换的整形int fieldWidth:转换后的长度int base:进制QChar fillChar:不足...原创 2018-07-12 16:00:06 · 534 阅读 · 0 评论