20 #ifndef _BOOKMARKSDIALOG_HPP_ 21 #define _BOOKMARKSDIALOG_HPP_ 24 #include <QStandardItemModel> 29 #include "StelDialog.hpp" 30 #include "StelCore.hpp" 32 class Ui_bookmarksDialogForm;
59 virtual void createDialogContent();
60 Ui_bookmarksDialogForm *ui;
63 void addBookmarkButtonPressed();
64 void removeBookmarkButtonPressed();
65 void goToBookmarkButtonPressed();
66 void clearBookmarksButtonPressed();
68 void selectCurrentBookmark(
const QModelIndex &modelIdx);
71 enum BookmarksColumns {
79 QStandardItemModel * bookmarksListModel;
84 QString bookmarksJsonPath;
85 QHash<QString, bookmark> bookmarksCollection;
88 void setBookmarksHeaderNames();
90 void addModelRow(
int number, QString uuid, QString name, QString nameI18n =
"", QString date =
"", QString
Location =
"");
94 void goToBookmark(QString uuid);
98 #endif // _BOOKMARKSDIALOG_HPP_
Main class for Stellarium core processing.
Base class for all the GUI windows in Stellarium.
Manage the selection and queries on one or more StelObjects.