On Saturday 13 December 2008, David Boddie wrote:
> > No, my proposal is dropping the leading Q and using a Qt namespace
> > that doesn't require loading all modules. That way does seem
> > particularly odd, though. Perhaps a less counter-intuitive method
> > would be something like
> >
> > from pyqt4 import Qt
> > Qt.load('core', 'gui', 'svg')
>
> That's a fairly unusual solution, it has to be said.Perl's Gtk2 seems to do that, for example: GtkEntry -> Gtk2::Entry GtkLabel -> Gtk2::Label GdkColor -> Gtk2::Gdk::Color (yes, that one's hideous :P) And apparently QtRuby does that kind of thing as well. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
