Opened 14 years ago
Closed 13 years ago
#316 closed enhancement/feature request (fixed)
Allow qt_qpainter graphics driver to be embedded
Reported by: | Jflatt | Owned by: | KaZeR |
---|---|---|---|
Priority: | trivial | Milestone: | want patch / contribution |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
The GTK graphics looks at NAVIT_XID environment variable to embed into. The Qt graphics driver does not. The attached patch changes the RenderArea? class to derive from QX11EmbedWidget instead of QWidget. QX11EmbedWidget inherits from QWidget, so it just needs to make use of the QX11EmbedWidget::embedInto() method, passing the NAVIT_XID's value.
Attachments (1)
Change History (5)
Changed 14 years ago by Jflatt
comment:1 Changed 14 years ago by Jflatt
Seems like it crashes. Still needs testing.
comment:3 Changed 13 years ago by www.google.com/accounts/o8/id?id=aitoawkf0frlp4x3vjbz-vqlc-bpyhbdworle10
Embedding is possible, starting from r3274, but still have some issues with glib event system
comment:4 Changed 13 years ago by www.google.com/accounts/o8/id?id=aitoawkf0frlp4x3vjbz-vqlc-bpyhbdworle10
- Resolution set to fixed
- Status changed from new to closed
Fixed in r3336
Note: See
TracTickets for help on using
tickets.
QX11EmbedWidget from QWidget