The class managing the layout for button bars, selected object info and loading bars.
#include <SkyGui.hpp>
|
void | updateBarsPos () |
| Update the position of the button bars in the main window GZ needed this public for interactive GUI scaling.
|
|
|
| SkyGui (QGraphicsItem *parent=Q_NULLPTR) |
|
void | addProgressBar (StelProgressController *) |
| Add a new progress bar in the lower right corner of the screen. More...
|
|
void | init (class StelGui *stelGui) |
|
virtual void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *=Q_NULLPTR) Q_DECL_OVERRIDE |
|
int | getSkyGuiWidth () const |
|
int | getSkyGuiHeight () const |
|
qreal | getBottomBarHeight () const |
| return height of bottom Bar when fully shown
|
|
qreal | getLeftBarWidth () const |
| return width of left Bar when fully shown
|
|
|
virtual void | resizeEvent (QGraphicsSceneResizeEvent *event) Q_DECL_OVERRIDE |
|
virtual void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE |
|
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) Q_DECL_OVERRIDE |
|
◆ addProgressBar()
When the progress bar is deleted with removeProgressBar() the layout is automatically rearranged.
- Returns
- a pointer to the progress bar