Rabbit Remote Control 0.0.30
|
Public Types | |
enum class | TARGET { Screen , Window , CustomRectangle , Curstomize } |
enum class | OPERATE { Shot , Record } |
Public Member Functions | |
CParameterScreenCapture (QObject *parent=nullptr) | |
const TARGET | GetTarget () const |
int | SetTarget (TARGET tg) |
const OPERATE | GetOperate () const |
int | SetOperate (OPERATE opt) |
const int | GetScreen () const |
int | SetScreen (int screen) |
const QCapturableWindow | GetWindow () const |
int | SetWindow (QCapturableWindow w) |
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 | |
TARGET | m_Target |
OPERATE | m_Operate |
int | m_nScreen |
QCapturableWindow | m_WindowCapture |
Additional Inherited Members | |
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 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 10 of file ParameterScreenCapture.h.
|
strong |
Definition at line 27 of file ParameterScreenCapture.h.
|
strong |
Definition at line 17 of file ParameterScreenCapture.h.
|
explicit |
Definition at line 3 of file ParameterScreenCapture.cpp.
|
virtual |
Definition at line 10 of file ParameterScreenCapture.cpp.
const CParameterScreenCapture::OPERATE CParameterScreenCapture::GetOperate | ( | ) | const |
Definition at line 37 of file ParameterScreenCapture.cpp.
const int CParameterScreenCapture::GetScreen | ( | ) | const |
Definition at line 51 of file ParameterScreenCapture.cpp.
const CParameterScreenCapture::TARGET CParameterScreenCapture::GetTarget | ( | ) | const |
Definition at line 23 of file ParameterScreenCapture.cpp.
const QCapturableWindow CParameterScreenCapture::GetWindow | ( | ) | const |
Definition at line 65 of file ParameterScreenCapture.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 13 of file ParameterScreenCapture.cpp.
|
overrideprotectedvirtual |
Reimplemented from CParameterBase.
Definition at line 18 of file ParameterScreenCapture.cpp.
int CParameterScreenCapture::SetOperate | ( | OPERATE | opt | ) |
Definition at line 42 of file ParameterScreenCapture.cpp.
int CParameterScreenCapture::SetScreen | ( | int | screen | ) |
Definition at line 56 of file ParameterScreenCapture.cpp.
int CParameterScreenCapture::SetTarget | ( | TARGET | tg | ) |
Definition at line 28 of file ParameterScreenCapture.cpp.
int CParameterScreenCapture::SetWindow | ( | QCapturableWindow | w | ) |
Definition at line 70 of file ParameterScreenCapture.cpp.
|
private |
Definition at line 44 of file ParameterScreenCapture.h.
|
private |
Definition at line 43 of file ParameterScreenCapture.h.
|
private |
Definition at line 42 of file ParameterScreenCapture.h.
|
private |
Definition at line 45 of file ParameterScreenCapture.h.