Rabbit Remote Control 0.0.30
|
Public Types | |
enum class | TYPE { Camera , Url } |
Signals | |
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) |
Signals inherited from CParameterBase | |
void | sigNameChanged (const QString &name=QString()) |
void | sigShowServerNameChanged () |
void | sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw) |
void | sigZoomFactorChanged (double newZoomFactor) |
Signals inherited from CParameterConnecter | |
void | sigSetParameterClient () |
Signals inherited from CParameter | |
void | sigChanged () |
emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event. | |
Public Member Functions | |
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 Member Functions inherited from 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 Member Functions inherited from CParameterConnecter | |
CParameterConnecter (QObject *parent=nullptr, const QString &szPrefix=QString()) | |
CParameterClient * | GetParameterClient () |
Get CParameterClient. | |
int | SetParameterClient (CParameterClient *p) |
Public Member Functions inherited from 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 () |
Check whether the parameter is valid to decide whether to use or save the parameter. | |
Protected Member Functions | |
virtual int | OnLoad (QSettings &set) override |
virtual int | OnSave (QSettings &set) override |
Protected Member Functions inherited from CParameterBase | |
virtual void | slotSetParameterClient () override |
Call after set CParameterClient. | |
Protected Member Functions inherited from 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 Member Functions inherited from CParameter | |
virtual bool | OnCheckValidity () |
Check validity. | |
int | SetModified (bool bModified=true) |
When setting parameters, if there is a modification, it is called. | |
bool | GetModified () |
Whether the parameters have been modified. | |
Private Attributes | |
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 |
Additional Inherited Members | |
Public Attributes inherited from CParameterBase | |
CParameterNet | m_Net |
CParameterProxy | m_Proxy |
CParameterRecord | m_Record |
Protected Slots inherited from CParameterConnecter | |
Properties inherited from CParameterBase | |
QString | Name |
QString | ServerName |
bool | ShowServerName |
bool | OnlyView |
bool | LocalCursor |
CFrmViewer::ADAPT_WINDOWS | AdaptWindows |
double | ZoomFactor |
Properties inherited from CParameter | |
bool | Modified |
Definition at line 8 of file ParameterPlayer.h.
|
strong |
Definition at line 14 of file ParameterPlayer.h.
|
explicit |
Definition at line 5 of file ParameterPlayer.cpp.
const int CParameterPlayer::GetAudioInput | ( | ) | const |
Definition at line 62 of file ParameterPlayer.cpp.
const bool CParameterPlayer::GetAudioInputMuted | ( | ) | const |
Definition at line 92 of file ParameterPlayer.cpp.
const float CParameterPlayer::GetAudioInputVolume | ( | ) | const |
Definition at line 107 of file ParameterPlayer.cpp.
const int CParameterPlayer::GetAudioOutput | ( | ) | const |
Definition at line 122 of file ParameterPlayer.cpp.
const bool CParameterPlayer::GetAudioOutputMuted | ( | ) | const |
Definition at line 152 of file ParameterPlayer.cpp.
const float CParameterPlayer::GetAudioOutputVolume | ( | ) | const |
Definition at line 167 of file ParameterPlayer.cpp.
const int CParameterPlayer::GetCamera | ( | ) | const |
Definition at line 48 of file ParameterPlayer.cpp.
const bool CParameterPlayer::GetEnableAudioInput | ( | ) | const |
Definition at line 77 of file ParameterPlayer.cpp.
const bool CParameterPlayer::GetEnableAudioOutput | ( | ) | const |
Definition at line 137 of file ParameterPlayer.cpp.
const int CParameterPlayer::GetScreen | ( | ) | const |
Definition at line 231 of file ParameterPlayer.cpp.
const CParameterPlayer::TYPE CParameterPlayer::GetType | ( | ) | const |
Definition at line 20 of file ParameterPlayer.cpp.
const QString CParameterPlayer::GetUrl | ( | ) | const |
Definition at line 34 of file ParameterPlayer.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 181 of file ParameterPlayer.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 206 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioInput | ( | int | nIndex | ) |
Definition at line 67 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioInputMuted | ( | bool | bMuted | ) |
Definition at line 97 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioInputVolume | ( | float | fVolume | ) |
Definition at line 112 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioOutput | ( | int | nIndex | ) |
Definition at line 127 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioOutputMuted | ( | bool | bMuted | ) |
Definition at line 157 of file ParameterPlayer.cpp.
int CParameterPlayer::SetAudioOutputVolume | ( | float | fVolume | ) |
Definition at line 172 of file ParameterPlayer.cpp.
int CParameterPlayer::SetCamera | ( | int | nIndex | ) |
Definition at line 53 of file ParameterPlayer.cpp.
int CParameterPlayer::SetEnableAudioInput | ( | bool | bEnable | ) |
Definition at line 82 of file ParameterPlayer.cpp.
int CParameterPlayer::SetEnableAudioOutput | ( | bool | bEnable | ) |
Definition at line 142 of file ParameterPlayer.cpp.
int CParameterPlayer::SetScreen | ( | int | nIndex | ) |
Definition at line 236 of file ParameterPlayer.cpp.
int CParameterPlayer::SetType | ( | TYPE | type | ) |
Definition at line 25 of file ParameterPlayer.cpp.
int CParameterPlayer::SetUrl | ( | const QString & | szUrl | ) |
Definition at line 39 of file ParameterPlayer.cpp.
|
private |
Definition at line 81 of file ParameterPlayer.h.
|
private |
Definition at line 85 of file ParameterPlayer.h.
|
private |
Definition at line 80 of file ParameterPlayer.h.
|
private |
Definition at line 84 of file ParameterPlayer.h.
|
private |
Definition at line 82 of file ParameterPlayer.h.
|
private |
Definition at line 86 of file ParameterPlayer.h.
|
private |
Definition at line 79 of file ParameterPlayer.h.
|
private |
Definition at line 83 of file ParameterPlayer.h.
|
private |
Definition at line 78 of file ParameterPlayer.h.
|
private |
Definition at line 92 of file ParameterPlayer.h.
|
private |
Definition at line 77 of file ParameterPlayer.h.
|
private |
Definition at line 76 of file ParameterPlayer.h.