- 博客(1)
- 资源 (7)
- 收藏
- 关注
翻译 9-2 支持自定义数据类型的托拽(Supporting Custom Drag Types)
在上一节的例子中,我们使用类QMimeData表示普通的MIME类型。调用QMimeData::setText()进行对文本的托拽,调用QMimeData::urls()得到托拽到url文本列表。如果我们想托拽普通的文本,HTML文本,图片,URLs,颜色等,都可以使用QMimeData类。但是 如果我们需要对自定义的类型进行托拽,就需要使用下面的方法:1. 用QByteArray
2008-02-26 08:46:00 6079 4
google test 1.8 release
google test 1.8 release
gtest是一个跨平台的(Liunx、Mac OS X、Windows、Cygwin、Windows CE and Symbian)C++单元测试框架,由google公司发布。gtest是为在不同平台上为编写C++测试而生成的。它提供了丰富的断言、致命和非致命判断、参数化、”死亡测试”等等。
2019-03-07
用C++实现SHA-2算法家族
用C++实现的SHA-2算法家族,SHA224,SHA256,SHA384,SHA512,SHA512_224,有测试程序,在VS2013下测试有效。
2017-08-08
C++ GUI Programming with Qt 4, Second Edition
The Only Official, Best-Practice Guide to Qt 4.3 Programming.
Using Trolltech's Qt you can build industrial-strength C++ applications that run natively on Windows, Linux/Unix, Mac OS X, and embedded Linux without source code changes. Now, two Trolltech insiders have written a start-to-finish guide to getting outstanding results with the latest version of Qt: Qt 4.3.
Packed with realistic examples and in-depth advice, this is the book Trolltech uses to teach Qt to its own new hires. Extensively revised and expanded, it reveals today's best Qt programming patterns for everything from implementing model/view architecture to using Qt 4.3's improved graphics support. You'll find proven solutions for virtually every GUI development task, as well as sophisticated techniques for providing database access, integrating XML, using subclassing, composition, and more. Whether you're new to Qt or upgrading from an older version, this book can help you accomplish everything that Qt 4.3 makes possible.
2017-05-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人