QtBase  v6.3.1
Public Types | Public Member Functions | Public Attributes | List of all members
QStyleHintReturnMask Class Reference

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

#include <qstyleoption.h>

Inheritance diagram for QStyleHintReturnMask:
Inheritance graph
[legend]
Collaboration diagram for QStyleHintReturnMask:
Collaboration graph
[legend]

Public Types

enum  StyleOptionType { Type = SH_Mask }
 
enum  StyleOptionVersion { Version = 1 }
 
- Public Types inherited from QStyleHintReturn
enum  HintReturnType { SH_Default =0xf000 , SH_Mask , SH_Variant }
 
enum  StyleOptionType { Type = SH_Default }
 
enum  StyleOptionVersion { Version = 1 }
 

Public Member Functions

 QStyleHintReturnMask ()
 the region for style hints that return a QRegion More...
 
 ~QStyleHintReturnMask ()
 
- Public Member Functions inherited from QStyleHintReturn
 QStyleHintReturn (int version=QStyleOption::Version, int type=SH_Default)
 the type of the style hint container More...
 
 ~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 740 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 742 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 743 of file qstyleoption.h.

Constructor & Destructor Documentation

◆ QStyleHintReturnMask()

QStyleHintReturnMask::QStyleHintReturnMask ( )

the region for style hints that return a QRegion

\variable QStyleHintReturnMask::region

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

Definition at line 3814 of file qstyleoption.cpp.

◆ ~QStyleHintReturnMask()

QStyleHintReturnMask::~QStyleHintReturnMask ( )

Destructor.

Definition at line 3821 of file qstyleoption.cpp.

Member Data Documentation

◆ region

QRegion QStyleHintReturnMask::region

Definition at line 748 of file qstyleoption.h.


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