Initial startup screen, here user can decide

to use DBus or local context, frameless window.
In the future likely more options, e.g. for bootstrapping
(setting the DBus server IP)
This commit is contained in:
Klaus Basan
2014-01-13 01:20:06 +01:00
parent 9ff197ff2c
commit ccfdee64e0
4 changed files with 435 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
/* Copyright (C) 2013 VATSIM Community / authors
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef SAMPLE_INTROWINDOW_H
#define SAMPLE_INTROWINDOW_H
#include "guimodeenums.h"
#include <QDialog>
namespace Ui
{
class CIntroWindow;
}
class CIntroWindow : public QDialog
{
Q_OBJECT
public:
/*!
* \brief Constructor
* \param parent
*/
explicit CIntroWindow(QWidget *parent = nullptr);
/*!
* Destructor
*/
~CIntroWindow();
/*!
* \brief Selected window mode
* \return
*/
GuiModes::WindowMode getWindowMode() const;
/*!
* \brief Get core mode
* \return
*/
GuiModes::CoreMode getCoreMode() const;
private slots:
/*!
* \brief Button has been clicked
*/
void buttonClicked() const;
private:
Ui::CIntroWindow *ui;
};
#endif // guard