Public Member Functions | |
| ZeButton (QWidget *, QString) | |
| ZeButton (QWidget *, QString, QPixmap, QPixmap, QPixmap, bool, bool) | |
| QPixmap | getUpPixmap () const |
| void | setUpPixmap (QPixmap) |
| QPixmap | getDownPixmap () const |
| void | setDownPixmap (QPixmap) |
| QPixmap | getActivePixmap () const |
| void | setMouseOver (bool) |
| bool | getMouseOver () const |
| void | setActivePixmap (QPixmap) |
| void | setProperties (QPixmap, QPixmap, QPixmap, bool=true, bool=false) |
Protected Slots | |
| void | showDownPixmap (bool) |
Protected Member Functions | |
| void | enterEvent (QEvent *) |
| void | leaveEvent (QEvent *) |
Properties | |
| QPixmap | upPixmap [] |
| QPixmap | downPixmap [] |
| QPixmap | activePixmap [] |
| bool | mouseOver [] |
| ZeButton::ZeButton | ( | QWidget * | parent, | |
| QString | name | |||
| ) |
standard QPushButton c'tor
| ZeButton::ZeButton | ( | QWidget * | parent, | |
| QString | name, | |||
| QPixmap | up, | |||
| QPixmap | down, | |||
| QPixmap | active, | |||
| bool | mouseOver, | |||
| bool | toggle | |||
| ) |
This overloaded function allows to set all configurations in on step.
Essentially the pixmaps for the three different states can be set.
| QPixmap ZeButton::getUpPixmap | ( | ) | const |
Get the upPixmap.
Escpecially needed to export for use as a plugin.
| void ZeButton::setUpPixmap | ( | QPixmap | up | ) |
Set the upPixmap.
Escpecially needed to export for use as a plugin.
| QPixmap ZeButton::getDownPixmap | ( | ) | const |
Get the upPixmap.
Escpecially needed to export for use as a plugin.
| void ZeButton::setDownPixmap | ( | QPixmap | down | ) |
Set the downPixmap.
Escpecially needed to export for use as a plugin.
| QPixmap ZeButton::getActivePixmap | ( | ) | const |
Get the upPixmap.
Escpecially needed to export for use as a plugin.
| void ZeButton::setMouseOver | ( | bool | mO | ) |
Set mouseOver.
Escpecially needed to export for use as a plugin.
| bool ZeButton::getMouseOver | ( | ) | const |
Get mouseEver.
Escpecially needed to export for use as a plugin.
| void ZeButton::setActivePixmap | ( | QPixmap | active | ) |
Set the activePixmap.
Escpecially needed to export for use as a plugin.
| void ZeButton::setProperties | ( | QPixmap | , | |
| QPixmap | , | |||
| QPixmap | , | |||
| bool | = true, |
|||
| bool | = false | |||
| ) |
| void ZeButton::showDownPixmap | ( | bool | ) | [protected, slot] |
| void ZeButton::enterEvent | ( | QEvent * | ) | [protected] |
| void ZeButton::leaveEvent | ( | QEvent * | ) | [protected] |
QPixmap ZeButton::upPixmap [read, write] |
QPixmap ZeButton::downPixmap [read, write] |
QPixmap ZeButton::activePixmap [read, write] |
bool ZeButton::mouseOver [read, write] |
1.5.1