mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
3fed97ad86
* init commit * bug fix * call slot of null object bug fix * delete extra disconnect() func * change api and add doc * run astyle * some improvements * memory leak fix * add check on start checkbox * add checkbox to about page * serve version check reply using lambda instead of slot * fix grammar mistakes * more docs * save some lines * change button text * astyle * change message text * dont use QApplication pointer as a parent for network manager * proper deletion of QNetworkReply* * VersionChecker -> UpdateWorker * windows dll hack * after rebase fix * some improvements * better determination of arch * more docs * improvements * add UpdateWorker::showUpdateDialog * remove odd condition * more improvements * fix windows bug * make dialog non-blocking * change text in download progress dialog * bug fix * remove debug conditions * change docs format
40 lines
890 B
C++
40 lines
890 B
C++
#ifndef WELCOMEDIALOG_H
|
|
#define WELCOMEDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
|
|
/**
|
|
* @class WelcomeDialog
|
|
* @brief The WelcomeDialog class will show the user the Welcome windows
|
|
* 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();
|
|
void on_updatesCheckBox_stateChanged(int state);
|
|
|
|
private:
|
|
Ui::WelcomeDialog *ui;
|
|
};
|
|
|
|
#endif // WELCOMEDIALOG_H
|