Example #1
0
 def onManage(self):
     self.edition_menu = QGroundObjectMenu(self.window(),
                                           self.ground_object,
                                           self.buildings, self.cp,
                                           self.game)
     self.edition_menu.show()
     self.edition_menu.changed.connect(self.onEdition)
 def on_click(self) -> None:
     self.ground_object_dialog = QGroundObjectMenu(self.window(),
                                                   self.ground_object,
                                                   self.buildings,
                                                   self.control_point,
                                                   self.game)
     self.ground_object_dialog.show()
Example #3
0
 def showInfoDialog(self) -> None:
     if self.dialog is None:
         self.dialog = QGroundObjectMenu(
             None,
             self.tgo,
             self.buildings,
             self.tgo.control_point,
             self.game,
         )
     self.dialog.show()
 def open_tgo_info_dialog(self, tgo: TheaterGroundObject) -> None:
     QGroundObjectMenu(self, tgo, tgo.control_point, self.game).show()
Example #5
0
 def openEditionMenu(self):
     self.editionMenu = QGroundObjectMenu(self.window(), self.model, self.buildings, self.cp, self.game)
     self.editionMenu.show()
Example #6
0
 def onManage(self):
     self.editionMenu = QGroundObjectMenu(self.window(), self.ground_object,
                                          self.buildings, self.cp,
                                          self.game)
     self.editionMenu.show()