ete icon indicating copy to clipboard operation
ete copied to clipboard

Embed tree viewer in Qt apps?

Open jvkersch opened this issue 6 years ago • 2 comments

First, thanks for this great project!

My question: is there a convenient way to embed the Qt tree viewer in a larger Qt app? I was able to get somewhere by instantiating a _TreeView and _TreeScene manually, and then adding those inside my application, but this involved copying a lot of code from the tree viewer app. I'm wondering if there is an easier, recommended way. Alternatively, would there be some interest in a PR to split off these components with a view towards embedding? (Disclaimer: I don't know if that would be feasible)

jvkersch avatar Mar 21 '18 16:03 jvkersch

hi Joris; if you get any private answer on this, please CC me, I'm also interested.

On Wed, Mar 21, 2018 at 12:59 PM, Joris Vankerschaver < [email protected]> wrote:

First, thanks for this great project!

My question: is there a convenient way to embed the Qt tree viewer in a larger Qt app? I was able to get somewhere by instantiating a _TreeView and _TreeScene manually, and then adding those inside my application, but this involved copying a lot of code from the tree viewer app. I'm wondering if there is an easier, recommended way.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etetoolkit/ete/issues/341, or mute the thread https://github.com/notifications/unsubscribe-auth/AKd4oDf8iM9FIawVyzUgfXxr3eOBK8Vwks5tgobsgaJpZM4S0wgo .

-- MM

marco-mariotti avatar Mar 22 '18 18:03 marco-mariotti

Same interest

Jiruu246 avatar Mar 22 '24 23:03 Jiruu246