|
@@ -337,20 +337,22 @@ void MainAndSecondaryCamerasWnd::initLeftAndRightWidget() {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-void MainAndSecondaryCamerasWnd::BindImageOrMaterial(int location, int index) {
|
|
|
- if (location == m_nLastLeft) {
|
|
|
- if (index == m_nImageIndex) {
|
|
|
+void MainAndSecondaryCamerasWnd::BindImageOrMaterial(int location, int index)
|
|
|
+{
|
|
|
+ if (location == m_nLastLeft)
|
|
|
+ {
|
|
|
+ if (index == m_nImageIndex)
|
|
|
+ {
|
|
|
m_veCurrentSelectGroup_L.isBond = true;
|
|
|
connect(m_veCurrentSelectGroup_L.pSelectGroup, &Group::SetUpDataImageShowSig,
|
|
|
this, &MainAndSecondaryCamerasWnd::GetGroupImageShowSignalsTo_L);
|
|
|
UpdataLightJoystickSwitchPage(m_veCurrentSelectGroup_L.pSelectGroup->m_nGroupId, 1, true);
|
|
|
|
|
|
}
|
|
|
- else {
|
|
|
+ else
|
|
|
+ {
|
|
|
//左边更新物料窗口
|
|
|
QSettings settings("YourOrganization", "YourApplication");
|
|
|
settings.beginGroup(QString::number(m_veCurrentSelectGroup_L.pSelectGroup->m_nGroupId));
|
|
@@ -362,8 +364,10 @@ void MainAndSecondaryCamerasWnd::BindImageOrMaterial(int location, int index) {
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- else {
|
|
|
- if (index == m_nImageIndex) {
|
|
|
+ else
|
|
|
+ {
|
|
|
+ if (index == m_nImageIndex)
|
|
|
+ {
|
|
|
|
|
|
m_veCurrentSelectGroup_R.isBond = true;
|
|
|
connect(m_veCurrentSelectGroup_R.pSelectGroup, &Group::SetUpDataImageShowSig,
|
|
@@ -371,7 +375,8 @@ void MainAndSecondaryCamerasWnd::BindImageOrMaterial(int location, int index) {
|
|
|
UpdataLightJoystickSwitchPage(m_veCurrentSelectGroup_R.pSelectGroup->m_nGroupId, 2, true);
|
|
|
|
|
|
}
|
|
|
- else {
|
|
|
+ else
|
|
|
+ {
|
|
|
//右边更新物料窗口
|
|
|
QSettings settings("YourOrganization", "YourApplication");
|
|
|
settings.beginGroup(QString::number(m_veCurrentSelectGroup_R.pSelectGroup->m_nGroupId));
|