KShare/src/settingsdialog.hpp

47 lines
1.4 KiB
C++
Raw Normal View History

#ifndef SETTINGSDIALOG_HPP
#define SETTINGSDIALOG_HPP
#include <QDialog>
#include <uploaders/uploader.hpp>
namespace Ui {
2017-10-05 19:21:52 +02:00
class SettingsDialog;
}
class SettingsDialog : public QDialog {
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = 0);
~SettingsDialog();
void setScheme(QString scheme);
private slots:
void on_uploaderList_clicked(const QModelIndex &);
void on_uploaderList_doubleClicked(const QModelIndex &);
void on_delay_valueChanged(double arg1);
void on_hotkeys_doubleClicked(const QModelIndex &i);
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);
void newUploader(Uploader *u);
void uploaderChanged(QString newName);
void on_saveLocation_currentIndexChanged(int index);
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);
void on_fullscreenCapture_textChanged(QString newVal);
void on_focusedCapture_textChanged(QString newVal);
private:
Ui::SettingsDialog *ui;
};
#endif // SETTINGSDIALOG_HPP