[PyQt] New member

2012-03-07 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
Hi. I am a new member of this mailing list. I am writing a GUI in PyQt4 that will use drag and drop of images to put a simulation together. I found one drag and drop example that uses QLabels loaded with png files. I need to be able to draw my own images or at least load other types onto my GUI.

Re: [PyQt] New member (Drag and Drop)

2012-03-08 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
Okay, I will narrow the scope of this question for now. I am playing with the draggablewidgets demo in PyQt4. What is the secret to getting different images into that app or how do I create a PNG image that it will load? From: Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC) Sent: Wednesday

[PyQt] PyQt Drag and Drop

2012-03-22 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
Now I am looking at the code posted here. http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg17197.html It works fine as is on my PC, but I am having trouble learning how to debug signals that don't happen. This may be a namespace problem that I don't understand, but I wanted to separate

[PyQt] Drag and Drop when using designer Designer

2012-03-22 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
>From all the examples I have seen using Drag and Drop I figured that I would >need to code up my D&D classes and import them and connect signals to the >Designer-generated code. In this thread I read: > Is there any way to get the drop thing without altering the set up that > setupUi method does

[PyQt] QTreeView DragDropMode

2012-04-02 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
I am looking at the documentation for QAbstractItemView Class. I have created a tree view and I would like it to accept drops from a different view, but also be able to move items within itself. None of the DragDropMode settings seem to allow that. If I set it to InternalMove it acts the way I

[PyQt] setShowDropIndicatorShown

2012-05-11 Thread Shoemaker, Ronnie A (N-UNITED SPACE ALLIANCE, LLC)
How do I get that little outline to show up where I am about to drop an item? Is setDropIndicatorShown(True) supposed to do that for a QTreeView instance? If so, what could cause it to not work? -- ronnie.a.shoema...@lmco.com ___