A Button Graphicsitem for use in Stellarium's graphic widgets. More...
#include <StelGuiItems.hpp>
A Button Graphicsitem for use in Stellarium's graphic widgets.
Definition at line 57 of file StelGuiItems.hpp.
Button states.
Definition at line 86 of file StelGuiItems.hpp.
Constructor.
Constructor.
Get the width of the button image.
The width is based on pixOn.
Definition at line 93 of file StelGuiItems.hpp.
Emitted when the hover state change.
Get whether the button is checked.
Definition at line 89 of file StelGuiItems.hpp.
Transform the pixmap so that it look red for night vision mode.
Set the background pixmap of the button.
A variant for night vision mode (pixBackgroundRed) is automatically generated from the new background.
set whether the button is checked
Set the button opacity.
Definition at line 96 of file StelGuiItems.hpp.
Activate red mode for this button, i.e. will reduce the non red color component of the icon.
Definition at line 99 of file StelGuiItems.hpp.
Triggered when the button state changes.
Triggered when the button state changes.