Threaded message conversation view
-
Hi All,
Currently I’m working with message views. I have to make a Threaded message conversation view (as in android and I-phone).
This is to be done without using QML, So please give me suggestion about this.
Thanks in advance. -
Probably with "QGraphicsView":http://doc.qt.digia.com/stable/qgraphicsview.html
-
I would rather use "Qt Style Sheets":http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet.html to customize "QScrollArea":http://qt-project.org/doc/qt-5.0/qtwidgets/qscrollarea.html with "QLabels":http://qt-project.org/doc/qt-5.0/qtwidgets/qlabel.html or "QListView":http://qt-project.org/doc/qt-5.0/qtwidgets/qlistview.html.
-
can u suggest me any example?
-
[quote author="Pardeep Sharma" date="1360760058"]can u suggest me any example?[/quote]
I am not aware of exactly the same example but there is a variaty of "Qt Style Sheets Examples":http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet-examples.html
-
Do you mean the text balloons view you get for SMS messages?
!http://images.anandtech.com/reviews/gadgets/iPhone3G/SMS2.png(SMS view of iPhone)!I have seen ready-made examples for that, but it would be easy with QGraphicsView. Or, you use a QListView with a custom delegate.
-
Hi Andre,
Can u give me link for above example.
-
Pardeep Sharma@
Its not so hard as you can think start study links below:
"http://qt-project.org/doc/qt-4.8/qgraphicsview.html":http://qt-project.org/doc/qt-4.8/qgraphicsview.html
"http://qt-project.org/doc/qt-4.8/qgraphicsscene.html":http://qt-project.org/doc/qt-4.8/qgraphicsscene.html
"http://qt-project.org/doc/qt-4.8/qgraphicsitem.html":http://qt-project.org/doc/qt-4.8/qgraphicsitem.html