mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
... create folder structure for existing and new athletes ... upgrade existing athlete to new structure when opening / incl. logging and error handling ... convert any "Downloaded" file to .JSON directly - store source file in /downloads ... convert any "Imported" file to .JSON directly - store source file in /imports
88 lines
1.2 KiB
C++
88 lines
1.2 KiB
C++
#ifndef ABOUTDIALOG_H
|
|
#define ABOUTDIALOG_H
|
|
#include "GoldenCheetah.h"
|
|
|
|
#include "Pages.h"
|
|
#include <QDialog>
|
|
|
|
class Context;
|
|
class AboutPage;
|
|
class VersionPage;
|
|
class ConfigPage;
|
|
class ContributorsPage;
|
|
|
|
class AboutDialog: public QDialog
|
|
{
|
|
Q_OBJECT
|
|
G_OBJECT
|
|
|
|
public:
|
|
AboutDialog(Context *context);
|
|
|
|
private:
|
|
Context *context;
|
|
|
|
AboutPage *aboutPage;
|
|
VersionPage *versionPage;
|
|
ConfigPage *configPage;
|
|
ContributorsPage *contributorsPage;
|
|
|
|
QTabWidget *tabWidget;
|
|
QVBoxLayout *mainLayout;
|
|
};
|
|
|
|
|
|
class AboutPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
G_OBJECT
|
|
|
|
|
|
public:
|
|
AboutPage(Context *context);
|
|
|
|
private:
|
|
Context *context;
|
|
};
|
|
|
|
class VersionPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
G_OBJECT
|
|
|
|
|
|
public:
|
|
VersionPage(Context *context);
|
|
|
|
private:
|
|
Context *context;
|
|
};
|
|
|
|
class ConfigPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ConfigPage(Context *context);
|
|
|
|
private:
|
|
Context *context;
|
|
};
|
|
|
|
class ContributorsPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
G_OBJECT
|
|
|
|
|
|
public:
|
|
ContributorsPage(Context *context);
|
|
|
|
private:
|
|
Context *context;
|
|
|
|
};
|
|
|
|
|
|
#endif // ABOUTDIALOG_H
|