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
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
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
void mouseDoubleClickEvent(QMouseEvent *e) override
Reset the MousePoint to a null value, to erase the crosshairs.
Definition avtplotwidget.cpp:34
void mousePressEvent(QMouseEvent *e) override
Simply calls mouseMoveEvent().
Definition avtplotwidget.cpp:29
void mouseMoveEvent(QMouseEvent *e) override
Handle mouse move events.
Definition avtplotwidget.cpp:40
QList< KPlotObject * > plotObjects() const
void setPixRect()
int leftPadding() const
int topPadding() const
virtual void drawAxes(QPainter *p)
QRect pixRect() const
QColor backgroundColor() const
bool antialiasing() const
static KStarsDateTime currentDateTimeUtc()
Definition kstarsdatetime.cpp:82
int pointSize() const const
void setPointSize(int pointSize)
ShortFormat
int x() const const
int y() const const
Antialiasing
bool begin(QPaintDevice *device)
void drawLine(const QLine &line)
void drawText(const QPoint &position, const QString &text)
bool end()
void fillRect(const QRect &rectangle, QGradient::Preset preset)
const QFont & font() const const
void restore()
void rotate(qreal angle)
void save()
void setClipRect(const QRect &rectangle, Qt::ClipOperation operation)
void setClipping(bool enable)
void setFont(const QFont &font)
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
void translate(const QPoint &offset)
int x() const const
int y() const const
int height() const const
int width() const const
QString number(double n, char format, int precision)
transparent
DotLine
int hour() const const
int minute() const const
int second() const const
height
rect
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.