CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | List of all members
CFxUIPaintEvent Class Reference

#include <FxUIEvent.h>

Inheritance diagram for CFxUIPaintEvent:
CFxUIEvent

Public Member Functions

 CFxUIPaintEvent (const QRegion &paintRegion)
 
 CFxUIPaintEvent (const QRect &paintRect)
 
 ~CFxUIPaintEvent ()
 
const QRect & rect () const
 
const QRegion & region () const
 
- Public Member Functions inherited from CFxUIEvent
 CFxUIEvent (Type type)
 
virtual ~CFxUIEvent ()
 
Type type () const
 

Protected Attributes

QRect m_rect
 
QRegion m_region
 
bool m_erased
 
- Protected Attributes inherited from CFxUIEvent
ushort t
 

Additional Inherited Members

- Public Types inherited from CFxUIEvent
enum  Type {
  None = 0 , FocusIn = 8 , FocusOut = 9 , Paint = 12 ,
  Resize = 14 , Show = 17 , Hide = 18
}
 

Detailed Description

Class CFxUIPaintEvent provides an event occurred when a widget is painted.

Definition at line 104 of file FxUIEvent.h.

Constructor & Destructor Documentation

◆ CFxUIPaintEvent() [1/2]

CFxUIPaintEvent::CFxUIPaintEvent ( const QRegion &  paintRegion)
explicit

Constructor.

Parameters
paintRegionInput.

◆ CFxUIPaintEvent() [2/2]

CFxUIPaintEvent::CFxUIPaintEvent ( const QRect &  paintRect)
explicit

Constructor.

Parameters
paintRectInput.

◆ ~CFxUIPaintEvent()

CFxUIPaintEvent::~CFxUIPaintEvent ( )

Destructor

Member Function Documentation

◆ rect()

const QRect& CFxUIPaintEvent::rect ( ) const
inline

Returns the rectangle that needs to be updated.

Returns
The rectangle.

Definition at line 129 of file FxUIEvent.h.

◆ region()

const QRegion& CFxUIPaintEvent::region ( ) const
inline

Returns the region that needs to be updated.

Returns
The region.

Definition at line 136 of file FxUIEvent.h.

Member Data Documentation

◆ m_erased

bool CFxUIPaintEvent::m_erased
protected

Definition at line 141 of file FxUIEvent.h.

◆ m_rect

QRect CFxUIPaintEvent::m_rect
protected

Definition at line 139 of file FxUIEvent.h.

◆ m_region

QRegion CFxUIPaintEvent::m_region
protected

Definition at line 140 of file FxUIEvent.h.


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