With the stylesheets, it looks like you can only access by the
selectors "first", "last", "middle", etc. But not by index.
So you could technically control the background individually of up to 3 tabs :-)
On Tue, Sep 11, 2012 at 10:04 AM, Dhruv Govil wrote:
> The problem with the style sheet over
The problem with the style sheet overridesis that they only seem to affect
the parent TabBarWidget and there doesn't appear to be gramular control of
the 'children' tabs themselves.
I can style the contents of each tab individually though, just not the tab
itself.
I'll take a look at that bug repo
Ok...no more coding before getting my first cup of coffee...I pasted
the wrong block. Sorry!
http://pastebin.com/M2p4FhEu
That one has the "not objExists", and an optional worldSpace boolean
I will be quiet now :-)
On Tue, Sep 11, 2012 at 9:29 AM, Justin Israel wrote:
> Not sure why I did that
Not sure why I did that extra formatting on the first line...
(http://pastebin.com/aWH2rw6p)
a = "%s.delightVertexPointPref" % sh
On Tue, Sep 11, 2012 at 9:27 AM, Justin Israel wrote:
> Probably this:
> (http://pastebin.com/fAgffsQf)
>
> def attachPref(sh, worldSpace):
> a= "%s.%s" % (sh,
Probably this:
(http://pastebin.com/fAgffsQf)
def attachPref(sh, worldSpace):
a= "%s.%s" % (sh, "delightVertexPointPref")
if cmds.objExists(a):
cmds.addAttr(sh, dt="doubleArray", ln="delightVertexPointPref")
# get points positons and write into one big string $data
ptsCnt
Hello
I have a workin MEL code that I need to convert to python.
I'm not really sure how would I set values on doubleArray attributes -
it's weird already with MEL.
So, what would be the translation of following into python :
global proc attachPref(string $sh, int $worldSpace)
{
string $a=
Came across this:
https://bugreports.qt-project.org/browse/QTBUG-840
Apparently its been an open ticket since qt 4.3
Maybe you can play around with the suggestions in that discussion.
On Sep 11, 2012, at 2:13 AM, "Mike Malinowski (LIONHEAD)"
wrote:
> I was thinking the same thing when I firs
I would need to see a snippet of your code to know why it isn't updating the
label from a single manual operation. But once you get that working properly,
you can start a QTimer to do the updates:
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtimer.html
It uses the event loop. You
Hi,
I just wanted to create a timer display in Maya.
I have a tool which i have docked to "right"
I added a label to the window and tried to display the counter. i am
echoing the result.
i could able to see the result in the script editor but the label never
gets updated and also maya doesn't
I was thinking the same thing when I first read the OP's mail. I did a quick
look around and couldn't find anything to specifically change the colour of
each tab though ( which I think is he is after ). If you can define per tab
styles though I'd love to see the stylesheet ( or is do you have to
I'd investigate targeted style sheets 1st. I've done some of this
quite successfully.
http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html
On Tue, Sep 11, 2012 at 7:35 AM, dgovil wrote:
> I've been trying to find an elegant way to color just the tab of a PyQt
> window, that is have
11 matches
Mail list logo