2017-06-22 17:41:29 +02:00
|
|
|
#ifndef SETTINGSDIALOG_HPP
|
|
|
|
#define SETTINGSDIALOG_HPP
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include <uploaders/uploader.hpp>
|
|
|
|
|
|
|
|
namespace Ui {
|
2017-10-05 19:21:52 +02:00
|
|
|
class SettingsDialog;
|
2017-06-22 17:41:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class SettingsDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SettingsDialog(QWidget *parent = 0);
|
|
|
|
~SettingsDialog();
|
|
|
|
void setScheme(QString scheme);
|
|
|
|
|
2017-07-02 22:31:27 +02:00
|
|
|
private slots:
|
2017-06-22 17:41:29 +02:00
|
|
|
void on_uploaderList_clicked(const QModelIndex &);
|
2017-06-30 15:05:37 +02:00
|
|
|
void on_uploaderList_doubleClicked(const QModelIndex &);
|
2017-06-22 17:41:29 +02:00
|
|
|
void on_delay_valueChanged(double arg1);
|
2017-06-30 15:05:37 +02:00
|
|
|
void on_hotkeys_doubleClicked(const QModelIndex &i);
|
2017-06-22 17:41:29 +02:00
|
|
|
void on_settingsButton_clicked();
|
|
|
|
void on_quickMode_clicked(bool checked);
|
|
|
|
void on_hideToTray_clicked(bool checked);
|
|
|
|
void on_captureCursor_clicked(bool checked);
|
|
|
|
void on_formatBox_currentIndexChanged(int index);
|
|
|
|
void on_imageFormatBox_currentIndexChanged(int index);
|
|
|
|
void on_pushButton_clicked();
|
2017-06-22 23:21:15 +02:00
|
|
|
void on_nameScheme_textChanged(const QString &arg1);
|
2017-06-30 15:05:37 +02:00
|
|
|
void newUploader(Uploader *u);
|
|
|
|
void uploaderChanged(QString newName);
|
2017-07-02 22:31:27 +02:00
|
|
|
void on_saveLocation_currentIndexChanged(int index);
|
2017-06-22 17:41:29 +02:00
|
|
|
|
2017-07-03 21:29:03 +02:00
|
|
|
void on_cropX_valueChanged(int arg1);
|
|
|
|
|
|
|
|
void on_cropY_valueChanged(int arg1);
|
|
|
|
|
2017-09-05 18:26:17 +02:00
|
|
|
void on_fpsMax_valueChanged(int arg1);
|
|
|
|
|
2017-06-22 17:41:29 +02:00
|
|
|
private:
|
|
|
|
Ui::SettingsDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTINGSDIALOG_HPP
|