QtGUI Module's Classes

Qt GUI C++ Classes

The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...

Reference

Event Classes

These Qt Core classes are used to create and handle events.

For more information see the Event System page.


QAbstractEventDispatcher


Interface to manage Qt's event queue


QActionEvent


Event that is generated when a QAction is added, removed, or changed


QBasicTimer


Timer events for objects


QChildEvent


Contains event parameters for child object events


QCloseEvent


Contains parameters that describe a close event


QContextMenuEvent


Contains parameters that describe a context menu event


QDragEnterEvent


Event which is sent to a widget when a drag and drop action enters it


QDragLeaveEvent


Event that is sent to a widget when a drag and drop action leaves it


QDragMoveEvent


Event which is sent while a drag and drop action is in progress


QDropEvent


Event which is sent when a drag and drop action is completed


QDynamicPropertyChangeEvent


Contains event parameters for dynamic property change events


QEnterEvent


Contains parameters that describe an enter event


QEvent


The base class of all event classes. Event objects contain event parameters


QExposeEvent


Contains event parameters for expose events


QFileOpenEvent


Event that will be sent when there is a request to open a file or a URL


QFocusEvent


Contains event parameters for widget focus events


QGestureEvent


The description of triggered gestures


QHelpEvent


Event that is used to request helpful information about a particular point in a widget


QHideEvent


Event which is sent after a widget is hidden


QHoverEvent


Contains parameters that describe a mouse event


QIconDragEvent


Indicates that a main icon drag has begun


QInputEvent


The base class for events that describe user input


QInputMethodEvent


Parameters for input method events


QKeyEvent


Describes a key event


QMouseEvent


Contains parameters that describe a mouse event


QMoveEvent


Contains event parameters for move events


QNativeGestureEvent


Contains parameters that describe a gesture event


QPaintEvent


Contains event parameters for paint events


QResizeEvent


Contains event parameters for resize events


QScrollEvent


Sent when scrolling


QScrollPrepareEvent


Sent in preparation of scrolling


QShortcut


Used to create keyboard shortcuts


QShortcutEvent


Event which is generated when the user presses a key combination


QShowEvent


Event that is sent when a widget is shown


QStatusTipEvent


Event that is used to show messages in a status bar


QTabletEvent


Contains parameters that describe a Tablet event


QTimer


Repetitive and single-shot timers


QTimerEvent


Contains parameters that describe a timer event


QTouchEvent


Contains parameters that describe a touch event


QWhatsThisClickedEvent


Event that can be used to handle hyperlinks in a "What's This?" text


QWheelEvent


Contains parameters that describe a wheel event


QWindowStateChangeEvent


The window state before a window state change

 

 

Painting Classes

See also this introduction to the Qt coordinate system.


QBitmap


Monochrome (1-bit depth) pixmaps


QBrush


Defines the fill pattern of shapes drawn by QPainter


QColor


Colors based on RGB, HSV or CMYK values


QColormap


Maps device independent QColors to device dependent pixel values


QConicalGradient


Used in combination with QBrush to specify a conical gradient brush


QFont


Specifies a font used for drawing text


QFontMetrics


Font metrics information


QFontMetricsF


Font metrics information


QGenericMatrix


Template class that represents a NxM transformation matrix with N columns and M rows


QGradient


Used in combination with QBrush to specify gradient fills


QIcon


Scalable icons in different modes and states


QIconEngine


Abstract base class for QIcon renderers


QImage


Hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device


QImageReader


Format independent interface for reading images from files or other devices


QImageWriter


Format independent interface for writing images to files or other devices


QLine


Two-dimensional vector using integer precision


QLineF


Two-dimensional vector using floating point precision


QLinearGradient


Used in combination with QBrush to specify a linear gradient brush


QMargins


Defines the four margins of a rectangle


QMarginsF


Defines the four margins of a rectangle


QPagedPaintDevice


Represents a paintdevice that supports multiple pages


QPaintDevice


The base class of objects that can be painted on with QPainter


QPaintEngine


Abstract definition of how QPainter draws to a given device on a given platform


QPainter


Performs low-level painting on widgets and other paint devices


QPainterPath


Container for painting operations, enabling graphical shapes to be constructed and reused


QPainterPathStroker


Used to generate fillable outlines for a given painter path


QPdfWriter


Class to generate PDFs that can be used as a paint device


QPen


Defines how a QPainter should draw lines and outlines of shapes


QPixmap


Off-screen image representation that can be used as a paint device


QPoint


Defines a point in the plane using integer precision


QPointF


Defines a point in the plane using floating point precision


QPolygon


Vector of points using integer precision


QPolygonF


Vector of points using floating point precision


QRadialGradient


Used in combination with QBrush to specify a radial gradient brush


QRect


Defines a rectangle in the plane using integer precision


QRectF


Defines a rectangle in the plane using floating point precision


QRegion


Specifies a clip region for a painter


QSize


Defines the size of a two-dimensional object using integer point precision


QSizeF


Defines the size of a two-dimensional object using floating point precision


QStylePainter


Convenience class for drawing QStyle elements inside a widget


QSupportedWritingSystems


Used when registering fonts with the internal Qt fontdatabase


QSvgGenerator


Paint device that is used to create SVG drawings


QSvgRenderer


Used to draw the contents of SVG files onto paint devices


QSvgWidget


Widget that is used to display the contents of Scalable Vector Graphics (SVG) files


QTransform


Specifies 2D transformations of a coordinate system


QVector2D


Represents a vector or vertex in 2D space

 

Rendering in 3D


QGenericMatrix


Template class that represents a NxM transformation matrix with N columns and M rows


QMatrix4x4


Represents a 4x4 transformation matrix in 3D space


QOpenGLBuffer


Functions for creating and managing OpenGL buffer objects


QOpenGLDebugLogger


Enables logging of OpenGL debugging messages


QOpenGLDebugMessage


Wraps an OpenGL debug message


QOpenGLFramebufferObject


Encapsulates an OpenGL framebuffer object


QOpenGLFramebufferObjectFormat


Specifies the format of an OpenGL framebuffer object


QOpenGLFunctions


Cross-platform access to the OpenGL ES 2.0 API


QOpenGLPaintDevice


Enables painting to an OpenGL context using QPainter


QOpenGLShader


Allows OpenGL shaders to be compiled


QOpenGLShaderProgram


Allows OpenGL shader programs to be linked and used


QOpenGLTimeMonitor


Wraps a sequence of OpenGL timer query objects


QOpenGLTimerQuery


Wraps an OpenGL timer query object


QOpenGLVertexArrayObject


Wraps an OpenGL Vertex Array Object


QOpenGLVertexArrayObject::Binder


QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects


QQuaternion


Represents a quaternion consisting of a vector and scalar


QVector2D


Represents a vector or vertex in 2D space


QVector3D


Represents a vector or vertex in 3D space


QVector4D


Represents a vector or vertex in 4D space

 

时间: 2024-09-23 12:02:46

QtGUI Module's Classes的相关文章

QtWidgets Module's Classes

Qt Widgets C++ Classes The Qt Widgets module extends Qt GUI with C++ widget functionality. More...   API Reference These are links to the API reference materials. Qt Widgets C++ Classes Basic Widget Classes Advanced Widget Classes Abstract Widget Cla

QtCore Module's Classes

Qt Core C++ Classes Provides core non-GUI functionality. More... Reference These are links to the API reference materials. C++ Classes Animation Classes Threading Classes Container Classes Plugin Classes Implicitly Shared Classes State Machine Classe

mongoDB报错Cannot find module '../build/Release/bson'

打算用nodejs写一个blog系统,发现nodejs还是存在很多的坑.在使用mongodb时遇到如下报错问题: { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version 折腾了一番,最后是这样解决的: 找到 npm 的module mongodb ..node_

【Python】TypeError: 'module' object is not callable 原因分析

**原因分析: Python导入模块的方法有两种:import module 和 from module import,区别是前者所有导入的东西使用时需加上模块名的限定,而后者不要.** from bs4 import BeautifulSoup markup = "<b><!--Hey, buddy. Want to buy a used parser?--></b>" soup = BeautifulSoup(markup) comment =

提示AttributeError: &amp;#39;module&amp;#39; object has no attribute &amp;#39;HTTPSHandler&amp;#39;解决方法

今天在新机器上安装sqlmap,运行提示AttributeError: 'module' object has no attribute 'HTTPSHandler' 网上找了找资料,发现一篇文章http://paltman.com/2007/11/15/getting-ssl-support-in-python-251/ 输入如下命令: 1 2 3 4 5 6 wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz tar zxf op

Gulp Error: Cannot find module &amp;#39;jshint/src/cli&amp;#39;

I'm following sitepoint's An introduction to Gulp.js, but I'm stuck on step four, when I try to run gulp jshint I get "Error: Cannot find module 'jshint/src/cli'" I've no idea what's causing this, which is why I'm asking here. Below are a couple

Cannot find module &amp;#39;socket.io&amp;#39;

That's all. Then I try to use socket.io with this line: var io = require('socket.io').listen(app); And it output an error: Error: Cannot find module 'socket.io' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.j

AttributeError: &amp;#39;module&amp;#39; object has no attribute &amp;#39;TornadoAsyncNotifier&amp;#39;

/*************************************************************************** * AttributeError: 'module' object has no attribute 'TornadoAsyncNotifier' * 说明: * Tony在用mkdocs的时候遇到这个错误,找一些资料,解决一下. * * 2016-10-28 深圳 南山平山村 曾剑锋 *****************************

[Python]attributeError:&amp;#39;module&amp;#39; object has no attribute &amp;#39;dump&amp;#39;

[问题] [代码] 文件名:pickle.py # coding=utf-8 #持久存储 import pickle #b 以二进制的模式打开文件 with open('mydata.pickle','wb') as mysavedata: #用dump保存数据 pickle.dump([1,2,'three'],mysavedata) #b 以二进制的模式打开文件 with open('mydata.pickle','rb') as myreaddata: #使用load恢复数据 list =