Monday, March 29, 2010

Program plug-in in Qt?

Hi,



I'm wondering is it possible to create a plug-in with dialog in other tools like Qt instead of Win32 SDK? I have not used the Win32 SDK for several years.



Thank you very much!

Hank
Program plug-in in Qt?
CS3 now provides the ability to use Flash to script UIs, so you have that rather

rich UI API at your disposal. I'm not quite sure on how the integration would

work from a plugin but it's at least theoretically possible.



-X

--

for photoshop scripting solutions of all sorts

contact: xbytor@gmail.com
Program plug-in in Qt?
I did a simple test. It looks like Qt works just fine.



Thanks,

Hank

Lets warm up this thread a bit! :)



Hank how did u do it? where u able to create a modal QDialog Object of some kind?



any help would be appriciated!



thx,



mike

I'm very interested in hearing more about using Qt widgets in Photoshop (file format) plug-ins. I tried to do this once with the CS2 plug-in but failed to get it to work. I don't recall exactly what happened (I may have got a window to show), but there were some showstoppers that I never got around.



Is this now possible with CS3? Can you just popup Qt dialogs or do you need to start an event loop etc.? Any info would be greatly appreciated!



Rob

Hi Rob!



It doesn't really work :( Due to the fact that QT is running its own eventloop it often happens that input directed for the qt window is also processed by photoshop itself.



When you're intending to use QT as a modal dialog it may works over disabling the input for the photoshop window(or stopping the photoshop event pump at all), but if you trying to use it as a non-modal dialog i don't really see a simple solutions (leaving some kind of hacks besides).



I solved my problem thru opening the QDialog as a separate application and solved the communication over pipes or os events. Not the cleanest method but it works for me.



Good luck with whatever you try to accomplish.



If you make any progress on this matter i hope ur will share :)



so long,



Michael

No comments:

Post a Comment