Commit b5afea8a authored by Raphael Cojocaru's avatar Raphael Cojocaru

Gradient is ready now.

parent 92f78759
This diff is collapsed.
......@@ -111,6 +111,8 @@ public:
QString getObjectName(const SkyObject *o, bool translated=true);
void setSunRiseSetTimes( double sunRise, double sunSet );
void drawGradient();
public slots:
/** @short Update the plot to reflec new Date and Location settings. */
void slotUpdateDateLoc();
......@@ -139,6 +141,9 @@ public slots:
/** @short Mark the transit time on the curve. */
void slotMarkTransitTime();
/** @short Draw the white vertical line on click. */
void mouseOverLine(QMouseEvent *event);
/** @short Clear the edit boxes for specifying a new object. */
void slotClearBoxes();
......@@ -184,6 +189,8 @@ private:
int DayOffset;
int minAlt;
int maxAlt;
QCPItemPixmap *background;
QPixmap *gradient;
double sunRise, sunSet;
};
......
......@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>508</width>
<height>564</height>
<height>599</height>
</rect>
</property>
<property name="windowTitle">
......@@ -335,6 +335,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="riseButton">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>Rise</string>
</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment