Re: [PyQt] Print a QTableView

2008-10-24 Thread David Boddie
On Fri Oct 24 14:35:11 BST 2008, Romain Bignon wrote: > Romain Bignon wrote: > > I want to print a QTableView on a QPrinter, but there isn't any way to do > > that. > > I've tried to redirect painter to the printer device, but render is not > correct. This probably won't produce high quality outpu

Re: [PyQt] Python Plugins not Appearing in Designer

2008-10-24 Thread David Boddie
On Fri, 24 Oct 2008 16:37:54 -0700, Brent Villalobos wrote: > There are a few things that might be causing this, but I wanted to get > some of your thoughts before pursuing them further (since I don't have > permissions to change our Qt or PyQt installation I didn't want to > bother another depart

[PyQt] Python Plugins not Appearing in Designer

2008-10-24 Thread Brent Villalobos
I'm having issues trying to get the python plugins to appear in Qt designer. I downloaded and unzipped the Linux PyQt source and they tried running the plugins.py example but none of the python widgets showed up. I'm using a Qt and PyQt installation setup by my IT department. I didn't instal

[PyQt] Re: Help! How to set insert point in QTextEdit

2008-10-24 Thread kib2
Edward K. Ream a écrit : Setting the insertion point programmatically does not appear to "take" until (approximately) the point at which a textChanged() signal is generated. The relevant code (simplified just a bit) is: def setInsertPoint(self,i): w = self.widget g.trace(i,w) w.t

[PyQt] re: Help! How to set insert point in QTextEdit

2008-10-24 Thread Edward K. Ream
QQQ As you can see, w does not report the new insertion point immediately: getInsertPoint: 0 setInsertPoint: 48 getInsertPoint: 0 # Oops. QQQ Mystery solved. w.textCursor returns a copy of the cursor, so instead of:: w.textCursor().setPosition(i) the following will work:: cursor

[PyQt] PyQt menu and tool tip font

2008-10-24 Thread Thorsten Kampe
Hi, not sure whether this is really a PyQt thing but I'll ask anyway: PyQt applications (like Sandbox[1]) on Linux have a horrible looking and much too small font for the menus, tool tips and for the status bar - while on Windows it looks totally normal (like all other applications). Where or

Re: [PyQt] pyqtProperty bug?

2008-10-24 Thread Phil Thompson
On Thu, 23 Oct 2008 09:08:52 +, "Emiliano Mennucci" <[EMAIL PROTECTED]> wrote: > I'm creating a widget for QtDesigner, using python and pyqt4. In order to > create a Qt property I wrote the following code: > > [...] > def set_axis(self, axis): > print "DEBUG: set_axis" > self._axis =

[PyQt] Help! How to set insert point in QTextEdit

2008-10-24 Thread Edward K. Ream
Setting the insertion point programmatically does not appear to "take" until (approximately) the point at which a textChanged() signal is generated. The relevant code (simplified just a bit) is: def setInsertPoint(self,i): w = self.widget g.trace(i,w) w.textCursor().setPosition(i) de

Re: [PyQt] Crash with QAxContainer.QAxWidget

2008-10-24 Thread Patrick Hartling
I apologize for replying to myself, but I discovered that I made an error in my analysis. See below. Patrick Hartling wrote: > I have been tracking down a crash when using QAxContainer.QAxWidget from > PyQt 4.4.3 built against Qt 4.4.1. At this point, I believe that there > is an issue with how a

Re: [PyQt] Print a QTableView

2008-10-24 Thread Romain Bignon
Romain Bignon wrote: > I want to print a QTableView on a QPrinter, but there isn't any way to do > that. I've tried to redirect painter to the printer device, but render is not correct. Firstly, only the region of widget printed on screen is drawn. Then, the quality is not good, and some additio

[PyQt] Re: pyqtProperty bug?

2008-10-24 Thread Emiliano Mennucci
> > Is this a bug? > > > Emiliano > Sorry I forgot to mention versions: I use Qt 4.4.0 and pyqt 4.4.2 Emiliano -- life's better without braces - Bruce Eckel ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailm

[PyQt] Path is incorrect inside pyuic4.bat

2008-10-24 Thread Dan Pidcock
Looking at the riverbank page I cannot see anywhere for bug reports so I hope this mailing list is the correct place. I installed PyQt-Py2.6-gpl-4.4.4-snapshot-20080918-1.exe in windows and it has the path "C:\Python26\python.exe" into Lib\site-packages\PyQt4\pyuic4.bat although I don't have pytho