4 * Author: Petr Kubizňák
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
{
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
);
31 virtual ~SettingsForm();
33 void setSoundEffectsOn(bool value
);
34 void setSoundMusicType(EMusicType type
);
36 bool getSoundEffectsOn(void);
37 EMusicType
getSoundMusicType(void);
41 void rookieRadio_Clicked(void);
42 void advancedRadio_Clicked(void);
43 void suicideRadio_Clicked(void);
44 void customRadio_Clicked(void);
46 void soundEffectsBtn_Clicked(void);
47 void soundMusicBtn_Clicked(void);
51 #endif /* SETTINGSFORM_H_ */