Re: [PyQt] uic and pyuic ? on windows

2009-04-25 Thread Phil Thompson
On Fri, 24 Apr 2009 16:36:08 -0500, mad city madcitym...@gmail.com wrote: Running tutorial with Qt Designer. When I try and 'view code' get error: Unable to launch c:/Python26/Lib/site-packages/PyQt4/.\uic The path is messed up during the install? So, I wanted to try the command line

Re: [PyQt] Issue Building Latest Snapshot

2009-04-25 Thread Phil Thompson
On Fri, 24 Apr 2009 12:57:49 -0500, Aron Bierbaum aronbierb...@gmail.com wrote: If I change line 704 of PyQt's configure.py to be: inc_path = [sipcfg.py_inc_dir, sipcfg.sip_inc_dir] then PyQt builds without problems. Thanks, Phil ___ PyQt mailing

[PyQt] Searching for a very small scprit using CLIPBOARD

2009-04-25 Thread projetmbc
Hello, here is an example for using the clipboard of Tkinter : from Tkinter import * root = Tk() root.clipboard_clear() root.clipboard_append('A text in the clipboard...') root.withdraw() I would like to do the same with PyQt. Is it possible ?

Re: [PyQt] Searching for a very small scprit using CLIPBOARD

2009-04-25 Thread Demetrius Cassidy
from PyQt4.QtGui import QApplication clipboard = QApplication.clipboard() clipboard.setText('mytext') see http://doc.trolltech.com/4.5/qapplication.html projetmbc wrote: Hello, here is an example for using the clipboard of Tkinter : from Tkinter import * root =

Re: [PyQt] Searching for a very small scprit using CLIPBOARD

2009-04-25 Thread projetmbc
I've already try that but I have the following message : QWidget: Must construct a QApplication before a QPaintDevice Christophe. Demetrius Cassidy a écrit : from PyQt4.QtGui import QApplication clipboard = QApplication.clipboard() clipboard.setText('mytext') see

Re: [PyQt] Searching for a very small scprit using CLIPBOARD

2009-04-25 Thread Darren Dale
Have you tried constructing a QApplication first? On Sat, Apr 25, 2009 at 8:24 PM, projetmbc projet...@club-internet.frwrote: I've already try that but I have the following message : QWidget: Must construct a QApplication before a QPaintDevice Christophe. Demetrius Cassidy a écrit :

Re: [PyQt] Searching for a very small scprit using CLIPBOARD

2009-04-25 Thread projetmbc
I've tried the following code but the application never stops because of app.exec_(), and when I close the application, the clipboard is empty. = #!/usr/bin/env python #coding=utf-8 import sys from PyQt4 import QtGui app = QtGui.QApplication(sys.argv) clipboard =