Re: [PyQt] Help about the use of OpenGL with PyQt

2009-04-05 Thread duncan duncan
On Sat, Apr 4, 2009 at 6:43 PM, Jamie Riotto wrote: > OpenGL Tutorial: > http://cs.uccs.edu/~semwal/indexGLTutorial.html > > Also NeHe productions does a realy great job breaking down OpenGL into > "lessons": My favorite! > http://nehe.gamedev.ne

[PyQt] Eric4 ver 4.3 crash on start

2009-03-26 Thread duncan duncan
Hello I am not sure the problem is a pyqt4 problem or a eric4 problem On start, I get this error: galactica:~> eric4 Warning: translation file 'qt_it_IT'could not be loaded. Using default. Warning: translation file 'eric4_it_IT'could not be loaded. Using default. Warning: translation file '

Re: [PyQt] No MySQL driver on Windows PyQt4?

2008-12-10 Thread duncan duncan
2008/12/10 duncan duncan <[EMAIL PROTECTED]> > > > On Wed, Dec 10, 2008 at 10:29 AM, Phil Thompson < > [EMAIL PROTECTED]> wrote: > >> On Wed, 10 Dec 2008 10:05:12 +0100, "piotr maliński" <[EMAIL PROTECTED] >> > >> wrote: >> >

Re: [PyQt] No MySQL driver on Windows PyQt4?

2008-12-10 Thread duncan duncan
On Wed, Dec 10, 2008 at 10:29 AM, Phil Thompson <[EMAIL PROTECTED] > wrote: > On Wed, 10 Dec 2008 10:05:12 +0100, "piotr maliński" <[EMAIL PROTECTED]> > wrote: > > I've installed latest PyQt4 release for Windows and the problem is it > > doesn't has MySQL driver (QSqlDatabase: QMYSQL driver not lo

[PyQt] Segmentation fault running eric4-4.1.5

2008-07-01 Thread duncan duncan
Hello After installing eric4 from source, I get this error: --- akira:~> eric4 Warning: translation file 'qt_it_IT'could not be loaded. Using default. Warning: translation file 'eric4_it_IT'could not be loaded. Using default. Warning: translation file 'qscintilla_it_IT'could not be loade

[PyQt] Two problems with QSystemTrayIcon

2008-03-07 Thread duncan duncan
Hello. I am trying to put an icon into the system tray area using QSystemTrayIcon. All work well except when I close the program. I put the icon in the area using this code: icon=QtGui.QIcon("pixmaps/todo_list.png") systray=QtGui.QSystemTrayIcon(icon) #systray.setIcon(icon)

Re: [PyQt] Re: Modelss dialog not usable

2007-12-17 Thread duncan duncan
On Dec 17, 2007 3:56 PM, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 17.12.07 15:08:23, duncan duncan wrote: > > On Dec 17, 2007 3:00 PM, duncan duncan <[EMAIL PROTECTED]> wrote: > > > > > Hello. > > > > > > In my application (a QApplic

[PyQt] Re: Modelss dialog not usable

2007-12-17 Thread duncan duncan
On Dec 17, 2007 3:00 PM, duncan duncan <[EMAIL PROTECTED]> wrote: > Hello. > > In my application (a QApplication), as central widget I have two > QListWidget. > > When I double click on an item of a list widget, I want to show a dialog > with some detail data for

[PyQt] Modelss dialog not usable

2007-12-17 Thread duncan duncan
Hello. In my application (a QApplication), as central widget I have two QListWidget. When I double click on an item of a list widget, I want to show a dialog with some detail data for the item This is the relevant code, the dialog is designed using Qt-Designer and windowModality is Qt::NonModal

[PyQt] Newbe question on QGLWidget

2007-11-27 Thread duncan duncan
Hello. I am playing with the QGLWidget and I have some problems. I am able to draw an object and rotate/zoom/move it. My problem now is that I'd like to draw the object in 4 viewport (no problem here) but with different point of view. Basically I am trying to draw the 3 basic orthogonal view (XY,

[PyQt] Problems with QDialog, QLineEdit and returnPressed event

2007-10-10 Thread duncan duncan
Hello I am trying to have a QDialog (the gui was designed with QtDesigner) with some QLineEdit widget. The QLineEdit widget is connected to the returnPressed event. All work fine but when I press the Return key the dialog close. At this point find that the buttons on the dialog need to have the a

[PyQt] Problem with pyuic4 and QColumnView widget

2007-09-27 Thread duncan duncan
For a software I am developing I'd like to try to use a QColumnView widget. All my gui is designed using the Designer and when I compile the .ui file which had the widget I get this error: "Unknown Qt widget: QColumnView" both under Windows and under Linux. I am working with Qt 4.3 and PyQt 4.3.

Re: [PyQt] Installation problem in linux

2007-09-27 Thread duncan duncan
On 9/27/07, Shyamsundar, Purkayastha (Purkayastha)** CTR ** < [EMAIL PROTECTED]> wrote: > > Hi > > > > I downloaded PyQt-x11-gpl-4.3.tar.gz and installed it in linux ( RHEL v > 4.4 with 2.6 kernel ) > > > > When I execute the configure script I get the following error > > > > [EMAIL PROTECTED] PyQ

[PyQt] setCurrentCell problem

2007-03-22 Thread duncan duncan
I am having some problems using setCurrentCell. I have a QTableWidget with some rows and colums. At some point I call QTableWidget.setCurrentCell(0,0) The result is that the active cell is not the cell at row 0 col 0, but the cell at row 0 col 1 This happen also calling setCurrentCell with row

[PyQt] Getting mouse and key event with a qtablewidget

2007-03-15 Thread duncan duncan
Hello. I'd like to be able to process the mouse and key pressed event with a qtablewidget The goal is to have a table in which the number of rows and columns are dinamically created when certain keys are pressed and that had a context menu to delete the row/column. An example can be: if I press

[PyKDE] Toolbars and widget

2007-02-13 Thread duncan duncan
I have am trying to port an application from Delphi to python/qt. This application have some toolbars that have some action button and some other widgets (combo boxes). I am looking for a way to duplicate the toolbars with Qt-designer but it seems that it is no longer possible to add different wi