QImage这个类之前用过,无外乎是加载一个图片文件显示出来,并没有做过多的研究,目前工作中用到了灰度图以及图片的像素操作,重新学习了下,记录记录。 一些基本操作方法 获取图像的首地址: const uchar *QImage::bits() const 获取图像的总字节数 int QImage:: Read More
posted @ 2018-01-05 00:28 findumars Views(4031) Comments(0) Diggs(0)
这个仓库主要用来对计算机学科的基础理论知识和主流编程语言相关内容进行总结,每个目录对应一个大的方向。 主要内容 主要包含的计算机基础有以下几个大方向: DataBase DataStructure Linux_OS Network Algorithm Math 编程语言目前有: Python C++ Read More
posted @ 2018-01-04 23:38 findumars Views(1190) Comments(1) Diggs(0)
qLibc Copyright qLibc is published under 2-clause BSD license known as Simplified BSD License. Please refer the LICENSE document included in the packa Read More
posted @ 2018-01-04 23:27 findumars Views(1213) Comments(0) Diggs(0)
现在很多应用在密码输入时,会先显示一段时间,大概几百毫秒,然后再变成星号或者圆点隐藏起来。这样做的好处是,可以让密码输入者看到自己输入的字符,同时又防止密码被偷窥。但是Qt自带的密码输入框,要么输入时立即变成圆点,要么全部输入完后再一起变成圆点。 要实现先显示后隐藏的效果其实很简单,只需重载QLin Read More
posted @ 2018-01-04 23:08 findumars Views(1973) Comments(1) Diggs(0)
ddd Read More
posted @ 2018-01-04 23:04 findumars Views(2871) Comments(0) Diggs(1)