blob: 9da8ae637f474b1046da1dc20642fe6b019c212c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef PREFERENCEDIALOG_H
#define PREFERENCEDIALOG_H
#include <QDialog>
namespace Ui {
class PreferenceDialog;
}
class PreferenceDialog : public QDialog
{
Q_OBJECT
public:
explicit PreferenceDialog(QWidget *parent = nullptr);
~PreferenceDialog() override;
protected slots:
void accept() override;
void colorClick();
void on_resetColors_clicked();
void on_autoPdflatex_stateChanged(int state);
void on_browsePdflatex_clicked();
private:
Ui::PreferenceDialog *ui;
QColor color(QPushButton *btn);
void setColor(QPushButton *btn, QColor col);
};
#endif // PREFERENCEDIALOG_H
|