Example #1
0
 def map_type_change(self, checked):
     btn = self.sender()
     if False:
         btn = QRadioButton()
     btn.clearFocus()
     if btn.in_layout == self.map_type_layout:
         self.map.setMapType(btn.map_type)