2make top webview accessable
as well as main and bottom
This commit is contained in:
parent
43a662a250
commit
69fd37a5c4
@ -509,7 +509,7 @@ title="%s" %s>%s</button>''' % (
|
|||||||
self.form = aqt.forms.main.Ui_MainWindow()
|
self.form = aqt.forms.main.Ui_MainWindow()
|
||||||
self.form.setupUi(self)
|
self.form.setupUi(self)
|
||||||
# toolbar
|
# toolbar
|
||||||
tweb = aqt.webview.AnkiWebView()
|
tweb = self.toolbarWeb = aqt.webview.AnkiWebView()
|
||||||
tweb.title = "top toolbar"
|
tweb.title = "top toolbar"
|
||||||
tweb.setFocusPolicy(Qt.WheelFocus)
|
tweb.setFocusPolicy(Qt.WheelFocus)
|
||||||
self.toolbar = aqt.toolbar.Toolbar(self, tweb)
|
self.toolbar = aqt.toolbar.Toolbar(self, tweb)
|
||||||
|
Loading…
Reference in New Issue
Block a user