|
玉兔远程控制 0.0.37
|
Public 类型 | |
| enum class | TYPE { Camera , Url } |
信号 | |
| void | sigAudioInput (int nIndex) |
| void | sigEnableAudioInput (bool bEnable) |
| void | sigAudioInputMuted (bool bMuted) |
| void | sigAudioInputVolume (float fVolume) |
| void | sigAudioOutput (int nIndex) |
| void | sigEnableAudioOutput (bool bEnable) |
| void | sigAudioOutputMuted (bool bMuted) |
| void | sigAudioOutputVolume (float fVolume) |
信号 继承自 CParameterBase | |
| void | sigNameChanged (const QString &name=QString()) |
| void | sigShowServerNameChanged () |
| void | sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw) |
| void | sigZoomFactorChanged (double newZoomFactor) |
信号 继承自 CParameterConnecter | |
| void | sigSetParameterClient () |
信号 继承自 CParameter | |
| void | sigChanged () |
| 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。 | |
Public 成员函数 | |
| CParameterPlayer (QObject *parent=nullptr) | |
| const TYPE | GetType () const |
| int | SetType (TYPE type) |
| const QString | GetUrl () const |
| int | SetUrl (const QString &szUrl) |
| const int | GetCamera () const |
| int | SetCamera (int nIndex) |
| const int | GetAudioInput () const |
| int | SetAudioInput (int nIndex) |
| const bool | GetEnableAudioInput () const |
| int | SetEnableAudioInput (bool bEnable) |
| const bool | GetAudioInputMuted () const |
| int | SetAudioInputMuted (bool bMuted) |
| const float | GetAudioInputVolume () const |
| int | SetAudioInputVolume (float fVolume) |
| const int | GetAudioOutput () const |
| int | SetAudioOutput (int nIndex) |
| const bool | GetEnableAudioOutput () const |
| int | SetEnableAudioOutput (bool bEnable) |
| const bool | GetAudioOutputMuted () const |
| int | SetAudioOutputMuted (bool bMuted) |
| const float | GetAudioOutputVolume () const |
| int | SetAudioOutputVolume (float fVolume) |
| const int | GetScreen () const |
| int | SetScreen (int nIndex) |
Public 成员函数 继承自 CParameterBase | |
| CParameterBase (QObject *parent=nullptr) | |
| CParameterBase (CParameterConnecter *parent, const QString &szPrefix=QString()) | |
| const QString | GetName () const |
| void | SetName (const QString &szName) |
| const QString | GetServerName () const |
| void | SetServerName (const QString &szName) |
| bool | GetShowServerName () const |
| void | SetShowServerName (bool NewShowServerName) |
| bool | GetOnlyView () const |
| void | SetOnlyView (bool only) |
| const bool | GetLocalCursor () const |
| void | SetLocalCursor (bool cursor) |
| const bool | GetCursorPosition () const |
| void | SetCursorPosition (bool pos) |
| virtual const bool | GetClipboard () const |
| virtual void | SetClipboard (bool c) |
| bool | GetSupportsDesktopResize () const |
| void | SetSupportsDesktopResize (bool newSupportsDesktopResize) |
| bool | GetLedState () const |
| void | SetLedState (bool state) |
| CFrmViewer::ADAPT_WINDOWS | GetAdaptWindows () |
| void | SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw) |
| double | GetZoomFactor () const |
| void | SetZoomFactor (double newZoomFactor) |
Public 成员函数 继承自 CParameterConnecter | |
| CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
| CParameterClient * | GetParameterClient () |
| Get CParameterClient | |
| int | SetParameterClient (CParameterClient *p) |
Public 成员函数 继承自 CParameter | |
| CParameter (QObject *parent=nullptr, 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 storage | |
| virtual int | Save (QSettings &set, bool bForce=true) |
| Save to storage | |
| virtual bool | CheckValidity () |
| 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。 | |
Protected 成员函数 | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
Protected 成员函数 继承自 CParameterBase | |
| virtual void | slotSetParameterClient () override |
| 设置 CParameterClient 后调用,用于初始化与 CParameterClient 有关的操作。 | |
Protected 成员函数 继承自 CParameterConnecter | |
| QByteArray | PasswordSum (const std::string &password, const std::string &key) |
| int | LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set) |
| int | SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false) |
Protected 成员函数 继承自 CParameter | |
| virtual bool | OnCheckValidity () |
| 检查参数是否有效 | |
| int | SetModified (bool bModified=true) |
| 在设置参数时,如果有修改,则调用。 | |
| bool | GetModified () |
| 参数是否有修改 | |
Private 属性 | |
| TYPE | m_Type |
| QString | m_szUrl |
| int | m_nCamera |
| int | m_nAudioInput |
| bool | m_bEnableAudioInput |
| bool | m_bAudioInputMuted |
| float | m_fAudioInputVolume |
| int | m_nAudioOutput |
| bool | m_bEnableAudioOutput |
| bool | m_bAudioOutputMuted |
| float | m_fAudioOutputVolume |
| int | m_nScreen |
额外继承的成员函数 | |
Public 属性 继承自 CParameterBase | |
| CParameterNet | m_Net |
| CParameterProxy | m_Proxy |
| CParameterRecord | m_Record |
Protected 槽 继承自 CParameterConnecter | |
属性 继承自 CParameterBase | |
| QString | Name |
| QString | ServerName |
| bool | ShowServerName |
| bool | OnlyView |
| bool | LocalCursor |
| CFrmViewer::ADAPT_WINDOWS | AdaptWindows |
| double | ZoomFactor |
属性 继承自 CParameter | |
| bool | Modified |
在文件 ParameterPlayer.h 第 8 行定义.
|
strong |
在文件 ParameterPlayer.h 第 14 行定义.
|
explicit |
在文件 ParameterPlayer.cpp 第 5 行定义.
| const int CParameterPlayer::GetAudioInput | ( | ) | const |
在文件 ParameterPlayer.cpp 第 62 行定义.
| const bool CParameterPlayer::GetAudioInputMuted | ( | ) | const |
在文件 ParameterPlayer.cpp 第 92 行定义.
| const float CParameterPlayer::GetAudioInputVolume | ( | ) | const |
在文件 ParameterPlayer.cpp 第 107 行定义.
| const int CParameterPlayer::GetAudioOutput | ( | ) | const |
在文件 ParameterPlayer.cpp 第 122 行定义.
| const bool CParameterPlayer::GetAudioOutputMuted | ( | ) | const |
在文件 ParameterPlayer.cpp 第 152 行定义.
| const float CParameterPlayer::GetAudioOutputVolume | ( | ) | const |
在文件 ParameterPlayer.cpp 第 167 行定义.
| const int CParameterPlayer::GetCamera | ( | ) | const |
在文件 ParameterPlayer.cpp 第 48 行定义.
| const bool CParameterPlayer::GetEnableAudioInput | ( | ) | const |
在文件 ParameterPlayer.cpp 第 77 行定义.
| const bool CParameterPlayer::GetEnableAudioOutput | ( | ) | const |
在文件 ParameterPlayer.cpp 第 137 行定义.
| const int CParameterPlayer::GetScreen | ( | ) | const |
在文件 ParameterPlayer.cpp 第 240 行定义.
| const CParameterPlayer::TYPE CParameterPlayer::GetType | ( | ) | const |
在文件 ParameterPlayer.cpp 第 20 行定义.
| const QString CParameterPlayer::GetUrl | ( | ) | const |
在文件 ParameterPlayer.cpp 第 34 行定义.
|
overrideprotectedvirtual |
重载 CParameterBase .
在文件 ParameterPlayer.cpp 第 182 行定义.
|
overrideprotectedvirtual |
重载 CParameterBase .
在文件 ParameterPlayer.cpp 第 211 行定义.
| int CParameterPlayer::SetAudioInput | ( | int | nIndex | ) |
在文件 ParameterPlayer.cpp 第 67 行定义.
| int CParameterPlayer::SetAudioInputMuted | ( | bool | bMuted | ) |
在文件 ParameterPlayer.cpp 第 97 行定义.
| int CParameterPlayer::SetAudioInputVolume | ( | float | fVolume | ) |
在文件 ParameterPlayer.cpp 第 112 行定义.
| int CParameterPlayer::SetAudioOutput | ( | int | nIndex | ) |
在文件 ParameterPlayer.cpp 第 127 行定义.
| int CParameterPlayer::SetAudioOutputMuted | ( | bool | bMuted | ) |
在文件 ParameterPlayer.cpp 第 157 行定义.
| int CParameterPlayer::SetAudioOutputVolume | ( | float | fVolume | ) |
在文件 ParameterPlayer.cpp 第 172 行定义.
| int CParameterPlayer::SetCamera | ( | int | nIndex | ) |
在文件 ParameterPlayer.cpp 第 53 行定义.
| int CParameterPlayer::SetEnableAudioInput | ( | bool | bEnable | ) |
在文件 ParameterPlayer.cpp 第 82 行定义.
| int CParameterPlayer::SetEnableAudioOutput | ( | bool | bEnable | ) |
在文件 ParameterPlayer.cpp 第 142 行定义.
| int CParameterPlayer::SetScreen | ( | int | nIndex | ) |
在文件 ParameterPlayer.cpp 第 245 行定义.
| int CParameterPlayer::SetType | ( | TYPE | type | ) |
在文件 ParameterPlayer.cpp 第 25 行定义.
| int CParameterPlayer::SetUrl | ( | const QString & | szUrl | ) |
在文件 ParameterPlayer.cpp 第 39 行定义.
|
private |
在文件 ParameterPlayer.h 第 81 行定义.
|
private |
在文件 ParameterPlayer.h 第 85 行定义.
|
private |
在文件 ParameterPlayer.h 第 80 行定义.
|
private |
在文件 ParameterPlayer.h 第 84 行定义.
|
private |
在文件 ParameterPlayer.h 第 82 行定义.
|
private |
在文件 ParameterPlayer.h 第 86 行定义.
|
private |
在文件 ParameterPlayer.h 第 79 行定义.
|
private |
在文件 ParameterPlayer.h 第 83 行定义.
|
private |
在文件 ParameterPlayer.h 第 78 行定义.
|
private |
在文件 ParameterPlayer.h 第 92 行定义.
|
private |
在文件 ParameterPlayer.h 第 77 行定义.
|
private |
在文件 ParameterPlayer.h 第 76 行定义.