qt-interest@trolltech.com
[Top] [All Lists]

Re: Qt Documentation (was Why no QSqlQuery::value(QString&) method ?)

Subject: Re: Qt Documentation was Why no QSqlQuery::value(QString&) method ?
From: Israel Brewster
Date: Mon, 17 Dec 2007 08:29:37 -0900
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/

<Prev in Thread] Current Thread [Next in Thread>