If you could post, that would be great!
On Tuesday, May 15, 2012, David Moulder wrote:
Bur's implementation is very nice. I've modified the widgets paintEvent
method to add a Maya style look to them. I can post back up if people are
interested.
On Mon, May 14, 2012 at 10:23 PM, Jo
Sure
http://pastebin.com/mZ04q16h
Now includes a Maya style and removed the triangle pixmap and used a
QPolygon instead. Made the text bold to match Maya also.
It's a near 1 - 1 match.
I did try to rotate the QPolygon with QMatrix.map(poly) but I think it
rotated off screen. If someone
Bur's implementation is very nice. I've modified the widgets paintEvent
method to add a Maya style look to them. I can post back up if people are
interested.
On Mon, May 14, 2012 at 10:23 PM, Jo Jürgens jojurg...@gmail.com wrote:
Nice work!
Blur Studios have published all their pipeline
Nice work!
Blur Studios have published all their pipeline scripts, and there's a
pretty nice collapsible groupBox there. Might be interesting to have a look
at.
You can download a Windows installer from http://code.google.com/p/blur-dev/.
If you just want the groupbox script, I pasted it here:
I'm on pyqt 4.7.3. The mistake that I was making was that I defined the
signal inside my init method.
Thanks Justin, I'll definitely stick with the new syntax from now on.
p.s: here's a working example: http://pastebin.com/zcTVbat0
On Fri, May 11, 2012 at 12:29 PM, Justin Israel
One thing I really miss with PyQt is having a Maya-style collapsible
frameLayout readily available, so I hacked this together:
http://pastebin.com/5y8tsBE7
It's pretty simple at the moment. There's neither a label nor an icon
indicating the collapsed state.
Before I spend too much time on it,
I don't think there is anything wrong with the approach you are taking. This is
the norm. The framework can't provide every type of functionality, but they do
give you a ton of building blocks to make it easy to compose your own.
There isn't much to say about your code other than me nit picking
Hi Justin,
many thanks for your help.
I've cleaned up the mousePressEvent method as suggested (the original was
eclipse's suggested default syntax for overriding a method)
I'd prefer using the new-style signal-slots mechanism but in this case I
couldn't get it to work, even trying several
New style signal slots were introduced in Qt 4.5. Maybe you are using a really
old version of Qt?
On May 10, 2012, at 7:20 PM, Manuel Macha man...@manuelmacha.de wrote:
Hi Justin,
many thanks for your help.
I've cleaned up the mousePressEvent method as suggested (the original was