|
MythTV master
|
#include <libmythtv/recordingprofile.h>
Classes | |
| class | ID |
| class | Name |
Public Types | |
| enum | RecProfileGroup : std::uint8_t { AllGroups = 0 , SoftwareEncoderGroup = 1 , HardwareMPEG2Group = 2 , HardwareMJPEGGroup = 3 , HardwareHDTVGroup = 4 , DVBGroup = 5 , TranscoderGroup = 6 , FireWireGroup = 7 , USBMPEG4Group = 8 , FreeboxGroup = 12 , HDHomeRunGroup = 13 , CRCIGroup = 14 , ASIGroup = 15 , OCURGroup = 16 , CetonGroup = 17 } |
Public Member Functions | |
| RecordingProfile (const QString &profName=QString()) | |
| ~RecordingProfile (void) override | |
| virtual void | loadByID (int id) |
| virtual bool | loadByType (const QString &name, const QString &cardtype, const QString &videodev) |
| virtual bool | loadByGroup (const QString &name, const QString &group) |
| virtual void | CompleteLoad (int profileId, const QString &type, const QString &name) |
| bool | canDelete (void) override |
| void | deleteEntry (void) override |
| void | setCodecTypes () |
| void | setName (const QString &newName) override |
| const ImageSize & | getImageSize (void) const |
| int | getProfileNum (void) const |
| QString | getName (void) const |
| QString | groupType (void) const |
Public Member Functions inherited from GroupSetting | |
| GroupSetting ()=default | |
| void | edit (MythScreenType *screen) override |
| void | resultEdit (DialogCompletionEvent *) override |
| virtual void | applyChange () |
| void | updateButton (MythUIButtonListItem *item) override |
| This method is called whenever the UI need to reflect a change Reimplement this If you widget need a custom look. More... | |
| virtual bool | canDelete (void) |
| virtual void | deleteEntry (void) |
Public Member Functions inherited from StandardSetting | |
| virtual void | setLabel (QString str) |
| QString | getLabel (void) const |
| virtual void | setHelpText (const QString &str) |
| QString | getHelpText (void) const |
| virtual void | setName (const QString &name) |
| QString | getName (void) const |
| StandardSetting * | byName (const QString &name) |
| bool | isVisible (void) const |
| bool | isEnabled () const |
| bool | isReadOnly () const |
| bool | haveChanged () |
| Return true if the setting have changed or any of its children. More... | |
| void | setChanged (bool changed) |
| StandardSetting * | getParent () const |
| virtual QString | getValue (void) const |
| virtual void | updateButton (MythUIButtonListItem *item) |
| This method is called whenever the UI need to reflect a change Reimplement this If you widget need a custom look. More... | |
| void | SetDBValue (const QString &val) override |
| QString | GetDBValue (void) const override |
| MythUIButtonListItem * | createButton (MythUIButtonList *list) |
| virtual void | addChild (StandardSetting *child) |
| virtual void | removeChild (StandardSetting *child) |
| virtual QList< StandardSetting * > * | getSubSettings () |
| virtual bool | haveSubSettings () |
| virtual void | clearSettings () |
| void | clearTargetedSettings (const QString &value) |
| virtual void | edit (MythScreenType *screen)=0 |
| virtual void | resultEdit (DialogCompletionEvent *dce)=0 |
| virtual void | Load (void) |
| virtual void | Save (void) |
| virtual void | Open (void) |
| virtual void | Close (void) |
| Storage * | GetStorage (void) const |
| void | addTargetedChild (const QString &value, StandardSetting *setting) |
| void | addTargetedChildren (const QString &value, std::initializer_list< StandardSetting * > settings) |
| void | removeTargetedChild (const QString &value, StandardSetting *child) |
| virtual bool | keyPressEvent (QKeyEvent *event) |
| void | MoveToThread (QThread *thread) |
Public Member Functions inherited from StorageUser | |
| virtual void | SetDBValue (const QString &)=0 |
| virtual QString | GetDBValue (void) const =0 |
| virtual | ~StorageUser ()=default |
Static Public Member Functions | |
| static QString | getName (int id) |
| static QMap< int, QString > | GetProfiles (RecProfileGroup group=AllGroups) |
| static QMap< int, QString > | GetTranscodingProfiles () |
| static void | fillSelections (GroupSetting *setting, int group, bool foldautodetect=false) |
Static Public Attributes | |
| static const uint | kTranscoderAutodetect = 0 |
| sentinel value More... | |
Private Slots | |
| void | ResizeTranscode (const QString &val) |
| void | SetLosslessTranscode (const QString &val) |
| void | FiltersChanged (const QString &val) |
Private Attributes | |
| ID * | m_id {nullptr} |
| Name * | m_name {nullptr} |
| ImageSize * | m_imageSize {nullptr} |
| TranscodeResize * | m_trResize {nullptr} |
| TranscodeLossless * | m_trLossless {nullptr} |
| TranscodeFilters * | m_trFilters {nullptr} |
| VideoCompressionSettings * | m_videoSettings {nullptr} |
| AudioCompressionSettings * | m_audioSettings {nullptr} |
| QString | m_profileName |
| bool | m_isEncoder {true} |
| V4L2util * | m_v4l2util {nullptr} |
Additional Inherited Members | |
Public Slots inherited from StandardSetting | |
| virtual void | setEnabled (bool enabled) |
| virtual void | setReadOnly (bool readonly) |
| void | setVisible (bool visible) |
| virtual void | setValue (const QString &newValue) |
| virtual void | setValue (int newValue) |
| virtual void | childChanged (StandardSetting *) |
Signals inherited from StandardSetting | |
| void | valueChanged (const QString &newValue) |
| void | valueChanged (StandardSetting *setting) |
| void | ShouldRedraw (StandardSetting *setting) |
| void | settingsChanged (StandardSetting *selectedSetting=nullptr) |
| void | ChangeSaved () |
| void | helpTextChanged (const QString &newValue) |
Protected Member Functions inherited from StandardSetting | |
| StandardSetting (Storage *_storage=nullptr) | |
| ~StandardSetting () override | |
| void | setParent (StandardSetting *parent) |
Protected Attributes inherited from StandardSetting | |
| QString | m_settingValue |
| bool | m_enabled {true} |
| bool | m_readonly {false} |
| QString | m_label |
| QString | m_helptext |
| QString | m_name |
| bool | m_visible {true} |
Definition at line 41 of file recordingprofile.h.
| enum RecordingProfile::RecProfileGroup : std::uint8_t |
Definition at line 112 of file recordingprofile.h.
|
explicit |
Definition at line 1391 of file recordingprofile.cpp.
Referenced by fillSelections().
|
override |
Definition at line 1430 of file recordingprofile.cpp.
|
overridevirtual |
Reimplemented from GroupSetting.
Definition at line 1897 of file recordingprofile.cpp.
|
virtual |
Definition at line 1580 of file recordingprofile.cpp.
Referenced by loadByGroup(), loadByID(), and loadByType().
|
overridevirtual |
Reimplemented from GroupSetting.
Definition at line 1902 of file recordingprofile.cpp.
|
static |
Definition at line 1741 of file recordingprofile.cpp.
Referenced by RecordingProfileEditor::Load().
|
privateslot |
Definition at line 1481 of file recordingprofile.cpp.
Referenced by CompleteLoad().
|
inline |
Definition at line 103 of file recordingprofile.h.
|
static |
Definition at line 1879 of file recordingprofile.cpp.
|
inline |
Definition at line 105 of file recordingprofile.h.
|
inline |
Definition at line 104 of file recordingprofile.h.
Referenced by CodecParamStorage::GetSetClause(), CodecParamStorage::GetWhereClause(), RecordingProfileStorage::GetWhereClause(), and groupType().
|
static |
Definition at line 1795 of file recordingprofile.cpp.
Referenced by GetTranscodingProfiles().
|
static |
Definition at line 1856 of file recordingprofile.cpp.
Referenced by PostProcMixin::Load().
| QString RecordingProfile::groupType | ( | void | ) | const |
Definition at line 1861 of file recordingprofile.cpp.
Referenced by setCodecTypes().
|
virtual |
Definition at line 1550 of file recordingprofile.cpp.
Referenced by Transcode::GetProfile().
|
virtual |
Definition at line 1456 of file recordingprofile.cpp.
Referenced by Transcode::GetProfile().
|
virtual |
Definition at line 1495 of file recordingprofile.cpp.
|
privateslot |
Definition at line 1438 of file recordingprofile.cpp.
Referenced by CompleteLoad().
| void RecordingProfile::setCodecTypes | ( | ) |
Definition at line 1655 of file recordingprofile.cpp.
|
privateslot |
Definition at line 1444 of file recordingprofile.cpp.
Referenced by CompleteLoad().
|
inlineoverridevirtual |
Reimplemented from StandardSetting.
Definition at line 99 of file recordingprofile.h.
|
static |
sentinel value
Definition at line 137 of file recordingprofile.h.
Referenced by JobQueue::DoTranscodeThread(), JobQueue::GetJobCommand(), and GetProfiles().
|
private |
Definition at line 152 of file recordingprofile.h.
Referenced by CompleteLoad(), setCodecTypes(), and SetLosslessTranscode().
|
private |
Definition at line 145 of file recordingprofile.h.
Referenced by CompleteLoad(), deleteEntry(), and RecordingProfile().
|
private |
Definition at line 147 of file recordingprofile.h.
Referenced by ResizeTranscode(), and SetLosslessTranscode().
Definition at line 154 of file recordingprofile.h.
Referenced by CompleteLoad().
|
private |
Definition at line 146 of file recordingprofile.h.
Referenced by RecordingProfile().
|
private |
Definition at line 153 of file recordingprofile.h.
Referenced by CompleteLoad().
|
private |
Definition at line 150 of file recordingprofile.h.
Referenced by CompleteLoad(), RecordingProfile(), and SetLosslessTranscode().
|
private |
Definition at line 149 of file recordingprofile.h.
Referenced by CompleteLoad(), FiltersChanged(), RecordingProfile(), and SetLosslessTranscode().
|
private |
Definition at line 148 of file recordingprofile.h.
Referenced by CompleteLoad(), RecordingProfile(), ResizeTranscode(), and SetLosslessTranscode().
|
private |
Definition at line 156 of file recordingprofile.h.
Referenced by CompleteLoad(), loadByType(), and ~RecordingProfile().
|
private |
Definition at line 151 of file recordingprofile.h.
Referenced by CompleteLoad(), setCodecTypes(), and SetLosslessTranscode().