返回介绍

Implicitly and Explicitly Shared Classes

发布于 2019-10-04 15:04:21 字数 1993 浏览 677 评论 0 收藏 0

These classes are normally-heavy classes which in Qt have been optimized by the use of reference counter and common data so they can be passed around.

The only important effect is that the classes listed here can be passed around as arguments efficiently, even though they may seem heavyweight.

QBitArrayArray of bits
QBitmapMonochrome (1-bit depth) pixmaps
QBrushDefines the fill pattern of shapes drawn by a QPainter
QCStringAbstraction of the classic C zero-terminated char array (char *)
QCursorMouse cursor with an arbitrary shape
QFontFont used for drawing text
QFontInfoGeneral information about fonts
QFontMetricsFont metrics information
QIconSetSet of icons with different styles and sizes
QImageHardware-independent pixmap representation with direct access to the pixel data
QMapValue-based template class that provides a dictionary
QPairValue-based template class that provides a pair of elements
QPaletteColor groups for each widget state
QPenDefines how a QPainter should draw lines and outlines of shapes
QPicturePaint device that records and replays QPainter commands
QPixmapOff-screen, pixel-based paint device
QPointArrayArray of points
QRegExpPattern matching using regular expressions
QStringAbstraction of Unicode text and the classic C null-terminated char array
QStringListList of strings
QValueListValue-based template class that provides doubly linked lists
QValueStackValue-based template class that provides a stack
QValueVectorValue-based template class that provides a dynamic array

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文