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 |
![]() | |
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 void | setLabel (QString str) |
QString | getLabel (void) const |
virtual void | setHelpText (const QString &str) |
QString | getHelpText (void) const |
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 |
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 | 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) |
![]() | |
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 | |
![]() | |
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 *) |
![]() | |
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) |
![]() | |
StandardSetting (Storage *_storage=nullptr) | |
~StandardSetting () override | |
void | setParent (StandardSetting *parent) |
![]() | |
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 107 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.
|
virtual |
Definition at line 1456 of file recordingprofile.cpp.
Referenced by Transcode::GetProfile().
|
virtual |
Definition at line 1495 of file recordingprofile.cpp.
|
virtual |
Definition at line 1550 of file recordingprofile.cpp.
Referenced by Transcode::GetProfile().
|
virtual |
Definition at line 1580 of file recordingprofile.cpp.
Referenced by loadByGroup(), loadByID(), and loadByType().
|
overridevirtual |
Reimplemented from GroupSetting.
Definition at line 1919 of file recordingprofile.cpp.
|
overridevirtual |
Reimplemented from GroupSetting.
Definition at line 1924 of file recordingprofile.cpp.
void RecordingProfile::setCodecTypes | ( | ) |
Definition at line 1655 of file recordingprofile.cpp.
|
inlineoverridevirtual |
Reimplemented from StandardSetting.
Definition at line 94 of file recordingprofile.h.
|
inline |
Definition at line 98 of file recordingprofile.h.
|
inline |
Definition at line 99 of file recordingprofile.h.
Referenced by CodecParamStorage::GetSetClause(), RecordingProfileStorage::GetWhereClause(), CodecParamStorage::GetWhereClause(), and groupType().
|
inline |
Definition at line 100 of file recordingprofile.h.
QString RecordingProfile::groupType | ( | void | ) | const |
Definition at line 1883 of file recordingprofile.cpp.
Referenced by setCodecTypes().
|
static |
Definition at line 1901 of file recordingprofile.cpp.
|
static |
Definition at line 1817 of file recordingprofile.cpp.
Referenced by GetTranscodingProfiles().
|
static |
Definition at line 1878 of file recordingprofile.cpp.
Referenced by PostProcMixin::Load().
|
static |
Definition at line 1741 of file recordingprofile.cpp.
Referenced by RecordingProfileEditor::Load().
|
privateslot |
Definition at line 1438 of file recordingprofile.cpp.
Referenced by CompleteLoad().
|
privateslot |
Definition at line 1444 of file recordingprofile.cpp.
Referenced by CompleteLoad().
|
privateslot |
Definition at line 1481 of file recordingprofile.cpp.
Referenced by CompleteLoad().
|
static |
sentinel value
Definition at line 132 of file recordingprofile.h.
Referenced by JobQueue::DoTranscodeThread(), JobQueue::GetJobCommand(), and GetProfiles().
|
private |
Definition at line 140 of file recordingprofile.h.
Referenced by CompleteLoad(), deleteEntry(), and RecordingProfile().
|
private |
Definition at line 141 of file recordingprofile.h.
Referenced by RecordingProfile().
|
private |
Definition at line 142 of file recordingprofile.h.
Referenced by ResizeTranscode(), and SetLosslessTranscode().
|
private |
Definition at line 143 of file recordingprofile.h.
Referenced by CompleteLoad(), RecordingProfile(), ResizeTranscode(), and SetLosslessTranscode().
|
private |
Definition at line 144 of file recordingprofile.h.
Referenced by CompleteLoad(), FiltersChanged(), RecordingProfile(), and SetLosslessTranscode().
|
private |
Definition at line 145 of file recordingprofile.h.
Referenced by CompleteLoad(), RecordingProfile(), and SetLosslessTranscode().
|
private |
Definition at line 146 of file recordingprofile.h.
Referenced by CompleteLoad(), setCodecTypes(), and SetLosslessTranscode().
|
private |
Definition at line 147 of file recordingprofile.h.
Referenced by CompleteLoad(), setCodecTypes(), and SetLosslessTranscode().
|
private |
Definition at line 148 of file recordingprofile.h.
Referenced by CompleteLoad().
Definition at line 149 of file recordingprofile.h.
Referenced by CompleteLoad().
|
private |
Definition at line 151 of file recordingprofile.h.
Referenced by CompleteLoad(), loadByType(), and ~RecordingProfile().