Rich text delegate
-
Yeah, looks really interesting. Maybe you could add some screenshots and examples on what it can be done and how it looks.
-
Thans for the interest.
I will add some screenshots soon.
-
Looks lovely. Any plans on releasing it? I have a few spots where it'd be really handy.
-
[quote author="Andre" date="1277118303"]The present
A version with all the above will be released soon, though the source code is already online for those interested.
[/quote]This looks very interesting. You write, that the source code is available online. Where can I find it? Which license do you use for it?
-
I got sidetracked a bit. I'll try to pick this up again. Part of this work can however probably be considdered obsolete, because some of these stylings are easier and better done using a QML view. However, not every view can easily be replaced by a QML view yet (especially table-type and tree-type views still present challenges), so I guess there is still a market for this.
-
Yes, I have a rather complex treeview that needs some richtext love :-)
It would be great to take a look at your code for this. -
Is it possible to look at your component source code somewhere? I'm going to implement something same to this (though i really need a little subclass of the features you mentioned here) and looking for the already existing implementations.
-
Hi Andre,
I downloaded and tested your RichTextDelegate and your StyleSheetDelegate and they are both great. Exactly the thing I was looking for. Really great!!!. I think they are almost essential for Qt to make use of model / view framework easier. Would be really great to see such stuff in Qt or at least Qxt.
Thank you.
-
Hi Andre,
Can I download it to? I'm looking for a good example of solving such a problem -
Hi crociv,
the code is part of the SAINT toolkit. You will find the code here:
"https://www.assembla.com/code/srtools/git/nodes/richtextdelegate_rework/common":https://www.assembla.com/code/srtools/git/nodes/richtextdelegate_rework/common
Search for styleheetdelegate and richtextdelegate. But these delegates are not made for large sets of data because they consume a lot of memory and they are slow.
-
Uwe Kindler, Thanks!
-
Glad you found it, I hope you'll find it useful.
-
Hi,
I downloaded the two files richtextdelegate.cpp / .h, put them into a simple qt project, activate the webkit module (qt += webkit) and got error when compiling :
undefined reference to `QWebPage::setViewportSize(QSize const&) const'.Any idea ?
Thanks.