added libs and oalist
[mines3d.git] / ui / qt / SettingsForm.h
blobd508f26f0392c5a232295ed942bc25b194c083f1
1 /*
2 * File: SettingsForm.h
3 * Created: 11.1.2010
4 * Author: Petr Kubizňák
5 * Purpose:
6 */
8 #ifndef SETTINGSFORM_H_
9 #define SETTINGSFORM_H_
11 #include "ui_SettingsForm.h"
12 #include <QtGui/QDialog>
14 enum EMusicType {MUSIC_NO, MUSIC_1, MUSIC_2};
16 class SettingsForm : public QDialog {
17 Q_OBJECT
19 protected:
20 EMusicType musicType;
22 /* nastavi vsem 4 spinum stejnou hodnotu enabled, tu vraci */
23 bool setSpinsEnabled(bool value);
24 /* nastavi vsem 4 spinum zadane hodnoty */
25 void setSpinsValues(int layers, int rows, int columns, int mines);
27 public:
28 Ui::SettingsForm ui;
30 SettingsForm();
31 virtual ~SettingsForm();
33 void setSoundEffectsOn(bool value);
34 void setSoundMusicType(EMusicType type);
36 bool getSoundEffectsOn(void);
37 EMusicType getSoundMusicType(void);
39 public Q_SLOTS:
40 //stisk tlacitek modu
41 void rookieRadio_Clicked(void);
42 void advancedRadio_Clicked(void);
43 void suicideRadio_Clicked(void);
44 void customRadio_Clicked(void);
45 //tlacitka zvuku
46 void soundEffectsBtn_Clicked(void);
47 void soundMusicBtn_Clicked(void);
51 #endif /* SETTINGSFORM_H_ */