Setup canvas dialog
(self)
| 90 | self.widget.set_tab(tab) |
| 91 | |
| 92 | def setup(self): |
| 93 | """Setup canvas dialog""" |
| 94 | self.layout = self.widget.setup() |
| 95 | self.layout.setMenuBar(self.setup_menu()) # add menu bar |
| 96 | |
| 97 | id = self.tool.get_dialog_id() |
| 98 | dialog = ToolDialog(window=self.window, tool=self.tool) |
| 99 | dialog.setLayout(self.layout) |
| 100 | dialog.setWindowTitle(trans("dialog.html_canvas.title")) |
| 101 | dialog.resize(800, 500) |
| 102 | self.window.ui.dialog[id] = dialog |
| 103 | |
| 104 | def get_widget(self) -> ToolWidget: |
| 105 | """ |
nothing calls this directly
no test coverage detected