Qt 4.8
Public Types | Public Functions | Public Variables | 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:
QStyleHintReturn

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 }
 
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 Functions

 QStyleHintReturnMask ()
 Constructs a QStyleHintReturnMask. More...
 
- Public Functions inherited from QStyleHintReturn
 QStyleHintReturn (int version=QStyleOption::Version, int type=SH_Default)
 Constructs a QStyleHintReturn with version version and type type. More...
 
 ~QStyleHintReturn ()
 

Public Variables

QRegion region
 the region for style hints that return a QRegion More...
 
- Public Variables inherited from QStyleHintReturn
int type
 the type of the style hint container More...
 
int version
 the version of the style hint return container More...
 

Additional Inherited Members

Detailed Description

The QStyleHintReturnMask class provides style hints that return a QRegion.

Warning
This function is not part of the public interface.

–Sam

Definition at line 923 of file qstyleoption.h.

Enumerations

◆ StyleOptionType

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

  • Type The type of style option provided (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 925 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.

  • 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 926 of file qstyleoption.h.

Constructors and Destructors

◆ QStyleHintReturnMask()

QStyleHintReturnMask::QStyleHintReturnMask ( )

Constructs a QStyleHintReturnMask.

The member variables are initialized to default values.

Definition at line 6267 of file qstyleoption.cpp.

6268 {
6269 }
QStyleHintReturn(int version=QStyleOption::Version, int type=SH_Default)
Constructs a QStyleHintReturn with version version and type type.

Properties

◆ region

QStyleHintReturnMask::region

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