Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QStyleHintReturnMask Class Reference

The QStyleHintReturnMask class provides style hints that return a QRegion. More...

#include <qstyleoption.h>

+ Inheritance diagram for QStyleHintReturnMask:
+ Collaboration diagram for QStyleHintReturnMask:

Public Types

enum  StyleOptionType { Type = SH_Mask }
 This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass. More...
 
enum  StyleOptionVersion { Version = 1 }
 This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass. More...
 
- Public Types inherited from QStyleHintReturn
enum  HintReturnType { SH_Default =0xf000 , SH_Mask , SH_Variant }
 \value SH_Default QStyleHintReturn \value SH_Mask \l QStyle::SH_RubberBand_Mask QStyle::SH_FocusFrame_Mask \value SH_Variant \l QStyle::SH_TextControl_FocusIndicatorTextCharFormat More...
 
enum  StyleOptionType { Type = SH_Default }
 This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass. More...
 
enum  StyleOptionVersion { Version = 1 }
 This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass. More...
 

Public Member Functions

 QStyleHintReturnMask ()
 \variable QStyleHintReturnMask::region
 
 ~QStyleHintReturnMask ()
 Destructor.
 
- Public Member Functions inherited from QStyleHintReturn
 QStyleHintReturn (int version=QStyleOption::Version, int type=SH_Default)
 \variable QStyleHintReturn::type
 
 ~QStyleHintReturn ()
 

Public Attributes

QRegion region
 
- Public Attributes inherited from QStyleHintReturn
int version
 
int type
 

Additional Inherited Members

Detailed Description

The QStyleHintReturnMask class provides style hints that return a QRegion.

\inmodule QtWidgets

Definition at line 705 of file qstyleoption.h.

Member Enumeration Documentation

◆ StyleOptionType

This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass.

\value Type The type of style option provided (\l{SH_Mask} for this class).

The type is used internally by QStyleHintReturn, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleHintReturn subclass and your own styles.

See also
StyleOptionVersion
Enumerator
Type 

Definition at line 707 of file qstyleoption.h.

◆ StyleOptionVersion

This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass.

\value Version 1

The version is used by QStyleHintReturn subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally do not need to check it.

See also
StyleOptionType
Enumerator
Version 

Definition at line 708 of file qstyleoption.h.

Constructor & Destructor Documentation

◆ QStyleHintReturnMask()

QStyleHintReturnMask::QStyleHintReturnMask ( )

\variable QStyleHintReturnMask::region

the region for style hints that return a QRegion

Constructs a QStyleHintReturnMask. The member variables are initialized to default values.

Definition at line 3707 of file qstyleoption.cpp.

◆ ~QStyleHintReturnMask()

QStyleHintReturnMask::~QStyleHintReturnMask ( )

Destructor.

Definition at line 3714 of file qstyleoption.cpp.

Member Data Documentation

◆ region

QRegion QStyleHintReturnMask::region

Definition at line 713 of file qstyleoption.h.


The documentation for this class was generated from the following files: