Hello,
I designed a GUI with Qt Designer. The GUI has several QLineEdits. I'd
like to be able to drop files from the windows explorer to this line edits
and display the path of the files. Documentation suggests that I subclass
the line edit and reimplement the dropEvent. Would not be a
Creating a small derived class and a new instance of it isn't that much of
an effort in Python, given you only need to reimplement the dropEvent
method. I don't think there are other solutions, based upon the doc's
suggestion..
Although I must say that I've came across some code here on the list
On 28-4-2010 14:04, Sebastian Elsner wrote:
Documentation suggests that I subclass the line edit and reimplement
the dropEvent.
That sounds good to me.
Would not be a problem, but my Line edit widget already exists on the
dialog, so how to subclass without creating a completely new
I am new to PyQt4 and trying to find my way ... here n the first example
code I am successfully trying to display the mouse coordinates in a
little app using a QWidget object as main window. Below is another try
where I would like to display the mouse coordinates in the status bar of
a
With PyQt 4.7.2 (Qt 4.6.2, sip 4.10), it is not possible to load the
attached ui file. The problem happens whenever a value is inserted in a
QTableWidget with designer. It used to work with PyQt 4.3.3.
The following code (used in IPython):
from PyQt4.uic import loadUi
from PyQt4.QtGui import
You need to turn mouse tracking on, it is off by default:
http://doc.trolltech.com/4.6/qwidget.html#mouseTracking-prop
Brian Kelley
On Apr 28, 2010, at 9:37 AM, Christopher M. Nahler wrote:
I am new to PyQt4 and trying to find my way ... here n the first example
code I am successfully
Josh Knox wrote:
Hi All,
I've got a simple custom QGLWidget that works fine when loaded from
c++. (basically the Sierpinski demo)
I've built a SIP binding against it, that I can load from python but
it only ever displays a black area and it appears that the event loop
never starts.
My
I have the code
http://guest:gu...@patx.me/hg/fastpatx/file/6e5ce46a49f9/fastpatx.py i need
to know how i can make function that will allow users to right click a link
and then open the link in a new tab... can someone please show me how to do
this. i am stumped... (feel free to paste code at a
On Wed, 28 Apr 2010 15:13:02 -0400, Josh Knox jk...@irobot.com wrote:
Josh Knox wrote:
Hi All,
I've got a simple custom QGLWidget that works fine when loaded from
c++. (basically the Sierpinski demo)
I've built a SIP binding against it, that I can load from python but
it only ever
Phil Thompson wrote:
On Wed, 28 Apr 2010 15:13:02 -0400, Josh Knox jk...@irobot.com wrote:
Josh Knox wrote:
Hi All,
I've got a simple custom QGLWidget that works fine when loaded from
c++. (basically the Sierpinski demo)
I've built a SIP binding against it, that I can load from
10 matches
Mail list logo