Kstars
avtplotwidget.cpp
101 0.01; // pW * fraction of day to fade the moon brightness over (0.01 corresponds to roughly 15 minutes, 0.007 to 10 minutes), both before and after actual set.
118 p.fillRect(QRectF(moonrise + fadewidth, 0.0, moonset - moonrise - 2 * fadewidth, pH), MoonColor);
198 Qt::transparent); // FIXME?: The sky appears black well before the actual end of twilight if the gradient is too slow (eg: latitudes above arctic circle)
241 QLocale().toString(t, QLocale::ShortFormat)); // short format necessary to avoid false time-zone labeling
266 QLocale().toString(t, QLocale::ShortFormat)); // short format necessary to avoid false time-zone labeling
Antialiasing
void setColorAt(qreal position, const QColor &color)
void setFinalStop(const QPointF &stop)
void setPen(const QColor &color)
QString number(int n, int base)
void rotate(qreal angle)
int right() const const
void mousePressEvent(QMouseEvent *e) override
Simply calls mouseMoveEvent().
Definition: avtplotwidget.cpp:29
void setPointSize(int pointSize)
void setClipRect(const QRectF &rectangle, Qt::ClipOperation operation)
int pointSize() const const
void setSunRiseSetTimes(double sr, double ss)
Set the fractional positions of the Sunrise and Sunset positions, in units where last midnight was 0....
Definition: avtplotwidget.cpp:287
static KStarsDateTime currentDateTimeUtc()
Definition: kstarsdatetime.cpp:82
void draw(QPainter *p, KPlotWidget *pw)
bool contains(const QRect &rectangle, bool proper) const const
void drawText(const QPointF &position, const QString &text)
void fillRect(const QRectF &rectangle, const QBrush &brush)
int left() const const
bool begin(QPaintDevice *device)
int bottom() const const
int top() const const
bool end()
void mouseDoubleClickEvent(QMouseEvent *e) override
Reset the MousePoint to a null value, to erase the crosshairs.
Definition: avtplotwidget.cpp:34
void setAlpha(int alpha)
int x() const const
int y() const const
void mouseMoveEvent(QMouseEvent *e) override
Handle mouse move events.
Definition: avtplotwidget.cpp:40
int hour() const const
ShortFormat
int second() const const
void update(Part *part, const QByteArray &data, qint64 dataSize)
void drawLine(const QLineF &line)
const QFont & font() const const
void translate(const QPointF &offset)
void restore()
void save()
void setRenderHint(QPainter::RenderHint hint, bool on)
DotLine
void setFont(const QFont &font)
void setMoonRiseSetTimes(double mr, double ms)
Set the fractional positions of moonrise and moon set in units where last midnight was 0....
Definition: avtplotwidget.cpp:294
int minute() const const
void setClipping(bool enable)
transparent
void setStart(const QPointF &start)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.