Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CloseButton Class Reference
Inheritance diagram for CloseButton:
Inheritance graph

Public Member Functions

 CloseButton (QWidget *)
 Constructor. More...
 
QSize sizeHint () const
 Get appropriate size for the button. More...
 
QSize minimumSizeHint () const
 Get minimum appropriate size for the button. More...
 
void enterEvent (QEvent *)
 Process mouse enter event. More...
 
void leaveEvent (QEvent *)
 Process mouse leave event. More...
 
void paintEvent (QPaintEvent *)
 Process paint event. More...
 

Constructor & Destructor Documentation

CloseButton::CloseButton ( QWidget parent)
Parameters
parentparent widget

Member Function Documentation

void CloseButton::enterEvent ( QEvent event)
Parameters
eventmouse enter event
void CloseButton::leaveEvent ( QEvent event)
Parameters
eventmouse leave event
QSize CloseButton::minimumSizeHint ( ) const
Returns
minimum size value

References sizeHint().

void CloseButton::paintEvent ( QPaintEvent *  )
Parameters
eventpaint event
QSize CloseButton::sizeHint ( ) const
Returns
size value

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