19 #ifndef _SESSIONSDIALOG_HPP_ 20 #define _SESSIONSDIALOG_HPP_ 24 #include "StelDialogLogBook.hpp" 25 #include "StelStyle.hpp" 27 class Ui_SessionsDialog;
32 class QSqlRelationalTableModel;
48 void beginDateTimeChanged(
const QDateTime &datetime);
49 void commentsTextChanged();
50 void deleteSelectedSession();
51 void endDateTimeChanged(
const QDateTime &datetime);
52 void insertNewSession();
54 void observerChanged(
const QString &newValue);
55 void openObservations();
56 void sessionSelected(
const QModelIndex &index);
57 void siteChanged(
const QString &newValue);
58 void weatherTextChanged();
63 QSqlRecord currentSessionRecord();
64 void populateFormWithSessionIndex(
const QModelIndex &index);
65 void setupConnections();
67 void teardownConnections();
70 QMap<QString, FieldConcatModel *> fieldModels;
71 int lastSessionRowNumberSelected;
72 QSqlRelationalTableModel* sessionsModel;
73 QMap<QString, QSqlTableModel *> tableModels;
74 Ui_SessionsDialog* ui;
77 #endif // _SESSIONSDIALOG_HPP_
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
void styleChanged()
Notify that the application style changed.
Allows for concatinating fields from a model for disply.
void languageChanged()
Retranslate the content of the dialog.