|
|
On Dec 15, 2007, at 1:37 PM, Eric Methorst wrote:
<SNIP/>
<SNIP/>
So what exactly is it that you're doing? Binding a QSqlQuery to a
QTreeView?
Sounds interesting.
Well, QSqlQueryModel to be specific, but yeah. My application
interfaces with a postgresql back-end (although thanks to the way Qt
works with databases, changing to another option would be trivial)
using, in various places, practically the whole gamut of QSqlXYZ data
models, and displays the data in, primarily, QTreeViews. I chose those
over the QTableView because for my purposes at least the QTreeView has
a cleaner interface. I really do enjoy the whole model/view paradigm
in general, it's just the initial difficulty in finding the functions
I need that bugs me :). Once I figured it out, it worked quite well.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
with
"unsubscribe" in the subject or the body. List archive and
information:
http://lists.trolltech.com/qt-interest/
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|