00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FRAMEPREFERENCESMENU_H
00021 #define FRAMEPREFERENCESMENU_H
00022
00023 #include "menuframe.h"
00024 #include "src/application/soundhandler.h"
00025
00026 #include <qlistbox.h>
00027 #include <qpushbutton.h>
00028 #include <qlabel.h>
00029 #include <qlayout.h>
00030
00031
00040 class FramePreferencesMenu : public MenuFrame
00041 {
00042 Q_OBJECT
00043 public:
00044
00051 FramePreferencesMenu( QWidget * parent = 0, SoundHandler *soundHandler = 0,
00052 const char * name = 0);
00053
00057 void retranslateStrings();
00058
00059 private:
00060 SoundHandler *soundHandler;
00061 QListBox *soundsList;
00062 QLabel *soundsLabel;
00063 QPushButton *closeButton;
00064 QPushButton *addSoundButton;
00065 QPushButton *removeSoundsButton;
00066 QPushButton *changeNameButton;
00067 QGridLayout *grid;
00068 QSpacerItem *spacer;
00069 QSpacerItem *space;
00070
00071 public slots:
00075 void open();
00076
00080 void close();
00081 };
00082
00083 #endif