19 #ifndef _OBSERVATIONSDIALOG_HPP_
20 #define _OBSERVATIONSDIALOG_HPP_
24 #include "StelDialogLogBook.hpp"
25 #include "StelStyle.hpp"
27 class Ui_ObservationsDialog;
32 class QSqlRelationalTableModel;
47 void accessoriesTextChanged();
48 void barlowChanged(
const QString &newValue);
49 void beginDateTimeChanged(
const QDateTime &datetime);
50 void deleteSelectedObservation();
51 void endDateTimeChanged(
const QDateTime &datetime);
52 void filterChanged(
const QString &newValue);
53 void imagerChanged(
const QString &newValue);
54 void insertNewObservation();
55 void limitingMagnitudeChanged(
const QString &newValue);
56 void notesTextChanged();
57 void observerChanged(
const QString &newValue);
58 void observationSelected(
const QModelIndex &index);
59 void ocularChanged(
const QString &newValue);
60 void opticChanged(
const QString &newValue);
61 void seeingChanged(
const QString &newValue);
62 void targetChanged(
const QString &newValue);
67 QSqlRecord currentObservationRecord();
68 void populateFormWithObservationIndex(
const QModelIndex &index);
69 void setupConnections();
71 void teardownConnections();
74 QMap<QString, FieldConcatModel *> fieldModels;
75 int lastObservationRowNumberSelected;
76 QSqlRelationalTableModel* observationsModel;
78 QMap<QString, QSqlTableModel *> tableModels;
79 Ui_ObservationsDialog* ui;
82 #endif // _OBSERVATIONSDIALOG_HPP_
virtual void createDialogContent()
Initialize the dialog widgets and connect the signals/slots.
void styleChanged()
Notify that the application style changed.
void languageChanged()
Retranslate the content of the dialog.
Allows for concatinating fields from a model for disply.