Re: [PyQt] Question about model/view framework

2008-02-26 Thread Linos
IloChab escribió: I'm using the couple QTableView+QSqlQueryModel. I was wondering if it's possible to extend the table with some columns not contained in the relation but computed on the fly from the application. If it's possible I'd like to know how, because I made some tests without any su

[PyQt] Question about model/view framework

2008-02-26 Thread IloChab
I'm using the couple QTableView+QSqlQueryModel. I was wondering if it's possible to extend the table with some columns not contained in the relation but computed on the fly from the application. If it's possible I'd like to know how, because I made some tests without any success. Thank you in ad

[PyQt] set Vertical Offset in a treeview

2008-02-26 Thread Jake Richards
Hello: I am trying to basically bookmark a spot in a tree view and then return to it later. For example, say I'm looking about 1/3 the way down a large tree, I want to set a bookmark so if I scroll way down to the bottom of the tree with the scrollbars, I can quickly go back to where I was. I s

[PyQt] speed problem

2008-02-26 Thread Linos
Hello, i have created one pyqt app we are using in my company, it is warehouse application, any fast workers seems to be faster that application because of fast bar code scanners, they are introducing items in a QTableView with an internal QAbstractTableModel subclass and using QItemDelegat

[PyQt] [PyKDE] KDED services - same as for KParts?

2008-02-26 Thread Giacomo Lacava
Hi, I was investigating the possibility of writing a service that could be started/stopped by kded, in python. >From what I understand, kded modules are usually implemented with shared libs, similar to KControl modules, so it shouldn't be very different from writing a KPart or KControl module with

[PyQt] QComboBox and Models

2008-02-26 Thread Martin Höfling
Hi all, i have a QComboBox with a model as content. I checked the data() method of my model and it should properly return a QVariant(QString(myentry)) It seems as if obtaining the values is fine, since auto-completition if I type inside works, but if I wanna use the dropdown menu (set the maxVi