Kstars
telescopewizardprocess.cpp
44 ui->timeOut->setText(QString().sprintf("%02d:%02d:%02d", newTime.hour(), newTime.minute(), newTime.second()));
45 ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", newDate.year(), newDate.month(), newDate.day()));
103 if (KMessageBox::warningContinueCancel(0, i18n("Are you sure you want to cancel?")) == KMessageBox::Continue)
175 TimeDialog timedialog(KStars::Instance()->data()->lt(), KStars::Instance()->data()->geo(), KStars::Instance());
184 ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", dt.date().year(), dt.date().month(), dt.date().day()));
193 QString("%1, %2, %3").arg(geo->translatedName(),geo->translatedProvince(), geo->translatedCountry()));
194 ui->timeOut->setText(QString().sprintf("%02d:%02d:%02d", KStars::Instance()->data()->lt().time().hour(),
197 ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", KStars::Instance()->data()->lt().date().year(),
217 progressScan = new QProgressDialog(i18n("Please wait while KStars scan communication ports for attached "
225 progressScan = new QProgressDialog(i18n("Please wait while KStars tries to connect to your telescope..."),
325 //qDebug() << "Current port is " << currentPort << " and port count is " << portList.count() << endl;
340 i18n("Sorry. KStars failed to detect any attached telescopes, please check your settings and try again."));
354 KStars::Instance()->statusBar()->showMessage(i18n("Telescope Wizard completed successfully."), 0);
DriverInfo holds all metadata associated with a particular INDI driver.
Definition driverinfo.h:46
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
GDInterface is the Generic Device Interface for INDI devices.
Definition indistd.h:84
void changeDateTime(const KStarsDateTime &newDate)
Change the current simulation date/time to the KStarsDateTime argument.
Definition kstarsdata.cpp:337
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition kstarsdatetime.h:36
void slotGeoLocator()
action slot: open dialog for selecting a new geographic location
Definition kstarsactions.cpp:1053
QString i18n(const char *text, const TYPE &arg...)
GeoCoordinates geo(const QVariant &location)
ButtonCode warningContinueCancel(QWidget *parent, const QString &text, const QString &title=QString(), const KGuiItem &buttonContinue=KStandardGuiItem::cont(), const KGuiItem &buttonCancel=KStandardGuiItem::cancel(), const QString &dontAskAgainName=QString(), Options options=Notify)
Continue
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
Connected
Disconnected
Accepted
void rejected()
virtual QString fileName() const const override
T value(const Key &key) const const
virtual bool reset()
void append(QList< T > &&value)
void clear()
qsizetype count() const const
QStatusBar * statusBar() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
void setAutoClose(bool close)
void setAutoReset(bool reset)
void setValue(int progress)
wasCanceled
void showMessage(const QString &message, int timeout)
QueuedConnection
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool close()
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.