上一页 1 2 3 4 5 6 7 8 ··· 29 下一页
摘要: 视频:ffmpeg -i input.avi -vf scale=320:240 output.avi 图片: ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png 阅读全文
posted @ 2019-12-26 17:24 cicero 阅读(4779) 评论(0) 推荐(0) 编辑
摘要: #include <QApplication> //添加头文件 #include <qdebug.h> #include <QSqlDatabase> #include <QSqlError> #include <QSqlQuery> int main(int argc, char *argv[]) { QApplication a(argc, argv); //建立并打开数据库 QSqlData 阅读全文
posted @ 2019-12-24 10:06 cicero 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h> bool isIP(const char* str); int main(){ char str[] = "111.111.111.21"; char str2[] = "a.111.111.111"; char str3[ 阅读全文
posted @ 2019-12-17 11:18 cicero 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/TenosDoIt/p/3456704.html 阅读全文
posted @ 2019-12-03 09:04 cicero 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 原文: https://my.oschina.net/u/3919756/blog/1944747 如果我们用painter一个一个的绘制直线,圆等在控件上,绘制效率会不高。为了提高效率,我们可以设置一个画布pixmap,将所有的基础图形画布上,然后把画布画在控件上。 阅读全文
posted @ 2019-11-28 15:59 cicero 阅读(1415) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/jonathan321/article/details/78106101 阅读全文
posted @ 2019-11-28 13:18 cicero 阅读(153) 评论(0) 推荐(0) 编辑
摘要: setStyleSheet 为以下字符串,选中,未选中,有焦点,无焦点时显示不一样的图片 阅读全文
posted @ 2019-11-21 13:39 cicero 阅读(2253) 评论(0) 推荐(0) 编辑
摘要: 如果成员变量在初始化列表中, 就会执行该变量类型的拷贝构造函数. 如果成员变量没有在初始化列表中, 就会执行该变量类型的缺省构造函数. 阅读全文
posted @ 2019-10-31 15:54 cicero 阅读(476) 评论(0) 推荐(0) 编辑
摘要: https://doc.qt.io/archives/qt-4.8/stylesheet-examples.html //下面是设置垂直滚动条的样例 QString strStyle = QString(" \ //设置整体的颜色 QSlider\ {\ background-color: %2;\ 阅读全文
posted @ 2019-10-24 10:10 cicero 阅读(1837) 评论(0) 推荐(0) 编辑
摘要: 1.先有本地库,后有远程库的时候,如何关联远程库: 要关联一个远程库,使用命令git remote add origin git@server-name:path/repo-name.git; 关联后, git pull origin master 拉取远程仓库并合并到本地仓库 使用命令git pu 阅读全文
posted @ 2019-10-17 11:29 cicero 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 29 下一页