You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// At this moment we can call RDK->DrawGeometry to customize the displayed scene
137
-
//qDebug() << "(EventRender)";
138
+
/// qDebug() << "==== EventRender ====";
138
139
break;
140
+
139
141
case EventMoved:
140
142
/// qDebug() << "Something has moved, such as a robot, reference frame, object or tool.
141
143
/// It is very likely that an EventRender will be triggered immediately after this event
142
144
/// qDebug() << "==== EventMoved ====";
143
145
break;
146
+
144
147
case EventChanged:
145
148
/// qDebug() << "An item has been added or deleted. Current station: " << RDK->getActiveStation()->Name();
146
149
/// If we added a new item (for example, a reference frame) it is very likely that an EventMoved will follow with the updated position of the newly added item(s)
// LoadSettings(); // will select the robot if there are settings.
154
157
//}
155
158
qDebug() << "==== EventChanged ====";
156
-
if (form_robotpilot != nullptr){
159
+
if (form_robotpilot != nullptr){
157
160
form_robotpilot->SelectRobot();
158
161
}
159
162
break;
163
+
164
+
case EventChangedStation:
165
+
qDebug() << "==== EventChangedStation ====";
166
+
break;
167
+
160
168
case EventAbout2Save:
161
169
qDebug() << "==== EventAbout2Save ====";
162
170
/// The user requested to save the project and the RDK file will be saved to disk. It is recommended to save all station-specific settings at this moment.
163
171
/// For example, you can use RDK.setParam("ParameterName", "ParameterValue") or RDK.setData("ParameterName", bytearray)
164
172
//SaveSettings();
165
173
break;
174
+
166
175
case EventAbout2ChangeStation:
167
176
/// The user requested to open a new RoboDK station (RDK file) or the user is navigating among different stations. This event is triggered before the current station looses focus.
168
177
qDebug() << "==== EventAbout2ChangeStation ====";
169
178
//SaveSettings();
170
179
break;
180
+
171
181
case EventAbout2CloseStation:
172
182
/// The user requested to close the currently open RoboDK station (RDK file). The RDK file may be saved if the user and the corresponding event will be triggered.
0 commit comments