From c2297d8107cd8c9d2e014821b1534bd1f6d0ce80 Mon Sep 17 00:00:00 2001 From: Chris Pham Date: Sat, 17 Mar 2018 16:06:08 -0700 Subject: [PATCH] changed from QtGUI to QtWidgets --- .../Framework/NavigationSystems/WaypointsCoordinator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py index 157d03b..d77bbaa 100644 --- a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py +++ b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py @@ -55,10 +55,10 @@ class WaypointsCoordinator(QtCore.QThread): def _add_to_table(self, name, lat, lng, dist, table): count = table.rowCount() table.insertRow(count) - table.setItem(count, 0, QtGui.QTableWidgetItem(name)) - table.setItem(count, 1, QtGui.QTableWidgetItem(lat)) - table.setItem(count, 2, QtGui.QTableWidgetItem(lng)) - table.setItem(count, 3, QtGui.QTableWidgetItem(dist)) + table.setItem(count, 0, QtWidgets.QTableWidgetItem(name)) + table.setItem(count, 1, QtWidgets.QTableWidgetItem(lat)) + table.setItem(count, 2, QtWidgets.QTableWidgetItem(lng)) + table.setItem(count, 3, QtWidgets.QTableWidgetItem(dist)) def _nav_add_gps(self): # request GPS data