三味的小站

QCustomPlot简单使用

下载 官网下载并解压:https://www.qcustomplot.com/ 使用 创建一个QMainWindow应用,注意添加Print Support模块(.pro中Qt += printsupport); 将qcustomplot.h和qcustomplot.cpp复制到项目目录,并添加到项

三味线 Published on 2018-12-10

让Photoshop CC支持.ico格式

使用插件 ICOFormat64.8bi 让 PS 支持 ICO 文件 ICOFormat64.zip 解压将 ICOFormat64.8bi 放在此目录下: C:\Program Files\Adobe\Adobe Photoshop CC 2018\Plug-ins

三味线 Published on 2018-11-22

腾讯企业邮箱服务器与端口配置

POP3/SMTP 接收邮件服务器:pop.exmail.qq.com ,使用SSL,端口号995 发送邮件服务器:smtp.exmail.qq.com ,使用SSL,端口号465 海外用户可使用以下服务器 接收邮件服务器:hwpop.exmail.qq.com ,使用SSL,端口号995 发送邮件

三味线 Published on 2018-10-22

Qt判断网络连接

1. 判断网络连接,但不一定能上网 QNetworkConfigurationManager bool NetCheck::checkNetworkConnect() { QNetworkConfigurationManager netMgr; if (netMgr.isOnline

三味线 Published on 2018-10-19

读取TIF文件经纬度

源代码: //tifinfo.h void getGeoTransform(const QString path, double *value); private: Ui::TifInfoClass ui; QString m_previousDir;//记录上次打开的文件夹

三味线 Published on 2018-08-16

制作Qt程序安装包

1. 安装QIF Qt-Installer-Framework :https://download.qt.io/official_releases/qt-installer-framework/ 将QIF的bin目录添加到环境变量 2. 程序准备 准备好你的程序:将程序以Release发布,新建一个

三味线 Published on 2018-07-10

将每日必应图片设为壁纸

1.原始接口 由必应接口获取一个必应美图说明的XML,http://cn.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1 - n,必要参数。这是输出信息的数量。比如n=1,即为1条,以此类推,至多输出8条。 - format,非必要。返回结果的格式

三味线 Published on 2018-07-10

QDoubleValidator失效问题

在给QLineEdit设置QDoubleValidator时,在设置Range后,发现并没有限制输入范围大小,只有小数位数起效。其实,还需要设置Notation,如下: speedValidator.setRange(0, 2000, 2); speedValidator.setNotation(Q

三味线 Published on 2018-05-11

Windows去掉图标快捷方式小箭头

新建txt文件保存以下内容: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons] "29"="%systemr

三味线 Published on 2018-04-19

Qt中线程间使用信号槽,槽函数不响应的问题

class myThread:public QThread { signals: void updateSig(MyData); } void myThread::run() { emit updateSig(MyData); } class MainWid:public Mai

三味线 Published on 2018-04-18
Previous Next