mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
Start settingup buttons
This commit is contained in:
@@ -26,9 +26,15 @@ class WaypointsCoordinator(QtCore.QThread):
|
|||||||
def connect_signals_and_slots(self):
|
def connect_signals_and_slots(self):
|
||||||
self.new_manual_waypoint_entry.connect(self.update_manual_entry)
|
self.new_manual_waypoint_entry.connect(self.update_manual_entry)
|
||||||
|
|
||||||
|
# setting up signals to save for Navigation Table
|
||||||
|
self.
|
||||||
|
|
||||||
self.navigation_label.cellClicked.connect(self._on_nav_clicked)
|
self.navigation_label.cellClicked.connect(self._on_nav_clicked)
|
||||||
self.landmark_label.cellClicked.connect(self.__on_land_clicked)
|
self.landmark_label.cellClicked.connect(self.__on_land_clicked)
|
||||||
|
|
||||||
|
def update_manual_entry(self, name, lat, lng, table):
|
||||||
|
print "write things"
|
||||||
|
|
||||||
def _on_nav_clicked(self, row, col):
|
def _on_nav_clicked(self, row, col):
|
||||||
self.update_waypoint_entry.emit(
|
self.update_waypoint_entry.emit(
|
||||||
self.navigation_label.item(row, 0),
|
self.navigation_label.item(row, 0),
|
||||||
@@ -44,3 +50,4 @@ class WaypointsCoordinator(QtCore.QThread):
|
|||||||
self.landmark_label.item(row, 2),
|
self.landmark_label.item(row, 2),
|
||||||
1
|
1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user