On 9 July 2013 17:12, Chris Barker - NOAA Federal <chris.bar...@noaa.gov>wrote:
> oops, sent only to Paul the first time.... > > ---------- Forwarded message ---------- > From: Chris Barker - NOAA Federal <chris.bar...@noaa.gov> > > Paul, > > > Qt looks great from my first impressions but one thing I'm not too sure > > about is how native it can go, I know the controls are native and will > use > > carbon/cocoa underneath on mac for example. > > Personally I've used wxPython for years -- it would be a good option > as well (and does use Cocoa under the hood in recent versions, so > injecting some custom Ma-only code in there is quite doable. > > A lot of folks like QT a lot, it may be a good way to go -- honestly, > I've stuck with wx mostly due to inertia -- never really considering > alternatives. > > I've used wxpython a lot in the past, and maintain some code that uses it and I do like it, there are a couple of bits that have put me off though. There doesn't seem to be an obvious way to implement an MVC type pattern with it. I haven't used Qt much at all yet but QML looks extremely interesting and pretty powerful. This signal and slots in qt reminds me a lot of the outlet actions in the iOS world as well which helps a lot at keeping everything de-coupled. I've found an awful lot of bugs with wx over the time I've been using it as well which has put me off somewhat, but that's probably true for a lot of systems/frameworks of that size that you get very familiar with and use a lot. > However, there is a key design difference -- wx wraps the native > widgets, and QT, for the most part, re-implements them with low-level > primitives. So while a QT Window is probably a Cocoa Window, the > individual buttons, etc are not native. I don't know to what extent > you can override this, but I do know that most of the QT apps I've > seen on the Mac are not very native: not even using the native file > open dialogs and the like. I'd be shocked if you couldn't do better > with some care, but QT does not appear to do a very good job of native > out of the box. > Do you know any Qt apps for mac? It would be quite useful to take a look at a few to help weigh up my options. > > wxPython requires a bit of care to look and feel truly native as well, > but it gets closer by default. > > IIUC, PySide is essentially an alternative to PyQT with a different > (more liberal) licence. It is certainly under active development. For > example, Enthought, Inc is relying on it for a lot of their stuff, and > has hired Robin Dunn (ironically the wxPython founder/developer) to > work on it. There was a sprint at last weeks' SciPy conference as > well. > > If you do want to cal native code, PYObjC is likely the easiest way, > but if that doesn't look right to you, Cython may be worth a shot -- > it's a good way to call C and C++ APIs. > > HTH, > -Chris > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG