216e1a9f71
Commit the original Caesium 1.7.0 codebase with some adjustment. You can also get the original source at: https://sourceforge.net/projects/caesium/files/1.7.0/ Since the file names listed in the Qt resource file have encoding issue which can cause compile failure, these files get removed. Adjustments: + .gitignore M icons.qrc - *.pro.user(.*) - icons/language/*.png
32 lines
601 B
C++
32 lines
601 B
C++
#ifndef PREFERENCES_H
|
|
#define PREFERENCES_H
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
namespace Ui {
|
|
class Preferences;
|
|
}
|
|
|
|
class Preferences : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Preferences(QWidget *parent = 0);
|
|
~Preferences();
|
|
|
|
private:
|
|
Ui::Preferences *ui;
|
|
|
|
private slots:
|
|
void on_cancelButton_clicked();
|
|
void on_OKButton_clicked();
|
|
void on_browseToolButton_clicked();
|
|
void loadSettings();
|
|
void loadLanguages();
|
|
void on_applyButton_clicked();
|
|
void on_pngLevelSlider_valueChanged(int position);
|
|
};
|
|
|
|
#endif // PREFERENCES_H
|