00001 #ifndef RATINGSETTINGS_H 00002 #define RATINGSETTINGS_H 00003 00004 #include <mythscreentype.h> 00005 #include <mythuispinbox.h> 00006 #include <mythuibutton.h> 00007 00008 00009 class RatingSettings : public MythScreenType 00010 { 00011 Q_OBJECT 00012 public: 00013 RatingSettings(MythScreenStack *parent, const char *name = 0); 00014 ~RatingSettings(); 00015 00016 bool Create(void); 00017 00018 private: 00019 MythUISpinBox *m_ratingWeight; 00020 MythUISpinBox *m_playCountWeight; 00021 MythUISpinBox *m_lastPlayWeight; 00022 MythUISpinBox *m_randomWeight; 00023 MythUIButton *m_saveButton; 00024 MythUIButton *m_cancelButton; 00025 00026 private slots: 00027 void slotSave(void); 00028 }; 00029 00030 #endif // RATINGSETTINGS_H
1.6.3