Kstars
catalogdetails.cpp
A simple data entry dialog to create and edit objects in CatalogDB catalogs.
Definition addcatalogobject.h:27
A dialog that shows catalog information and provides facilities to edit catalog meta information and ...
Definition catalogdetails.h:38
static constexpr int list_size
How many catalog entries to show in the list.
Definition catalogdetails.h:45
CatalogDetails(QWidget *parent, const QString &db_path, const int catalog_id)
Definition catalogdetails.cpp:21
A simple data entry form for creating/editing catalog meta information.
Definition catalogeditform.h:26
CatalogObject & insertStaticObject(const CatalogObject &obj)
Insert an object obj into m_static_objects and return a reference to the newly inserted object.
Definition catalogscomponent.cpp:300
std::pair< bool, QString > add_object(const int catalog_id, const SkyObject::TYPE t, const CachingDms &r, const CachingDms &d, const QString &n, const float m=NaN::f, const QString &lname=QString(), const QString &catalog_identifier=QString(), const float a=0.0, const float b=0.0, const double pa=0.0, const float flux=0)
Add a CatalogObject to a table with `catalog_id`.
Definition catalogsdb.cpp:698
CatalogObjectList find_objects_by_name(const QString &name, const int limit=-1, const bool exactMatchOnly=false)
Find an objects by name.
Definition catalogsdb.cpp:499
std::pair< bool, QString > update_catalog_meta(const Catalog &cat)
Update the metatadata `catalog`.
Definition catalogsdb.cpp:945
const std::pair< bool, Catalog > get_catalog(const int id)
Definition catalogsdb.cpp:381
std::pair< bool, QString > remove_object(const int catalog_id, const CatalogObject::oid &id)
Remove the catalog object with the `oid` from the catalog with the `catalog_id`.
Definition catalogsdb.cpp:734
std::pair< bool, QString > add_objects(const int catalog_id, const CatalogObjectVector &objects)
Add the `objects` to a table with `catalog_id`.
Definition catalogsdb.cpp:1056
DetailDialog is a window showing detailed information for a selected object.
Definition detaildialog.h:71
QString i18n(const char *text, const TYPE &arg...)
GeoCoordinates geo(const QVariant &location)
void clicked(bool checked)
SelectRows
void clicked(const QModelIndex &index)
void doubleClicked(const QModelIndex &index)
Accepted
virtual void done(int r)
void finished(int result)
virtual void reject()
void textChanged(const QString &text)
StandardButton warning(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString number(double n, char format, int precision)
void setInterval(int msec)
void stop()
void timeout()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:54:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:54:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.