Stellarium  0.16.1
List of all members | Public Member Functions | Protected Member Functions | Friends
SkyGui Class Reference

The class managing the layout for button bars, selected object info and loading bars. More...

#include <SkyGui.hpp>

+ Inheritance diagram for SkyGui:
+ Collaboration diagram for SkyGui:

Public Member Functions

 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
 

Protected Member Functions

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
 

Friends

class StelGui
 

Detailed Description

The class managing the layout for button bars, selected object info and loading bars.

Definition at line 56 of file SkyGui.hpp.

Member Function Documentation

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.

Returns
a pointer to the progress bar

The documentation for this class was generated from the following file: