MythTV  master
ratingsettings.h
Go to the documentation of this file.
1 #ifndef RATINGSETTINGS_H
2 #define RATINGSETTINGS_H
3 
4 #include <mythscreentype.h>
5 #include <mythuispinbox.h>
6 #include <mythuibutton.h>
7 
8 
10 {
11  Q_OBJECT
12 public:
13  explicit RatingSettings(MythScreenStack *parent, const char *name = nullptr)
14  : MythScreenType(parent, name) {}
15  ~RatingSettings() override = default;
16 
17  bool Create(void) override; // MythScreenType
18 
19 private:
26 
27 private slots:
28  void slotSave(void);
29 };
30 
31 #endif // RATINGSETTINGS_H
RatingSettings::m_ratingWeight
MythUISpinBox * m_ratingWeight
Definition: ratingsettings.h:20
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
RatingSettings::m_saveButton
MythUIButton * m_saveButton
Definition: ratingsettings.h:24
RatingSettings::m_randomWeight
MythUISpinBox * m_randomWeight
Definition: ratingsettings.h:23
MythUIButton
A single button widget.
Definition: mythuibutton.h:22
RatingSettings::Create
bool Create(void) override
Definition: ratingsettings.cpp:9
RatingSettings::slotSave
void slotSave(void)
Definition: ratingsettings.cpp:66
mythuispinbox.h
RatingSettings::m_playCountWeight
MythUISpinBox * m_playCountWeight
Definition: ratingsettings.h:21
RatingSettings
Definition: ratingsettings.h:10
RatingSettings::m_lastPlayWeight
MythUISpinBox * m_lastPlayWeight
Definition: ratingsettings.h:22
MythUISpinBox
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:17
RatingSettings::~RatingSettings
~RatingSettings() override=default
mythuibutton.h
RatingSettings::RatingSettings
RatingSettings(MythScreenStack *parent, const char *name=nullptr)
Definition: ratingsettings.h:13
RatingSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition: ratingsettings.h:25
mythscreentype.h