|
玉兔远程控制 0.1.0-bate13
|


Public 类型 | |
| enum | ENDACTION { No , OpenFile , OpenFolder } |
信号 | |
| void | sigQualityChanged () |
| void | sigEncodingModeChanged () |
| void | sigImageFileChanged () |
| void | sigEnableVideoChanged () |
| void | sigEnableAudioChanged () |
| void | sigEndActionChanged () |
| void | ImagePathChanged () |
| 信号 继承自 CParameter | |
| void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
Public 成员函数 | |
| CParameterRecord (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| const QString | GetVideoPath () const |
| int | SetVideoPath (const QString &szPath) |
| const QString | GetVideoFile (bool bAuto=false) |
| int | SetVideoFile (const QString &szFile) |
| QString | GetImageFile (bool bAuto=false) |
| void | SetImageFile (const QString &newImageFile) |
| QString | GetImagePath () const |
| void | SetImagePath (const QString &newImagePath) |
| QSize | GetVideoResolution () |
| void | SetVideoResolution (QSize size) |
| int | GetVideoBitRate () const |
| void | SetVideoBitRate (int bitRate) |
| qreal | GetVideoFrameRate () const |
| void | SetVideoFrameRate (qreal newVideoFrameRate) |
| int | GetAudioBitRate () |
| void | SetAudioBitRate (int bitRate) |
| int | GetAudioSampleRate () const |
| void | SetAudioSampleRate (int newAudioSampleRate) |
| int | GetAudioChannelCount () |
| void | SetAudioChannelCount (int count) |
| virtual CParameterRecord & | operator= (const CParameterRecord &in) |
| bool | GetEnableVideo () const |
| void | SetEnableVideo (bool newEnableVideo) |
| bool | GetEnableAudio () const |
| void | SetEnableAudio (bool newEnableAudio) |
| CParameterRecord::ENDACTION | GetEndAction () const |
| void | SetEndAction (ENDACTION newEndAction) |
| Public 成员函数 继承自 CParameter | |
| CParameter (QObject *parent, const QString &szPrefix=QString()) | |
| virtual int | Load (QString szFile=QString()) |
| Load from file | |
| virtual int | Save (QString szFile=QString(), bool bForce=true) |
| Save to file | |
| virtual int | Load (QSettings &set) |
| Load from QSettings | |
| virtual int | Save (QSettings &set, bool bForce=true) |
| Save to QSettings | |
| virtual bool | CheckValidity () |
| 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。 | |
Protected 成员函数 | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
| Protected 成员函数 继承自 CParameter | |
| virtual bool | OnCheckValidity () |
| 检查参数是否有效 | |
| int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。 | |
| bool | GetModified () |
| 参数是否有修改 | |
Private 属性 | |
| bool | m_bEnableVideo |
| bool | m_bEnableAudio |
| QString | m_szVideoFile |
| QString | m_szVideoPath |
| QString | m_szImageFile |
| QString | m_szImagePath |
| QSize | m_VideoResolution |
| int | m_VideoBitRate |
| qreal | m_VideoFrameRate |
| int | m_AudioBitRate |
| int | m_AudioSampleRate |
| int | m_AudioChannelCount |
| ENDACTION | m_EndAction |
额外继承的成员函数 | |
| 属性 继承自 CParameter | |
| bool | Modified |
在文件 ParameterRecord.h 第 12 行定义.
| enum CParameterRecord::ENDACTION |
在文件 ParameterRecord.h 第 73 行定义.
|
explicit |
在文件 ParameterRecord.cpp 第 10 行定义.
| int CParameterRecord::GetAudioBitRate | ( | ) |
在文件 ParameterRecord.cpp 第 358 行定义.
| int CParameterRecord::GetAudioChannelCount | ( | ) |
在文件 ParameterRecord.cpp 第 382 行定义.
| int CParameterRecord::GetAudioSampleRate | ( | ) | const |
在文件 ParameterRecord.cpp 第 368 行定义.
| bool CParameterRecord::GetEnableAudio | ( | ) | const |
在文件 ParameterRecord.cpp 第 101 行定义.
| bool CParameterRecord::GetEnableVideo | ( | ) | const |
在文件 ParameterRecord.cpp 第 87 行定义.
| CParameterRecord::ENDACTION CParameterRecord::GetEndAction | ( | ) | const |
在文件 ParameterRecord.cpp 第 115 行定义.
| QString CParameterRecord::GetImageFile | ( | bool | bAuto = false | ) |
在文件 ParameterRecord.cpp 第 214 行定义.
| QString CParameterRecord::GetImagePath | ( | ) | const |
在文件 ParameterRecord.cpp 第 129 行定义.
| int CParameterRecord::GetVideoBitRate | ( | ) | const |
在文件 ParameterRecord.cpp 第 334 行定义.
| const QString CParameterRecord::GetVideoFile | ( | bool | bAuto = false | ) |
| bAuto |
|
| ext | filename extension |
在文件 ParameterRecord.cpp 第 195 行定义.
| qreal CParameterRecord::GetVideoFrameRate | ( | ) | const |
在文件 ParameterRecord.cpp 第 344 行定义.
| const QString CParameterRecord::GetVideoPath | ( | ) | const |
在文件 ParameterRecord.cpp 第 235 行定义.
| QSize CParameterRecord::GetVideoResolution | ( | ) |
在文件 ParameterRecord.cpp 第 324 行定义.
|
overrideprotectedvirtual |
实现了 CParameter.
在文件 ParameterRecord.cpp 第 146 行定义.
|
overrideprotectedvirtual |
实现了 CParameter.
在文件 ParameterRecord.cpp 第 173 行定义.
|
virtual |
在文件 ParameterRecord.cpp 第 56 行定义.
| void CParameterRecord::SetAudioBitRate | ( | int | bitRate | ) |
在文件 ParameterRecord.cpp 第 363 行定义.
| void CParameterRecord::SetAudioChannelCount | ( | int | count | ) |
在文件 ParameterRecord.cpp 第 387 行定义.
| void CParameterRecord::SetAudioSampleRate | ( | int | newAudioSampleRate | ) |
在文件 ParameterRecord.cpp 第 373 行定义.
| void CParameterRecord::SetEnableAudio | ( | bool | newEnableAudio | ) |
在文件 ParameterRecord.cpp 第 106 行定义.
| void CParameterRecord::SetEnableVideo | ( | bool | newEnableVideo | ) |
在文件 ParameterRecord.cpp 第 92 行定义.
| void CParameterRecord::SetEndAction | ( | ENDACTION | newEndAction | ) |
在文件 ParameterRecord.cpp 第 120 行定义.
| void CParameterRecord::SetImageFile | ( | const QString & | newImageFile | ) |
在文件 ParameterRecord.cpp 第 226 行定义.
| void CParameterRecord::SetImagePath | ( | const QString & | newImagePath | ) |
在文件 ParameterRecord.cpp 第 134 行定义.
| void CParameterRecord::SetVideoBitRate | ( | int | bitRate | ) |
在文件 ParameterRecord.cpp 第 339 行定义.
| int CParameterRecord::SetVideoFile | ( | const QString & | szFile | ) |
在文件 ParameterRecord.cpp 第 205 行定义.
| void CParameterRecord::SetVideoFrameRate | ( | qreal | newVideoFrameRate | ) |
在文件 ParameterRecord.cpp 第 349 行定义.
| int CParameterRecord::SetVideoPath | ( | const QString & | szPath | ) |
在文件 ParameterRecord.cpp 第 240 行定义.
| void CParameterRecord::SetVideoResolution | ( | QSize | size | ) |
在文件 ParameterRecord.cpp 第 329 行定义.
|
private |
在文件 ParameterRecord.h 第 113 行定义.
|
private |
在文件 ParameterRecord.h 第 115 行定义.
|
private |
在文件 ParameterRecord.h 第 114 行定义.
|
private |
在文件 ParameterRecord.h 第 95 行定义.
|
private |
在文件 ParameterRecord.h 第 94 行定义.
|
private |
在文件 ParameterRecord.h 第 117 行定义.
|
private |
在文件 ParameterRecord.h 第 98 行定义.
|
private |
在文件 ParameterRecord.h 第 99 行定义.
|
private |
在文件 ParameterRecord.h 第 96 行定义.
|
private |
在文件 ParameterRecord.h 第 97 行定义.
|
private |
在文件 ParameterRecord.h 第 111 行定义.
|
private |
在文件 ParameterRecord.h 第 112 行定义.
|
private |
在文件 ParameterRecord.h 第 110 行定义.