Kstars
conjunctions.cpp
73 connect(ModeSelector, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &ConjunctionsTool::setMode);
116 m_Model->setHorizontalHeaderLabels(QStringList() << i18n("Conjunction/Opposition") << i18n("Date & Time (UT)")
126 OutputList->horizontalHeader()->resizeSection(4, 120); //is it bad way to fix default size of columns ?
133 int index = m_SortModel->mapToSource(OutputList->currentIndex()).row(); // Get the number of the line
144 map->setClickedObject(data->skyComposite()->findByName(m_Model->data(m_Model->index(index, 2)).toString()));
205 //QFile file( KFileDialog::getSaveFileName( QDir::homePath(), "*|All files", this, "Save Conjunctions" ) );
206 QFile file(QFileDialog::getSaveFileName(nullptr, i18nc("@title:window", "Save Conjunctions"), QDir::homePath(), "*|All files"));
253 KSNotification::sorry(i18n("Maximum separation entered is not a valid angle. Use the What's this help feature "
261 KSNotification::sorry(i18n("Please select an object to check conjunctions with, by clicking on the \'Find Object\' button."));
350 QProgressDialog progressDlg(i18n("Compute conjunction..."), i18n("Abort"), 0, objects.count(), this);
364 progressDlg.setLabelText(i18n("Compute conjunction between %1 and %2", Object2->name(), object));
399 void ConjunctionsTool::showConjunctions(const QMap<long double, dms> &conjunctionlist, const QString &object1,
RegExp
QMap::const_iterator constBegin() const const
static KStarsDateTime currentDateTime()
Definition: kstarsdatetime.cpp:73
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition: kstarsdatetime.h:35
QFuture< T > run(Function function,...)
void setLocation(const GeoLocation &l)
Set the GeoLocation according to the argument.
Definition: kstarsdata.cpp:403
WriteOnly
CaseInsensitive
void setRowCount(int rows)
QByteArray & append(char ch)
void clear()
const T value(const Key &key, const T &defaultValue) const const
void setFilterKeyColumn(int column)
WindowModal
QList< Key > keys() const const
void clicked(bool checked)
Implements algorithms to find close conjunctions of planets in a given time range....
Definition: ksconjunct.h:24
QIcon fromTheme(const QString &name)
Definition: kstarsdata.h:70
QString homePath()
QByteArray toByteArray() const const
void clear()
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const const override
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QMap::iterator insert(const Key &key, const T &value)
virtual QVariant data(const QModelIndex &index, int role) const const override
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyMapComposite for a SkyObject whose name matches the argument.
Definition: skymapcomposite.cpp:553
void changeDateTime(const KStarsDateTime &newDate)
Change the current simulation date/time to the KStarsDateTime argument.
Definition: kstarsdata.cpp:327
Interactive
QString i18n(const char *text, const TYPE &arg...)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
KGuiItem clear()
QMap::const_iterator constEnd() const const
WaitCursor
Accepted
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:92
QMap< long double, dms > findClosestApproach(long double startJD, long double stopJD, const std::function< void(long double, dms)> &callback={})
Compute the closest approach of two planets in the given range.
Definition: approachsolver.cpp:26
int row() const const
void setFilterRegExp(const QString &pattern)
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
int count() const const
void setOverrideCursor(const QCursor &cursor)
Canvas widget for displaying the sky bitmap; also handles user interaction events.
Definition: skymap.h:52
void currentIndexChanged(int index)
void clear()
QString i18nc(const char *context, const char *text, const TYPE &arg...)
virtual int rowCount(const QModelIndex &parent) const const override
virtual int columnCount(const QModelIndex &parent) const const override
KGuiItem ok()
void restoreOverrideCursor()
void setGeoLocation(GeoLocation *geo)
Sets the geographic location to compute conjunctions at.
Definition: approachsolver.cpp:17
QString toString(Qt::DateFormat format) const const
QFuture< void > map(Sequence &sequence, MapFunctor function)
void appendRow(const QList< QStandardItem * > &items)
ISODate
QString toString() const const
void setDJD(long double jd)
Assign the static_cast<long double> Julian Day value, which includes the time of day encoded in the f...
Definition: kstarsdatetime.cpp:118
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.