19 #ifndef _TARGETSDIALOG_HPP_
20 #define _TARGETSDIALOG_HPP_
25 #include "StelDialogLogBook.hpp"
26 #include "StelStyle.hpp"
28 class Ui_TargetsDialogForm;
37 TargetsDialog(QMap<QString, QSqlTableModel *> theTableModels);
47 void catalogNumberChanged();
48 void createTargetFromSelection();
49 void declinationChanged();
50 void deleteSelectedTarget();
51 void distanceChanged();
52 void insertNewTarget();
53 void magnitudeChanged();
56 void rightAscentionChanged();
58 void targetSelected(
const QModelIndex &index);
59 void targetTypeChanged(
const QString &newValue);
60 void updateRTValues();
65 QSqlRecord currentRecord();
66 void populateFormWithIndex(
const QModelIndex &index);
67 void setupConnections();
68 void teardownConnections();
71 int lastRowNumberSelected;
72 Ui_TargetsDialogForm* ui;
73 QSqlTableModel *tableModel;
74 QSqlTableModel *typeTableModel;
78 #endif // _TARGETSDIALOG_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.