Kstars
detaildialog.cpp
53 titlePalette.setColor(foregroundRole(), palette().color(QPalette::Active, QPalette::HighlightedText));
188 "The first arg is proper motion in right ascension and the second in the declination. The unit stands for milliarcsecond per year",
231 //The moon displays illumination fraction and updateMag is called to calculate moon's current magnitude
245 QLocale().toString( ((KSComet *)selectedObject)->getTotalMagnitudeParameter(), 'f', 2))); //show to hundredth place
563 QString sEpoch = QString::number(KStarsDateTime::jdToEpoch(selectedObject->getLastPrecessJD()), 'f', 1);
569 //qDebug() << Q_FUNC_INFO << selectedObject->ra().toHMSString() << selectedObject->dec().toDMSString();
708 connect(Links->InfoTitleList, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this,
714 connect(Links->ImageTitleList, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this,
719 connect(Links->InfoTitleList, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(viewLink()));
720 connect(Links->ImageTitleList, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(viewLink()));
768 connect(Adv->ADVTree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(viewADVData()));
1005 new QTreeWidgetItem(parent, QStringList(i18nc("Advanced URLs: description or category", item->Name.toLocal8Bit().data())));
1047 subLink = QString::asprintf("%02d%02d%02d", selectedObject->ra0().hour(), selectedObject->ra0().minute(),
1059 subLink = QString::asprintf("%03d%02d%02d", selectedObject->dec0().degree(), selectedObject->dec0().arcmin(),
1066 subLink = QString::asprintf("%02d%02d%02d", selectedObject->dec0().degree(), selectedObject->dec0().arcmin(),
1115 KSNotification::error(i18n("Mount %1 is offline. Please connect and retry again.", oneDevice->getDeviceName()));
1127 i18n("Danger! Viewing the Sun without adequate solar filters is dangerous and will result in permanent eye damage!"))
AddLinkDialog is a simple dialog for adding a custom URL to a popup menu.
Definition addlinkdialog.h:34
A simple container object to hold the minimum information for a Deep Sky Object to be drawn on the sk...
Definition catalogobject.h:41
const CatalogsDB::Catalog getCatalog() const
Get information about the catalog that this objects stems from.
Definition catalogobject.cpp:104
void removeLinkDialog()
remove a URL entry from either the Images or Info lists, and update the user's *url....
Definition detaildialog.cpp:939
void showThumbnail()
Slot to display the thumbnail image for the object.
Definition detaildialog.cpp:1141
void setCurrentLink(QListWidgetItem *it)
Set the currently-selected URL resource.
Definition detaildialog.cpp:797
void updateLists()
Rebuild the Image and Info URL lists for this object.
Definition detaildialog.cpp:826
void saveLogData()
Save the User's text in the Log Tab to the userlog.dat file.
Definition detaildialog.cpp:1078
void viewADVData()
Open the web browser to the selected online astronomy database, with a query to the object of this De...
Definition detaildialog.cpp:1011
void editLinkDialog()
Open a dialog to edit a URL in either the Images or Info lists, and update the user's *url....
Definition detaildialog.cpp:853
void updateThumbnail()
Slot to update thumbnail image for the object, using the Thumbnail Picker tool.
Definition detaildialog.cpp:1185
void addToObservingList()
Slot to add this object to the observing list.
Definition detaildialog.cpp:1087
void viewLink()
Slot for viewing the selected image or info URL in the web browser.
Definition detaildialog.cpp:802
DetailDialog(SkyObject *o, const KStarsDateTime &ut, GeoLocation *geo, QWidget *parent=nullptr)
Constructor.
Definition detaildialog.cpp:39
void addLink()
Popup menu function: Add a custom Image or Information URL.
Definition detaildialog.cpp:728
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
QDialogButtonBox * buttonBox()
Tabbed
void setStandardButtons(QDialogButtonBox::StandardButtons buttons)
void setFaceType(FaceType faceType)
void addPage(KPageWidgetItem *item)
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
void updateCoords(const KSNumbers *num, bool includePlanets=true, const CachingDms *lat=nullptr, const CachingDms *LST=nullptr, bool forceRecompute=false) override
Update position of the planet (reimplemented from SkyPoint)
Definition ksplanetbase.cpp:86
std::pair< bool, QString > deleteUserData(const QString &name, const unsigned int index, SkyObjectUserdata::Type type)
Remove data of type from the user data at index for the object with name, both in memory and on disk.
Definition kstarsdata.cpp:1684
std::pair< bool, QString > editUserData(const QString &name, const unsigned int index, const SkyObjectUserdata::LinkData &data)
Replace data in the user data at index for the object with name, both in memory and on disk.
Definition kstarsdata.cpp:1662
std::pair< bool, QString > updateUserLog(const QString &name, const QString &newLog)
Update the user log of the object with the name to contain newLog (find and replace).
Definition kstarsdata.cpp:1707
std::pair< bool, QString > addToUserData(const QString &name, const SkyObjectUserdata::LinkData &data)
Adds a link data to the user data for the object with name, both in memory and on disk.
Definition kstarsdata.cpp:1547
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition kstarsdatetime.h:36
static double jdToEpoch(long double jd, EpochType type=JULIAN)
Takes in a Julian Date and returns the corresponding epoch year in the given system.
Definition kstarsdatetime.cpp:269
KStarsDateTime addDays(int nd) const
Modify the Date/Time by adding a number of days.
Definition kstarsdatetime.h:110
void slotAddObject(const SkyObject *o=nullptr, bool session=false, bool update=false)
add a new object to list o pointer to the object to add to the list session flag toggle adding the ob...
Definition observinglist.cpp:244
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition skymap.cpp:366
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
dms riseSetTimeAz(const KStarsDateTime &dt, const GeoLocation *geo, bool rst) const
Definition skyobject.cpp:190
dms transitAltitude(const KStarsDateTime &dt, const GeoLocation *geo) const
Definition skyobject.cpp:244
QTime transitTime(const KStarsDateTime &dt, const GeoLocation *geo) const
The same iteration technique described in riseSetTime() is used here.
Definition skyobject.cpp:239
QTime riseSetTime(const KStarsDateTime &dt, const GeoLocation *geo, bool rst, bool exact=true) const
Determine the time at which the point will rise or set.
Definition skyobject.cpp:93
SkyPoint recomputeCoords(const KStarsDateTime &dt, const GeoLocation *geo=nullptr) const
The equatorial coordinates for the object on date dt are computed and returned, but the object's inte...
Definition skyobject.cpp:295
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition skypoint.cpp:77
QString longname(void) const override
If star is unnamed return "star" otherwise return the longname.
Definition starobject.h:133
const QString toDMSString(const bool forceSign=false, const bool machineReadable=false, const bool highPrecision=false) const
Definition dms.cpp:287
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
Type type(const QSqlDatabase &db)
char * toString(const EngineQuery &query)
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
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
Cancel
KGuiItem del()
void addLayout(QLayout *layout, int stretch)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
char * data()
bool openUrl(const QUrl &url)
Accepted
virtual void accept()
void accepted()
virtual int exec()
virtual void reject()
void rejected()
NoButton
Dirs
QString absoluteFilePath(const QString &fileName) const const
QString filePath(const QString &fileName) const const
bool mkpath(const QString &dirPath) const const
bool hasNext() const const
QString next()
NoFrame
void setFrameStyle(int style)
void setOpenExternalLinks(bool open)
void setTextFormat(Qt::TextFormat)
void setTextInteractionFlags(Qt::TextInteractionFlags flags)
void addWidget(QWidget *w)
void home(bool mark)
void setText(const QString &)
void append(QList< T > &&value)
QListWidget * listWidget() const const
QString text() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QObject * parent() const const
void setObjectName(QAnyStringView name)
Active
Base
void setColor(ColorGroup group, ColorRole role, const QColor &color)
AppLocalDataLocation
QString arg(Args &&... args) const const
QString asprintf(const char *cformat,...)
QString & insert(qsizetype position, QChar ch)
bool isEmpty() const const
QString number(double n, char format, int precision)
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
QByteArray toLocal8Bit() const const
QString toLower() const const
QString join(QChar separator) const const
KeepAspectRatio
ReturnByValue
RichText
TextBrowserInteraction
FastTransformation
Tool
int hour() const const
bool isValid(int h, int m, int s, int ms)
int minute() const const
int childCount() const const
QString text(int column) const const
QPalette::ColorRole backgroundRole() const const
void setEnabled(bool)
void setFont(const QFont &)
QPalette::ColorRole foregroundRole() const const
height
QLayout * layout() const const
palette
void setBackgroundRole(QPalette::ColorRole role)
void setLayout(QLayout *layout)
void setupUi(QWidget *widget)
size
virtual void setVisible(bool visible)
width
void setWindowFlags(Qt::WindowFlags type)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.