summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 60f0d4609..ea0ec015e 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -11,6 +11,7 @@
#include <QModelIndex>
#include <QAction>
+struct DiveList;
class QSortFilterProxyModel;
class DiveTripModel;
@@ -24,15 +25,24 @@ class DiveNotes;
class Stats;
class Equipment;
class QItemSelection;
+class DiveListView;
+class GlobeGPS;
+class MainTab;
+class ProfileGraphicsView;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
+ ProfileGraphicsView *graphics();
+ MainTab *information();
+ DiveListView *dive_list();
+ GlobeGPS *globe();
private Q_SLOTS:
+
/* file menu action */
void on_actionNew_triggered();
void on_actionOpen_triggered();
@@ -86,4 +96,6 @@ private:
void redrawProfile();
};
+MainWindow *mainWindow();
+
#endif