23 #include "StelStyle.hpp"
24 #include "StelObject.hpp"
27 #include <QGraphicsWidget>
29 class QGraphicsSceneMouseEvent;
30 class QGraphicsTextItem;
43 void setInfoTextFilters(
const StelObject::InfoStringGroup& aflags) {infoTextFilters=aflags;}
44 const StelObject::InfoStringGroup& getInfoTextFilters(
void)
const {
return infoTextFilters;}
45 void setTextFromObjects(
const QList<StelObjectP>&);
46 const QString getSelectedText(
void);
49 StelObject::InfoStringGroup infoTextFilters;
60 SkyGui(QGraphicsItem * parent=NULL);
68 virtual void paint(QPainter*,
const QStyleOptionGraphicsItem*, QWidget* = 0);
70 int getSkyGuiWidth()
const;
71 int getSkyGuiHeight()
const;
74 virtual void resizeEvent(QGraphicsSceneResizeEvent* event);
75 virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event);
79 void setStelStyle(
const QString& style);
86 QTimeLine* animLeftBarTimeLine;
87 QTimeLine* animBottomBarTimeLine;
88 int lastButtonbarWidth;
100 bool autoHideHorizontalButtonBar;
101 bool autoHideVerticalButtonBar;
106 #endif // _SKYGUI_HPP_
InfoPanel(QGraphicsItem *parent)
Reads "gui/selected_object_info", etc from the configuration file.
The informations about the currently selected object.
The class managing the layout for button bars, selected object info and loading bars.
void addProgressBar(StelProgressController *)
Add a new progress bar in the lower right corner of the screen.
Maintain the state of a progress bar.
virtual void init(QGraphicsWidget *topLevelGraphicsWidget)
Initialize the StelGui object.
Main class for the GUI based on QGraphicView.