![]() |
Stellarium 0.12.3
|
A QGraphicsWidget encapsulating all the Stellarium main sky view and the embedded GUI widgets such as the moving button bars. More...
#include <StelAppGraphicsWidget.hpp>
Public Member Functions | |
StelAppGraphicsWidget (class StelRenderer *renderer) | |
void | init (class QSettings *conf) |
Initialize the StelAppGraphicsWidget. More... | |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
Paint the main sky view and the embedded GUI widgets such as the moving button bars. More... | |
void | setViewportEffect (const QString &effectName) |
Define the type of viewport effect to use. More... | |
QString | getViewportEffect () const |
Get the type of viewport effect currently used. More... | |
void | setDoPaint (bool b) |
Set whether widget repaint are necessary. More... | |
A QGraphicsWidget encapsulating all the Stellarium main sky view and the embedded GUI widgets such as the moving button bars.
It manages redirection of users inputs to the core and GUI.
Definition at line 31 of file StelAppGraphicsWidget.hpp.
QString StelAppGraphicsWidget::getViewportEffect | ( | ) | const |
Get the type of viewport effect currently used.
void StelAppGraphicsWidget::init | ( | class QSettings * | conf | ) |
Initialize the StelAppGraphicsWidget.
|
virtual |
Paint the main sky view and the embedded GUI widgets such as the moving button bars.
This method is called automatically by the GraphicsView.
|
inline |
Set whether widget repaint are necessary.
Definition at line 52 of file StelAppGraphicsWidget.hpp.
void StelAppGraphicsWidget::setViewportEffect | ( | const QString & | effectName | ) |
Define the type of viewport effect to use.
effectName | must be one of 'none', 'framebufferOnly', 'sphericMirrorDistorter' |