19 #ifndef _LOGBOOKCONFIGDIALOG_HPP_
20 #define _LOGBOOKCONFIGDIALOG_HPP_
23 #include "StelDialogLogBook.hpp"
24 #include "StelStyle.hpp"
26 #include "ui_LogBookConfigDialog.h"
27 #include "ui_BarlowsWidget.h"
28 #include "ui_FiltersWidget.h"
29 #include "ui_ImagersWidget.h"
30 #include "ui_ObserversWidget.h"
31 #include "ui_OcularsWidget.h"
32 #include "ui_OpticsWidget.h"
33 #include "ui_SitesWidget.h"
37 class Ui_LogBookConfigDialogForm;
55 void currentBarlowChanged();
56 void currentFilterChanged();
57 void currentImagerChanged();
58 void currentObserverChanged();
59 void currentOcularChanged();
60 void currentOpticChanged();
61 void currentSiteChanged();
67 void setupListViews();
72 Ui_LogBookConfigDialogForm *ui;
73 Ui_BarlowsWidget *barlowsWidget;
74 Ui_FiltersWidget *filtersWidget;
75 Ui_ImagersWidget *imagersWidget;
76 Ui_ObserversWidget *observersWidget;
77 Ui_OcularsWidget *ocularsWidget;
78 Ui_OpticsWidget *opticsWidget;
79 Ui_SitesWidget *sitesWidget;
81 QMap<QString, QSqlTableModel *> tableModels;
82 QMap<QString, QWidget *> widgets;
85 int selectedBarlowRow;
86 int selectedFilterRow;
87 int selectedImagerRow;
88 int selectedObserverRow;
89 int selectedOcularRow;
94 #endif // _LOGBOOKCONFIGDIALOG_HPP_