StelGuiItems.hpp   StelGuiItems.hpp 
skipping to change at line 166 skipping to change at line 166
bool noBckground; bool noBckground;
bool isTristate_; bool isTristate_;
double opacity; double opacity;
double hoverOpacity; double hoverOpacity;
}; };
// The button bar on the left containing windows toggle buttons // The button bar on the left containing windows toggle buttons
class LeftStelBar : public QObject, public QGraphicsItem class LeftStelBar : public QObject, public QGraphicsItem
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QGraphicsItem); Q_INTERFACES(QGraphicsItem)
public: public:
LeftStelBar(QGraphicsItem* parent); LeftStelBar(QGraphicsItem* parent);
~LeftStelBar(); ~LeftStelBar();
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
virtual QRectF boundingRect() const; virtual QRectF boundingRect() const;
void addButton(StelButton* button); void addButton(StelButton* button);
QRectF boundingRectNoHelpLabel() const; QRectF boundingRectNoHelpLabel() const;
//! Set the color for all the sub elements //! Set the color for all the sub elements
void setColor(const QColor& c); void setColor(const QColor& c);
private slots: private slots:
skipping to change at line 188 skipping to change at line 188
void buttonHoverChanged(bool b); void buttonHoverChanged(bool b);
private: private:
QTimeLine* hideTimeLine; QTimeLine* hideTimeLine;
QGraphicsSimpleTextItem* helpLabel; QGraphicsSimpleTextItem* helpLabel;
}; };
// The button bar on the bottom containing actions toggle buttons // The button bar on the bottom containing actions toggle buttons
class BottomStelBar : public QObject, public QGraphicsItem class BottomStelBar : public QObject, public QGraphicsItem
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QGraphicsItem); Q_INTERFACES(QGraphicsItem)
public: public:
BottomStelBar(QGraphicsItem* parent, const QPixmap& pixLeft=QPixmap( ), const QPixmap& pixRight=QPixmap(), const QPixmap& pixMiddle=QPixmap(), c onst QPixmap& pixSingle=QPixmap()); BottomStelBar(QGraphicsItem* parent, const QPixmap& pixLeft=QPixmap( ), const QPixmap& pixRight=QPixmap(), const QPixmap& pixMiddle=QPixmap(), c onst QPixmap& pixSingle=QPixmap());
virtual ~BottomStelBar(); virtual ~BottomStelBar();
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
virtual QRectF boundingRect() const; virtual QRectF boundingRect() const;
QRectF boundingRectNoHelpLabel() const; QRectF boundingRectNoHelpLabel() const;
//! Add a button in a group in the button bar. Group are displayed i n alphabetic order. //! Add a button in a group in the button bar. Group are displayed i n alphabetic order.
//! @param button the button to add //! @param button the button to add
//! @param groupName the name of the button group to which the butto n belongs to. If the group doesn't exist yet, a new one is created. //! @param groupName the name of the button group to which the butto n belongs to. If the group doesn't exist yet, a new one is created.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/