I'm trying to copy text from Maya's script editor into a PyQt LineEdit (or
any text widget for that matter).
I've run into an interesting problem. If you run this widget outside Maya,
you can copy/paste from Maya, into the line edit just fine.
*Clipboard: text from script editor type: *
However,
Is the code available for us to take a look at for possible optimizations
On Tue, Aug 31, 2010 at 9:09 AM, alanm wrote:
> I wrote a small browser in PyQT4 using QWebView, of course. The browser
> runs
> well and does what I need, but when I deployed it to my thin clients, it
> was
> far to slow
Using the following setup - Kubuntu w/ KDE
python 2.6.4
PyQt 4.5.1
Qt 4.5.2
The window shows fine, but the stdout (I believe) is littered with the
following - - - any suggestions on what this could mean?
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed requ
I'd imagine you'd have to do this yourself - it's one line of code, two
including the if statement
On Mon, Aug 30, 2010 at 12:31 PM, Martin Airs wrote:
> Good day all,
>
> I wonder is it possible have a QTextBrowser automaticaly turn urls into
> links
>
> ie. If I use a QTextBrowser as a main wi
Hugo Léveillé wrote:
> I asked the exact same question a week ago :)
>
> The answer was to use the Phonon module. Quicktime will play nativly under
> OSX, but not under XP. Havent tested Win7 but heard the quicktime was
> playing nativly so might be supported
>
>
>
> On Fri,
Not looking for anyone to write the code for me, just wondering if anyone
has any success with this?
I want to be able to use Pyqt to make a simple movie player, perhaps there
is already functionality in widgets that do this?
Thoughts?
___
PyQt mailing
Has anyone successfully found a way to wrap Maya's windows in a way they can
be minimized or can be pushed to the back?
For instance, the script editor no longer has a minimize button on the top
right and if bring up the script editor and click behind it on Maya's main
canvas, the script editor st
My question is simple, I want to take the QTreeWidgetItems out of a tree,
and reinsert them in a specific order. So far with custom classes I've been
unable to succeed.
I tried below to build a simple example of my issue but it errors out when I
hit the "ReInsert" button, perhaps due to what I'm do
Any idea how to keep the setItemWidget() after it's reparented ?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
I'm trying to keep a widget put into a QTreeWidgetItem after a reparent
(drag and drop) using QTreeWidget.setItemWidget()
But the result, if you compile the following code - is that the widget
inside the QTreeWidgetItem disappears. Any idea why? What code would fix
this (repopulate the QTreeWidget
was
related to whether I should bother with this "invisible root node",
attaching parenting my Maya root nodes under the invis root, or if I need to
create my own, or if I should create one like you've shown.
On Sun, Oct 25, 2009 at 2:48 AM, Baz Walter wrote:
> Taylor Carra
How do you add an invisible root item?
I've tried just not setting the text, but that doesn't do the trick ;)
item = QTreeWidgetItem(self.treeMain)
self.treeMain.addTopLevelItem(item)
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.rive
I can't grab which QTreeItemWidget was dragged, and the QTreeItemWidget it
was dragged onto (parented under).
On Fri, Oct 23, 2009 at 6:38 AM, Baz Walter wrote:
> Taylor Carrasco wrote:
>
>> For my QTreeWidget I'm still confused as to what to put in dropEvent()
&g
I'm looking for the exact same thing (to be notified when an item hierarchy
changes) - but the following signal -
self.connect(self.treeMain, SIGNAL('itemChanged(QTreeWidgetItem *, int)'),
self.onItemChanged) # changes on init only
is not emitted when an item is reparented. is there a way to do t
For my QTreeWidget I'm still confused as to what to put in dropEvent()
Again, I only have event.accept() so far, and I can't figure out what else I
need to make sure the row I'm dragged get's put into the row it supposed to,
just as if I had never written the custom event in the first place.
d
> Just trying to do some simple drag drop calls with a QTreeWidget and
> getting nowheres
>
> What am I missing in dropEvent to get it to actually copy the tree data
> into the new object?
> Currently the dragged object disappears after being dragged onto a new top
> level item, but doesn't sho
This has nothing to do with Tables haha - sorry.
On Wed, Sep 9, 2009 at 3:35 PM, Taylor Carrasco wrote:
> In Python and Pyqt - I've got a simple class which instantiates a Label
> class and a GroupBox class.
>
> Should passing the Groupbox to the Label upon creation should ma
In Python and Pyqt - I've got a simple class which instantiates a Label
class and a GroupBox class.
Should passing the Groupbox to the Label upon creation should make the
Groupbox the parent of Label?
When I create the GroupBox it's fine, when I create the Label however - it
appears distorted (or
18 matches
Mail list logo