Re: Problems with python and pyQT

2013-05-28 Thread Dave Angel
On 05/28/2013 05:41 AM, silusilus...@gmail.com wrote: Thanks for your reply: very useful!! I have another question: with hex command i display (for example) 0x1 is it possible to display 0x01? hex() is a function, not a command. And it only takes the one parameter, the int to be converted.

Re: Problems with python and pyQT

2013-05-28 Thread silusilusilu
Thanks for your reply: very useful!! I have another question: with hex command i display (for example) 0x1 is it possible to display 0x01? Thanks Il giorno lunedì 27 maggio 2013 15:10:24 UTC+2, Chris “Kwpolska” Warrick ha scritto: > On Mon, May 27, 2013 at 11:26 AM, wrote: > > > Hi, > > > i

Re: Problems with python and pyQT

2013-05-27 Thread Chris “Kwpolska” Warrick
On Mon, May 27, 2013 at 11:26 AM, wrote: > Hi, > i'm new with python: so excuse me for my questions > i have this code: > > def updateLog(self, text): > self.ui.logTextEdit.moveCursor(QTextCursor.End) > self.ui.logTextEdit.insertHtml(""+text) > self.ui.logTextEdit.

Problems with python and pyQT

2013-05-27 Thread silusilusilu
Hi, i'm new with python: so excuse me for my questions i have this code: def updateLog(self, text): self.ui.logTextEdit.moveCursor(QTextCursor.End) self.ui.logTextEdit.insertHtml(""+text) self.ui.logTextEdit.moveCursor(QTextCursor.End) logTextEdit is a QTextEdit o