QStyleHintReturnMask Class Reference

#include <qstyleoption.h>

Inheritance diagram for QStyleHintReturnMask:

Inheritance graph
[legend]
Collaboration diagram for QStyleHintReturnMask:

Collaboration graph
[legend]
List of all members.

Detailed Description

The QStyleHintReturnMask class provides style hints that return a QRegion.

### --Sam

Definition at line 744 of file qstyleoption.h.

Public Types

enum  StyleOptionType
enum  StyleOptionVersion

Public Member Functions

 QStyleHintReturnMask ()

Public Attributes

QRegion region


Member Enumeration Documentation

enum QStyleHintReturnMask::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

Reimplemented from QStyleHintReturn.

Definition at line 746 of file qstyleoption.h.

00746 { Type = SH_Mask };

enum QStyleHintReturnMask::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 don't need to check it.

See also:
StyleOptionType

Reimplemented from QStyleHintReturn.

Definition at line 747 of file qstyleoption.h.

00747 { Version = 1 };


Constructor & Destructor Documentation

QStyleHintReturnMask::QStyleHintReturnMask (  ) 

the region for style hints that return a QRegion

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

Definition at line 4359 of file qstyleoption.cpp.

04359                                            : QStyleHintReturn(Version, Type)
04360 {
04361 }


Member Data Documentation

QRegion QStyleHintReturnMask::region

Definition at line 751 of file qstyleoption.h.

Referenced by QWorkspaceChild::updateMask().


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 19:10:09 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1