OSCAR-code/mainwindow.h

82 lines
1.6 KiB
C
Raw Normal View History

2011-06-26 08:30:44 +00:00
/********************************************************************
MainWindow Headers
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
License: GPL
*********************************************************************/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGLContext>
#include "daily.h"
#include "overview.h"
2011-07-13 05:27:27 +00:00
#include "oximetry.h"
2011-06-26 08:30:44 +00:00
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void Log(QString s);
2011-06-26 08:30:44 +00:00
private slots:
void on_action_Import_Data_triggered();
void on_actionView_Welcome_triggered();
void on_action_Fullscreen_triggered();
void on_homeButton_clicked();
void on_backButton_clicked();
void on_forwardButton_clicked();
void on_webView_urlChanged(const QUrl &arg1);
void on_urlBar_activated(const QString &arg1);
void on_dailyButton_clicked();
void on_overviewButton_clicked();
void on_webView_loadFinished(bool arg1);
void on_webView_loadStarted();
void on_webView_loadProgress(int progress);
2011-06-26 16:35:54 +00:00
void on_action_About_triggered();
2011-06-27 06:26:29 +00:00
void Startup();
2011-06-27 15:00:00 +00:00
void on_action_Link_Graphs_triggered(bool checked);
void on_actionUse_AntiAliasing_triggered(bool checked);
2011-07-03 08:08:14 +00:00
void on_action_Noon_Date_Split_toggled(bool );
void on_actionDebug_toggled(bool arg1);
2011-07-18 03:36:26 +00:00
void on_actionOverlay_Bars_toggled(bool arg1);
2011-06-26 08:30:44 +00:00
private:
Ui::MainWindow *ui;
Daily * daily;
Overview * overview;
2011-07-13 05:27:27 +00:00
Oximetry * oximetry;
2011-06-26 08:30:44 +00:00
QGLContext *shared_context;
2011-06-27 06:26:29 +00:00
bool first_load;
2011-06-27 10:23:24 +00:00
Profile *profile;
2011-06-26 08:30:44 +00:00
};
#endif // MAINWINDOW_H