-
使用Qt处理图片资源
Use Qt in image development.
QPixmap largepixmap;
QPixmap smallpixmap;
QPixmap maskpixmap;
QPixmap zoompixmap;
QPoint offset(0,0);
QPoint dragpos(150,150);
QPoint set(90,50);
//加载图片:
largepixmap.load("ImagesMainGui.png");
smallpixmap = largepixmap.scaled(largepixmap.size()/1.2);
maskpixmap.load("ImagesMainGui.png");
//绘制底层图片(非放大镜区域图案):
QPainter painter(this);
painter.drawPixmap(offset,smallpixmap);
painter.end();
//计算放大区域圆形的半径及所占矩形面积
int dim = qMin(width(), height());
int magnifierSize = dim * 5 / 6;
int radius = magnifierSize / 2;
int ring = radius - 15;
QSize box = QSize(magnifierSize, magnifierSize);
- 2022-02-09 22:59:08下载
- 积分:1
-
在安装程序中,向导是必不可少的。你有没有对现在那些通用的界面感到平淡?看看这个Wizard 97 Property Sheets 的例子吧,你会满意的。...
在安装程序中,向导是必不可少的。你有没有对现在那些通用的界面感到平淡?看看这个Wizard 97 Property Sheets 的例子吧,你会满意的。
-During the installation process, the guide is indispensable. Now you have no common interface which is flat? Look at the Wizard 97 Property Sheets an example, you will satisfied.
- 2022-12-06 08:05:03下载
- 积分:1
-
用链表实现在列表框中选取级联省份、县市的VC++代码
用链表实现在列表框中选取级联省份、县市的VC++代码-Implementation using linked list in the list box to select the Cascade provinces, cities and counties of the VC++ code
- 2022-08-14 06:13:02下载
- 积分:1
-
一个使用MFC实现的绘图板程序
一个使用MFC实现的绘图板程序-use an MFC graphics board procedures
- 2023-01-17 21:20:04下载
- 积分:1
-
本程为网上花市,具有在线选购,选购说明等各种不同的功能,友好的界面给你全新的感觉.并具有动画的界面....
本程为网上花市,具有在线选购,选购说明等各种不同的功能,友好的界面给你全新的感觉.并具有动画的界面.-the way for the online flower market, with an online purchase, purchase descriptions of the various functions, friendly interface to your new feeling. And with animation interface.
- 2022-03-07 19:40:52下载
- 积分:1
-
机密软件 可以对doc 文档或txt文档进行加密
机密软件 可以对doc 文档或txt文档进行加密-机密软件 可以对doc 文档或txt文档进行加密
- 2022-03-14 20:32:44下载
- 积分:1
-
这是一个JPEG图像编码及解码的程序。它不使用级别…
This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
-This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compar
- 2022-01-22 14:49:02下载
- 积分:1
-
关于有星号的algoritmh的8数码问题的解决方案
8数码问题是,他们在你扔在你研究人工智能的事情。这是学习,了解搜索树和最短路径算法,启发式一个伟大的小问题。通过广度优先搜索旅行,通过深度优先搜索,我们最终都与A *算法使用曼哈顿距离启发式的EFFE...
- 2022-12-07 02:55:03下载
- 积分:1
-
VB控件实例31
VB控件实例31-40,都是简单的VB控件应用,没必要说明了,自己看-examples 31-40 VB Controls are simple VB Control application note is not necessary, themselves.
- 2022-08-21 09:31:55下载
- 积分:1
-
ex_2.dsp
This file (the project file) contains information at the project lev
ex_2.dsp
This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
ex_2.cpp
This is the main application source file.
- 2022-07-13 02:59:30下载
- 积分:1