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... | |
CloseButton::CloseButton | ( | QWidget * | parent | ) |
parent | parent widget |
void CloseButton::enterEvent | ( | QEvent * | event | ) |
event | mouse enter event |
void CloseButton::leaveEvent | ( | QEvent * | event | ) |
event | mouse leave event |
QSize CloseButton::minimumSizeHint | ( | ) | const |
References sizeHint().
void CloseButton::paintEvent | ( | QPaintEvent * | ) |
event | paint event |
QSize CloseButton::sizeHint | ( | ) | const |