mirror of
https://github.com/Quill-OS/quill.git
synced 2024-11-01 05:43:21 -07:00
34 lines
600 B
C
34 lines
600 B
C
|
#ifndef BRIGHTNESSDIALOG_H
|
||
|
#define BRIGHTNESSDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
namespace Ui {
|
||
|
class brightnessDialog;
|
||
|
}
|
||
|
|
||
|
class brightnessDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
QString checkconfig_str_val;
|
||
|
int oldValue;
|
||
|
explicit brightnessDialog(QWidget *parent = nullptr);
|
||
|
~brightnessDialog();
|
||
|
|
||
|
private slots:
|
||
|
void on_quitBtn_clicked();
|
||
|
void on_horizontalSlider_valueChanged(int value);
|
||
|
void on_incBtn_clicked();
|
||
|
void on_decBtn_clicked();
|
||
|
void on_okBtn_clicked();
|
||
|
|
||
|
private:
|
||
|
Ui::brightnessDialog *ui;
|
||
|
};
|
||
|
|
||
|
#endif // BRIGHTNESSDIALOG_H
|