1#include "ParameterScreenCapture.h"
3CParameterScreenCapture::CParameterScreenCapture(QObject *parent)
5 , m_Target(TARGET::Screen)
6 , m_Operate(OPERATE::Shot)
10CParameterScreenCapture::~CParameterScreenCapture()
13int CParameterScreenCapture::OnLoad(QSettings &set)
18int CParameterScreenCapture::OnSave(QSettings &set)
23const CParameterScreenCapture::TARGET CParameterScreenCapture::GetTarget()
const
28int CParameterScreenCapture::SetTarget(TARGET tg)
37const CParameterScreenCapture::OPERATE CParameterScreenCapture::GetOperate()
const
42int CParameterScreenCapture::SetOperate(OPERATE opt)
51const int CParameterScreenCapture::GetScreen()
const
56int CParameterScreenCapture::SetScreen(
int screen)
58 if(m_nScreen == screen)
65const QCapturableWindow CParameterScreenCapture::GetWindow()
const
67 return m_WindowCapture;
70int CParameterScreenCapture::SetWindow(QCapturableWindow w)
72 if(m_WindowCapture == w)
The interface of connecter parameters.
int SetModified(bool bModified=true)
When setting parameters, if there is a modification, it is called.