PyQt - interface similar to Tactic/Shotgun possible?

143 views
Skip to first unread message

Panupat Chongstitwattana

unread,
Dec 16, 2013, 2:32:20 AM12/16/13
to python_in...@googlegroups.com

Hi.

I'm curious how possible is it to create some complex interface similar to Tactic/shotgun? Like the multiple tasks available for each item which have their own drop down we can adjust.

I'm also very curious about creating Gantt charts, any resources out there I can learn from?

Thank you.

Justin Israel

unread,
Dec 16, 2013, 5:15:30 AM12/16/13
to python_in...@googlegroups.com
I don't see why you couldn't create something like this. Looks like a fancy custom table with custom cell delegates.
Not sure about resources for the Gantt charts though.


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a0a0d4b4-470e-427a-93d2-51793d9589fe%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

dgovil

unread,
Dec 16, 2013, 2:28:52 PM12/16/13
to python_in...@googlegroups.com
Definitely possible in PyQt. I've built smaller but similar UIs.
If it's for a similar purpose as Shotgun though, I'd stick to a web interface since it's something you'd want accesable to people on the go too.

As for gantt charts, quick google search found a result by Justin from a year ago suggesting PyQWT : http://www.qtcentre.org/threads/40428-Gantt-charts-with-QWT

Justin Israel

unread,
Dec 16, 2013, 3:24:48 PM12/16/13
to python_in...@googlegroups.com

Did I suggest that before? It must have crossed my path and been fresh in my mind then, ha.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

Marcus Ottosson

unread,
Dec 19, 2013, 12:48:38 PM12/19/13
to python_in...@googlegroups.com
You might be pleased to know that both Maya and Nuke (along with many other big apps) have both been built using Qt. So a Tactic UI is certainly possible too!

Panupat Chongstitwattana

unread,
Dec 22, 2013, 10:58:29 PM12/22/13
to python_in...@googlegroups.com
Thank you. I found Justin's post, too. Nest next stop would be to learn this I guess :)

It does seem a bit monstrous when I think about it
- draw nice looking charts
- ability to drag/drop/resize the gantt and update start/end date once the user is done, and of course update the database.

At the moment I have not the faintest clue. Time to start learning!

Best regard,


On Tuesday, December 17, 2013 3:24:48 AM UTC+7, Justin Israel wrote:

Did I suggest that before? It must have crossed my path and been fresh in my mind then, ha.

On Dec 17, 2013 8:28 AM, "dgovil" <dhruv...@gmail.com> wrote:
Definitely possible in PyQt. I've built smaller but similar UIs.
If it's for a similar purpose as Shotgun though, I'd stick to a web interface since it's something you'd want accesable to people on the go too.

As for gantt charts, quick google search found a result by Justin from a year ago suggesting PyQWT : http://www.qtcentre.org/threads/40428-Gantt-charts-with-QWT


On Sunday, 15 December 2013 23:32:20 UTC-8, Panupat Chongstitwattana wrote:

Hi.

I'm curious how possible is it to create some complex interface similar to Tactic/shotgun? Like the multiple tasks available for each item which have their own drop down we can adjust.

I'm also very curious about creating Gantt charts, any resources out there I can learn from?

Thank you.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

Panupat Chongstitwattana

unread,
Dec 22, 2013, 11:05:49 PM12/22/13
to python_in...@googlegroups.com
Web interface has crossed my mind, too. But the amount of things I'd need to learn would be to much I think.

I really like TACTIC's approach that uses Python in the background and serve everything via HTTP.
But the things I will need to learn would be ....

- Running Python as service
- Make that service serve web page to apache
- HTML and lots of Javascript

I'm clueless enough with Python and PyQt alone and am really afraid to learn all that.
Maybe as a long term plan.

Justin Israel

unread,
Dec 22, 2013, 11:21:01 PM12/22/13
to python_in...@googlegroups.com
The backend part is actually not so bad. "Running Python as a Service" and "Make that service server web page to apache" is really just using one of the available Python web framework, which you can put behind either Apache or Nginx just to proxy it the requests. Django, Flask, Bottle, etc, are all available frameworks. Part of it would be serving the "views" as web pages, and then part of it will be supporting a REST API so that your dynamic client side pages can interactively go back and forth with your backend via something like jquery. 


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a7c7587b-05d6-471e-bc35-22e6cd588738%40googlegroups.com.

Panupat Chongstitwattana

unread,
Dec 23, 2013, 2:06:40 AM12/23/13
to python_in...@googlegroups.com
Would you recommend it over PyQt Justin?

Justin Israel

unread,
Dec 23, 2013, 2:21:02 AM12/23/13
to python_in...@googlegroups.com
They server different needs. A desktop application is going to give you direct client-side access to the filesystem and network resources. It will also give you the potential for threaded processing if needed. But the downside would be that its not as portable as a web solution.
A web solution means that anyone with a connection to the network can access the application, without library dependencies. But it might require that you centralize various types of operations on the server-side, that might have been able to be performed client side in a desktop application. All of your access to the filesystem and various other network resources (unless already exposed as an http service) would need to be served up by an API on your backend.

So I suppose the answer is... which ever best serves your specific needs? If you have no problem with making a python-based desktop app available to everyone that needs it, and you know PyQt better than you know jquery + css + a python web framework, then stick with PyQt. If a big priority is that someone is able to access the latest version of your service, at any location in the world, on various platforms (even mobile), then focus on a web app. 



On Mon, Dec 23, 2013 at 8:06 PM, Panupat Chongstitwattana <panu...@gmail.com> wrote:
Would you recommend it over PyQt Justin?
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages