Browse Source

Complete last commit

tags/1.9.4
falkTX 10 years ago
parent
commit
9ab3ab6a6d
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      source/carla_host.py

+ 12
- 0
source/carla_host.py View File

@@ -326,8 +326,20 @@ class HostWindow(QMainWindow):
self.ui.miniCanvasPreview.setViewTheme(canvasBg, canvasBrush, canvasPen)
self.ui.miniCanvasPreview.init(self.fContainer.scene, canvasWidth, canvasHeight, self.fSavedSettings[CARLA_KEY_CUSTOM_PAINTING])
else:
self.ui.act_canvas_arrange.setVisible(False)
self.ui.act_canvas_print.setVisible(False)
self.ui.act_canvas_refresh.setVisible(False)
self.ui.act_canvas_save_image.setVisible(False)
self.ui.act_canvas_zoom_100.setVisible(False)
self.ui.act_canvas_zoom_fit.setVisible(False)
self.ui.act_canvas_zoom_in.setVisible(False)
self.ui.act_canvas_zoom_out.setVisible(False)
self.ui.act_settings_show_meters.setVisible(False)
self.ui.act_settings_show_keyboard.setVisible(False)
self.ui.menu_Canvas.setEnabled(False)
self.ui.menu_Canvas.setVisible(False)
self.ui.menu_Canvas_Zoom.setEnabled(False)
self.ui.menu_Canvas_Zoom.setVisible(False)
self.ui.miniCanvasPreview.hide()

self.ui.splitter.insertWidget(1, self.fContainer)


Loading…
Cancel
Save