[PyQt] QsciAPIs usage

2010-09-16 Thread dusan smitran
Has anyone got a good example on how to use the QsciApi module?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Forward only query

2010-08-10 Thread dusan smitran
Hi.

1. ) I'm trying to connect to Netezza db via QSqlDatabase.
The connection is opened and i can get info from db (table names...)

2.) But when i try to make a query and display it in a QTableView is get the
following error:
 Forward-only queries cannot be used in a data model

3.) What is the preferred and fastest way of displaying forward only
queries?

4.) Code:

model = QtSql.QSqlQueryModel()
model.setQuery(self.getSql(), db=self.conn2)

self.table = QtGui.QTableView()
self.table.setModel(model)

Thanks
Dusan
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Good simple text editor

2010-08-02 Thread dusan smitran
Could u recommend me a simple text editor writen in pyqt (open source). So i
can make a fork of it for my sqlEditor :)

Tnx
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Intellisense/Auto-complete

2010-07-29 Thread dusan smitran
Im building a simple sql editor with tabs.

How could i implement a Intellisense/Auto-complete feature where the user
would hit alt+space and a dropdown menu would appere.

A big combobox where u would see 10 items at a time. And while u type u
would filter this combobox.

Tnx
Dusn
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt