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

#include <FxUIEvent.h>

Inheritance diagram for CFxUIResizeEvent:
CFxUIEvent

Public Member Functions

 CFxUIResizeEvent (const QSize &size, const QSize &oldSize)
 
 ~CFxUIResizeEvent ()
 
const QSize & size () const
 
const QSize & oldSize () const
 
- Public Member Functions inherited from CFxUIEvent
 CFxUIEvent (Type type)
 
virtual ~CFxUIEvent ()
 
Type type () const
 

Protected Attributes

QSize s
 
QSize olds
 
- 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 CFxUIResizeEvent provides an event occurred when a widget is resized.

Definition at line 149 of file FxUIEvent.h.

Constructor & Destructor Documentation

◆ CFxUIResizeEvent()

CFxUIResizeEvent::CFxUIResizeEvent ( const QSize &  size,
const QSize &  oldSize 
)

Constructor.

Parameters
sizeInput.
oldSizeInput.

◆ ~CFxUIResizeEvent()

CFxUIResizeEvent::~CFxUIResizeEvent ( )

Destructor

Member Function Documentation

◆ oldSize()

const QSize& CFxUIResizeEvent::oldSize ( ) const
inline

Returns the old size of the widget.

Returns
The size.

Definition at line 176 of file FxUIEvent.h.

◆ size()

const QSize& CFxUIResizeEvent::size ( ) const
inline

Returns the new size of the widget.

Returns
The size.

Definition at line 169 of file FxUIEvent.h.

Member Data Documentation

◆ olds

QSize CFxUIResizeEvent::olds
protected

Definition at line 178 of file FxUIEvent.h.

◆ s

QSize CFxUIResizeEvent::s
protected

Definition at line 178 of file FxUIEvent.h.


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