|
@@ -326,8 +326,20 @@ class HostWindow(QMainWindow): |
|
|
self.ui.miniCanvasPreview.setViewTheme(canvasBg, canvasBrush, canvasPen) |
|
|
self.ui.miniCanvasPreview.setViewTheme(canvasBg, canvasBrush, canvasPen) |
|
|
self.ui.miniCanvasPreview.init(self.fContainer.scene, canvasWidth, canvasHeight, self.fSavedSettings[CARLA_KEY_CUSTOM_PAINTING]) |
|
|
self.ui.miniCanvasPreview.init(self.fContainer.scene, canvasWidth, canvasHeight, self.fSavedSettings[CARLA_KEY_CUSTOM_PAINTING]) |
|
|
else: |
|
|
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_meters.setVisible(False) |
|
|
self.ui.act_settings_show_keyboard.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.miniCanvasPreview.hide() |
|
|
|
|
|
|
|
|
self.ui.splitter.insertWidget(1, self.fContainer) |
|
|
self.ui.splitter.insertWidget(1, self.fContainer) |
|
|