-
使用Qt+LibQrencode实现二维码生成
应用背景
使用Qt+LibQrencode实现二维码生成,支持跨平台编译
编译环境:Qt Creator + Qt4.8.4
二维码(QR Code)是用某种特定的几何图形按一定规律在平面(二维方向)分布的黑白相间的图形记录数据符号信息的。是所有信息数据的一把钥匙。应用十分广泛,如:产品防伪/溯源、广告推送、网站链接、数据下载、商品交易、定位/导航、电子凭证、车辆管理、信息传递、名片交流、wifi共享等。
二维条码常用的码制:
Data Matrix、MaxiCode、Aztec、QR Code、Vericode、PDF417、Ultracode、Code 49、Code 16K等。
二维码与一维码的对比:
一维码:只能在一个方向(一般是水平方向)上表达信息,只能由数字和字母组成。
二维码:在水平和垂直方向都可以存储信息,能存储汉字、数字和图片等信息。
可以看出,二维码是一种比一维码更高级的条码格式,应用领域也要广得多
关键技术Libqrencode(QRencode)是一个用C语言编写的用来解析二维条形码(QR Code)的程序库,Libqrencode通过手机的CCD摄像头来扫描二维条形码。二维码容量可达7000个数字或4000个字符,是非常强大的。
- 2023-06-10 10:35:04下载
- 积分:1
-
WINFORM保存参数至本机注册表
实现在窗体关闭时将窗体中的参数保存变量至注册表,首先创建一个新的子路径,在子路径中创建变量,
如注册表中无此变量将自动创建,若下次有此变量时将更新变量。窗体再次载入时从注册表子路径读取
此变量信息,通过赋值给控件。
方法如下:
private void Form1_Load(object sender, EventArgs e) //窗体载入时
{
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.DoubleBuffer, true);
this.Refresh();
this.ShowInTaskbar = false;
this.PAN_1.Visible = false;
int Z_alpha,Z_red,Z_green,Z_blue; //声明4个Int类型颜色变量
//this.TransparencyKey = Color.Transparent;
RegistryKey myReg1, myReg2, myReg3;//声明注册表对象
myReg1 = Registry.CurrentUser;//获取当前用户注册表项
try
- 2022-03-19 08:35:30下载
- 积分:1
-
剪贴板示例
//t仪表板
- 2022-09-30 22:45:03下载
- 积分:1
-
真实模拟windows操作系统自带的记事本程序。能过实现文本编辑的全部功能。这是一个很不错的例子程序,主要围绕对CRichEditCtrl的应用进行编程。欢迎大...
真实模拟windows操作系统自带的记事本程序。能过实现文本编辑的全部功能。这是一个很不错的例子程序,主要围绕对CRichEditCtrl的应用进行编程。欢迎大家积极下载。-Windows operating system comes with a true simulation of the Notepad program. Can lead to achieve the full functionality of a text editor. This is a very good example of the procedure, the main focus on the application of CRichEditCtrl programming. Welcome to the active download.
- 2022-07-13 05:26:37下载
- 积分:1
-
一种应用VC爱好者对树形控件的理解的应用
一种应用VC爱好者对树形控件的理解的应用-An application for tree lovers VC understanding of application controls
- 2022-06-11 14:41:45下载
- 积分:1
-
52ria_dragTile,flex动态相册源码
52ria_dragTile,flex动态相册源码-52ria_dragTile, flex dynamic album source
- 2022-08-11 14:52:03下载
- 积分:1
-
vb 学生信息管理系统
资源描述用vb开发的学生信息管理系统,包含数据库、说明文档等,获得总评第一。
- 2022-01-21 02:21:03下载
- 积分:1
-
调整任何程序的透明度
可以调整任何程序的透明度,以达到所期望的效果,虽然没什么大用,可以学习一些东西。
- 2022-06-15 02:47:52下载
- 积分:1
-
written statements procedures for beginners will help
delphi写的报表程序,对初学者有一定的帮助-written statements procedures for beginners will help
- 2022-02-01 03:06:51下载
- 积分:1
-
ppWizard has created this TransparentWindow application for you. This applicatio
ppWizard has created this TransparentWindow application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your TransparentWindow application.
- 2022-03-30 12:06:39下载
- 积分:1