Kstars
captureprocessoverlay.cpp
47 frameTypeLabel->setText(QString("%1 %2").arg(CCDFrameTypeNames[currentFrame.frameType]).arg(currentFrame.filterName));
50 binningValue->setText(QString("%1x%2").arg(currentFrame.binning.x()).arg(currentFrame.binning.y()));
80 historyCountsLabel->setText(QString("(%1/%2)").arg(m_captureHistory.position() + 1).arg(m_captureHistory.size()));
85 historyBackwardButton->setEnabled(m_captureHistory.size() > 0 && m_captureHistory.position() > 0);
86 historyForwardButton->setEnabled(m_captureHistory.size() > 0 && m_captureHistory.size() - m_captureHistory.position() > 1);
104 for (QList<QString>::iterator target_it = targets.begin(); target_it != targets.end(); target_it++)
106 display.append(QString("<p><b><u>%1</u></b><table border=0>").arg(*target_it == "" ? "<it>" + i18n("No target") + "</it>" :
111 for (QList<QPair<CCDFrameType, QString>>::iterator key_it = keys.begin(); key_it != keys.end(); key_it++)
124 display.append(QString("<tr><td><b>%1 %2</b> (%3 x %4 sec):</td><td style=\"text-align: right\">%5</td></tr>")
237 for (QList<FrameData>::iterator list_it = m_history.begin(); list_it != m_history.end(); list_it++)
255void CaptureProcessOverlay::CaptureHistory::countNewFrame(QString target, CCDFrameType frameType, QString filter,
bool deleteFrame(int pos)
Delete the current frame and (if possible) the corresponding file.
Definition captureprocessoverlay.cpp:183
bool addFrame(FrameData data)
Add a newly captured frame to the history.
Definition captureprocessoverlay.cpp:169
int position()
The current navigation position in the capture history.
Definition captureprocessoverlay.h:74
const FrameData currentFrame()
the currently pointed capture frame
Definition captureprocessoverlay.h:69
const FrameData getFrame(int pos)
Obtain the frame from the given position in the history.
Definition captureprocessoverlay.h:78
void updateTargetStatistics()
Iterate over the current target history and add all those where the corresponding file exists.
Definition captureprocessoverlay.cpp:232
QString i18n(const char *text, const TYPE &arg...)
char * toString(const EngineQuery &query)
void clicked(bool checked)
bool exists(const QString &fileName)
void append(QList< T > &&value)
iterator begin()
iterator end()
qsizetype size() const const
QList< Key > keys() const const
T value(const Key &key, const T &defaultValue) const const
QString & append(QChar ch)
QString arg(Args &&... args) const const
QFuture< void > filter(QThreadPool *pool, Sequence &sequence, KeepFunctor &&filterFunction)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
pos
visible
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:02 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:02 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.