|
@@ -23,6 +23,9 @@ SingleCameraOperationWnd::SingleCameraOperationWnd(QWidget* parent)
|
|
|
SingleCameraOperationWnd::~SingleCameraOperationWnd()
|
|
|
{
|
|
|
delete ui;
|
|
|
+ UnCameraBind();
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
void SingleCameraOperationWnd::initFrom() {
|
|
@@ -142,6 +145,12 @@ void SingleCameraOperationWnd::UnCameraBind()
|
|
|
{
|
|
|
CameraConnectUpdateImageFun(i, m_allGroup[i], true);
|
|
|
}
|
|
|
+
|
|
|
+ if (m_veCurrentSelectGroup.isBond == true) {
|
|
|
+
|
|
|
+ disconnect(m_veCurrentSelectGroup.pSelectGroup, &Group::SetUpDataImageShowSig,
|
|
|
+ this, &SingleCameraOperationWnd::GetGroupImageShowSignals);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void SingleCameraOperationWnd::CameraConnectUpdateImageFun(int nIndex, Group* widget, bool isUnCameraBind )
|
|
@@ -150,13 +159,13 @@ void SingleCameraOperationWnd::CameraConnectUpdateImageFun(int nIndex, Group* wi
|
|
|
{
|
|
|
if (isUnCameraBind)
|
|
|
{
|
|
|
- disconnect(widget, &Group::SetCurrentSelectSig, this, &SingleCameraOperationWnd::checkSettings);
|
|
|
+
|
|
|
disconnect(this, pCamerasImage, widget, &Group::UpDataImageShowSlots);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
|
|
|
- connect(widget, &Group::sendUpdateGroupState, this, &SingleCameraOperationWnd::checkSettings);
|
|
|
+
|
|
|
connect(this, pCamerasImage, widget, &Group::UpDataImageShowSlots);
|
|
|
}
|
|
|
|