SignatureThanks Tim, good learning resource
btw

srcDir = ''
for plugin in Application.Plugins: # Isn't there an easier way to get this path?
     if plugin.Name == 'MultiImporter_Qt':
         srcDir = os.path.dirname(plugin.Filename)

like this:
srcDir = ''
srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' ).Filename )

From: Tim Crowson
Sent: Tuesday, August 28, 2012 12:10 AM
To: [email protected]
Subject: Re: Some more questions about PyQt in Softimage

I've also added a page about it on my site:
http://dynamiclens.com/wordpress/?page_id=750

-Tim



On 8/27/2012 5:04 PM, Steven Caron wrote:
great news! sorry to ask this of you again, but could you log another separate issue on github? i ask because a) i am super busy and b) i can't get to it now and need a nice reminder

s


On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson <[email protected]> wrote:

Yes, that seems to do the trick! New version (v1.13) is attached.
Thanks Luc-Eric!

Now, any Qt experts who can tell me about button sizes for standard buttons on a QMessageBox? ;-)


-Tim




On 8/27/2012 3:34 PM, Steven Caron wrote:
oh nice... thanks luc-eric!

@tim, give this a shot?


On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau <[email protected]> wrote:

On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron <[email protected]> wrote:
these are only exposed to the cpp api right? so i need to expose this to
scripting in the QtSoftimage plugin...

it's there in scripting

desktop = Application.Desktop
desktop.SuspendWin32ControlsHook()
desktop.RestoreWin32ControlsHook()




--





--

Reply via email to