QtGui露
The QtGui module contains classes for windowing system integration, event handling, 2D graphics, basic imaging, fonts and text. It also containes a complete set of OpenGL and OpenGL ES bindings (see Support for OpenGL). Application developers would normally use this with higher level APIs such as those contained in the QtWidgets module.
Classes露
Functions露
- qAlpha(QRgba64) → int
TODO
- qAlpha(int) → int
TODO
- qBlue(QRgba64) → int
TODO
- qBlue(int) → int
TODO
- qFuzzyCompare(QMatrix4x4, QMatrix4x4) → bool
TODO
- qFuzzyCompare(QQuaternion, QQuaternion) → bool
TODO
- qFuzzyCompare(QTransform, QTransform) → bool
TODO
- qGray(int) → int
TODO
- qGray(int, int, int) → int
Returns a gray value (0 to 255) from the (r, g, b) triplet.
The gray value is calculated using the formula (r * 11 + g * 16 + b * 5)/32.
- qGreen(QRgba64) → int
TODO
- qGreen(int) → int
TODO
- qIsGray(int) → bool
TODO
- qPixelFormatAlpha(int, typeInterpretation: TypeInterpretation = UnsignedInteger) → QPixelFormat
TODO
- qPixelFormatCmyk(int, alphaSize: int = 0, alphaUsage: AlphaUsage = IgnoresAlpha, alphaPosition: AlphaPosition = AtBeginning, typeInterpretation: TypeInterpretation = UnsignedInteger) → QPixelFormat
TODO
- qPixelFormatGrayscale(int, typeInterpretation: TypeInterpretation = UnsignedInteger) → QPixelFormat
TODO
- qPixelFormatHsl(int, alphaSize: int = 0, alphaUsage: AlphaUsage = IgnoresAlpha, alphaPosition: AlphaPosition = AtBeginning, typeInterpretation: TypeInterpretation = FloatingPoint) → QPixelFormat
TODO
- qPixelFormatHsv(int, alphaSize: int = 0, alphaUsage: AlphaUsage = IgnoresAlpha, alphaPosition: AlphaPosition = AtBeginning, typeInterpretation: TypeInterpretation = FloatingPoint) → QPixelFormat
TODO
- qPixelFormatRgba(int, int, int, int, AlphaUsage, AlphaPosition, premultiplied: AlphaPremultiplied = NotPremultiplied, typeInterpretation: TypeInterpretation = UnsignedInteger) → QPixelFormat
TODO
- qPixelFormatYuv(YUVLayout, alphaSize: int = 0, alphaUsage: AlphaUsage = IgnoresAlpha, alphaPosition: AlphaPosition = AtBeginning, premultiplied: AlphaPremultiplied = NotPremultiplied, typeInterpretation: TypeInterpretation = UnsignedByte, byteOrder: ByteOrder = LittleEndian) → QPixelFormat
TODO
- qPremultiply(int) → int
TODO
- qRed(QRgba64) → int
TODO
- qRed(int) → int
TODO
- qRgb(int, int, int) → int
Returns the ARGB quadruplet (255, r, g, b).
- qRgba(int, int, int, int) → int
Returns the ARGB quadruplet (a, r, g, b).
- qRgba64(int) → QRgba64
TODO
- qRgba64(int, int, int, int) → QRgba64
TODO
- qt_set_sequence_auto_mnemonic(bool)
Specifies whether mnemonics for menu items, labels, etc., should be honored or not. On Windows and X11, this feature is on by default; on macOS, it is off. When this feature is off (that is, when b is false), mnemonic() always returns an empty string.
Note: This function is not declared in any of Qt鈥檚 header files. To use it in your application, declare the function prototype before calling it.
See also
- qUnpremultiply(int) → int
TODO