2018-05-29 08:12:37 +00:00
|
|
|
|
/* Welcome page Header
|
|
|
|
|
*
|
2024-01-13 20:27:48 +00:00
|
|
|
|
* Copyright (c) 2019-2024 The OSCAR Team
|
2018-05-29 08:12:37 +00:00
|
|
|
|
* Copyright (c) 2018 Mark Watkins <mark@jedimark.net>
|
|
|
|
|
*
|
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
|
* License. See the file COPYING in the main directory of Source Code. */
|
|
|
|
|
|
|
|
|
|
#ifndef WELCOME_H
|
2018-05-07 15:11:02 +00:00
|
|
|
|
#define WELCOME_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class Welcome;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Welcome : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit Welcome(QWidget *parent = 0);
|
|
|
|
|
~Welcome();
|
|
|
|
|
|
2018-05-07 16:54:08 +00:00
|
|
|
|
void refreshPage();
|
|
|
|
|
|
2018-05-07 15:11:02 +00:00
|
|
|
|
private slots:
|
|
|
|
|
void on_dailyButton_clicked();
|
|
|
|
|
|
|
|
|
|
void on_overviewButton_clicked();
|
|
|
|
|
|
|
|
|
|
void on_statisticsButton_clicked();
|
|
|
|
|
|
|
|
|
|
void on_oximetryButton_clicked();
|
|
|
|
|
|
|
|
|
|
void on_importButton_clicked();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QString GenerateCPAPHTML();
|
|
|
|
|
QString GenerateOxiHTML();
|
2018-05-07 16:54:08 +00:00
|
|
|
|
QPixmap pixmap;
|
2018-05-07 15:11:02 +00:00
|
|
|
|
Ui::Welcome *ui;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // WELCOME_H
|