QGCWelcomeMainWindow.h 808 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#ifndef QGCWELCOMEMAINWINDOW_H
#define QGCWELCOMEMAINWINDOW_H

#include <QMainWindow>
#include "MainWindow.h"
#include "QGCViewModeSelection.h"

namespace Ui {
class QGCWelcomeMainWindow;
}

class QGCWelcomeMainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit QGCWelcomeMainWindow(QWidget *parent = 0);
    ~QGCWelcomeMainWindow();

    bool getStoreSettings()
    {
        return storeSettings;
    }

public slots:
    void setStoreSettings(bool settings)
    {
        storeSettings = settings;
    }

signals:
    void customViewModeSelected(enum MainWindow::CUSTOM_MODE mode);
    void settingsStorageRequested(bool requested);
    
private:
    Ui::QGCWelcomeMainWindow *ui;
    QGCViewModeSelection* viewModeSelection;
    bool storeSettings;
};

#endif // QGCWELCOMEMAINWINDOW_H