CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxUIRect Class Reference

#include <FxUIRect.h>

Public Member Functions

 CFxUIRect ()
 
 CFxUIRect (int x, int y, int width, int height)
 
 CFxUIRect (const CFxUIRect &rect)
 
 CFxUIRect (const QRect &rect)
 
 ~CFxUIRect ()
 
CFxUIRectoperator= (const CFxUIRect &rect)
 
 operator const QRect & () const
 
int width () const
 
int height () const
 
int x () const
 
int y () const
 

Protected Attributes

CFxUIRectImpl * m_pImpl = nullptr
 

Detailed Description

Definition at line 28 of file FxUIRect.h.

Constructor & Destructor Documentation

◆ CFxUIRect() [1/4]

CFxUIRect::CFxUIRect ( )

Constructor

◆ CFxUIRect() [2/4]

CFxUIRect::CFxUIRect ( int x,
int y,
int width,
int height )

Parameterized Constructor

◆ CFxUIRect() [3/4]

CFxUIRect::CFxUIRect ( const CFxUIRect & rect)

copy Constructor

◆ CFxUIRect() [4/4]

CFxUIRect::CFxUIRect ( const QRect & rect)

◆ ~CFxUIRect()

CFxUIRect::~CFxUIRect ( )

Destructor

Member Function Documentation

◆ height()

int CFxUIRect::height ( ) const

Returns the height of the rectangle.

Returns
height as integer

◆ operator const QRect &()

CFxUIRect::operator const QRect & ( ) const

◆ operator=()

CFxUIRect & CFxUIRect::operator= ( const CFxUIRect & rect)

Assignment operator

◆ width()

int CFxUIRect::width ( ) const

Returns the width of the rectangle.

Returns
width as integer

◆ x()

int CFxUIRect::x ( ) const

Returns the x-coordinate of the rectangle's left edge.

Returns
x-coordinate as integer

◆ y()

int CFxUIRect::y ( ) const

Returns the y-coordinate of the rectangle's top edge.

Returns
y-coordinate as integer

Member Data Documentation

◆ m_pImpl

CFxUIRectImpl* CFxUIRect::m_pImpl = nullptr
protected

Definition at line 79 of file FxUIRect.h.


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