上一页 1 2 3 4 5 6 7 ··· 23 下一页
摘要: #include "mainwindow.h"#include "ui_mainwindow.h"#include <QDebug>#include <QTextCodec>QString getChineseSpell(QString& src);QString FirstLetter(int n 阅读全文
posted @ 2019-09-25 15:45 wjbooks 阅读(1938) 评论(0) 推荐(0) 编辑
摘要: connect(tableView, SIGNAL(customContextMenuRequested(const QPoint &)), this,SLOT(slot_tableViewMenu(const QPoint &))); connect(listView, SIGNAL(custom 阅读全文
posted @ 2019-09-11 14:49 wjbooks 阅读(2295) 评论(0) 推荐(0) 编辑
摘要: Qt之如何自定义model https://blog.csdn.net/wei375653972/article/details/86592209 阅读全文
posted @ 2019-08-23 15:09 wjbooks 阅读(452) 评论(0) 推荐(0) 编辑
摘要: QStandardItem *item = new QStandardItem(show_content); infoTableModel->setItem(1, 1, item); item->setData(content, Qt::ToolTipRole); 阅读全文
posted @ 2019-08-20 15:25 wjbooks 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: /var/lib/dpkg/info |grep printburn(软件名称) /var/lib/dpkg/info 文件都在这个目录下面poinst, preinst,prerm等 阅读全文
posted @ 2019-07-25 15:40 wjbooks 阅读(452) 评论(0) 推荐(0) 编辑
摘要: $ rpm --scripts -qp kernel-2.6.32-431.el6.x86_64.rpm 阅读全文
posted @ 2019-07-25 15:37 wjbooks 阅读(2653) 评论(0) 推荐(0) 编辑
摘要: 第一种方法: QFontMetrics elidfont(ui->lineEdit->font()); ui->lineEdit->setText (elidfont.elidedText ("textwangjianwangjianwangjianwangjian", Qt::ElideRight 阅读全文
posted @ 2019-06-12 17:54 wjbooks 阅读(997) 评论(0) 推荐(0) 编辑
摘要: CMake中find_package功能演示find_package可以被用来在系统中自动查找配置构建工程所需的程序库。在linux和unix类系统下这个命令尤其有用。CMake自带的模块文件里有大半是对各种常见开源库的find_package支持,支持库的种类非常多。 find_package(Q 阅读全文
posted @ 2019-05-08 16:58 wjbooks 阅读(2550) 评论(0) 推荐(0) 编辑
摘要: 读数据: 阅读全文
posted @ 2019-04-30 17:35 wjbooks 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/qq_32768743/article/details/80056316 写在前面的话:强烈建议优先阅读Qt官网文档对cmake的使用介绍——CMake Manual 前言我去年用clion写Qt的时候,找了很多教程,也没有什么让我觉得很满意的。后来 阅读全文
posted @ 2019-04-17 15:46 wjbooks 阅读(1435) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 23 下一页