![]() |
Stellarium
HEAD
|
The class managing the layout for button bars, selected object info and loading bars. More...
#include <SkyGui.hpp>
Public Slots | |
| void | updateBarsPos () |
| Update the position of the button bars in the main window GZ needed this public for interactive GUI scaling. | |
Public Member Functions | |
| SkyGui (QGraphicsItem *parent=nullptr) | |
| void | addProgressBar (StelProgressController *) |
| Add a new progress bar in the lower right corner of the screen. More... | |
| void | init (class StelGui *stelGui) |
| void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *=nullptr) override |
| int | getSkyGuiWidth () const |
| actually returns window width | |
| int | getSkyGuiHeight () const |
| actually returns window height | |
| qreal | getBottomBarHeight () const |
| return height of bottom Bar when fully shown | |
| qreal | getLeftBarWidth () const |
| return width of left Bar when fully shown | |
Friends | |
| class | StelGui |
The class managing the layout for button bars, selected object info and loading bars.
| void SkyGui::addProgressBar | ( | StelProgressController * | ) |
Add a new progress bar in the lower right corner of the screen.
When the progress bar is deleted with removeProgressBar() the layout is automatically rearranged.