2019-01-19 20:54:02 +00:00
|
|
|
#ifndef WELCOMEDIALOG_H
|
|
|
|
#define WELCOMEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
2019-03-06 20:30:39 +00:00
|
|
|
/**
|
|
|
|
* @class WelcomeDialog
|
|
|
|
* @brief The WelcomeDialog class will show the user the Welcome windows
|
2019-01-19 20:54:02 +00:00
|
|
|
* upon first execution of Cutter.
|
|
|
|
*
|
|
|
|
* Upon first execution of Cutter, the WelcomeDialog would be showed to the user.
|
|
|
|
* The Welcome dialog would be showed after a reset of Cutter's preferences by the user.
|
|
|
|
*/
|
|
|
|
|
|
|
|
class WelcomeDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class WelcomeDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit WelcomeDialog(QWidget *parent = 0);
|
|
|
|
~WelcomeDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_themeComboBox_currentIndexChanged(int index);
|
|
|
|
void onLanguageComboBox_currentIndexChanged(int index);
|
|
|
|
void on_checkUpdateButton_clicked();
|
|
|
|
void on_continueButton_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::WelcomeDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WELCOMEDIALOG_H
|