Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81162 > unrolled thread
| Started by | Michael Torrie <torriem@gmail.com> |
|---|---|
| First post | 2014-11-20 20:15 -0700 |
| Last post | 2014-11-20 20:15 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: How to access Qt components loaded from file? Michael Torrie <torriem@gmail.com> - 2014-11-20 20:15 -0700
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2014-11-20 20:15 -0700 |
| Subject | Re: How to access Qt components loaded from file? |
| Message-ID | <mailman.16078.1416539730.18130.python-list@python.org> |
On 11/20/2014 08:06 PM, Michael Torrie wrote: > anyway I've attached the working example. Just a little caveat. This code is not my original code. I would not do certain things that I just noticed, like these lines: from PyQt4.QtCore import * I would never do that normally, and recommend that you don't either. I might do: import PyQt4.QtCore as QtCore for the sake of brevity while preserving the namespace. Also, while PyQt, being a binding to a C++ library uses camelCase, I would not use it for my own variables and classes. I prefer pep8_compliant_variable_names. Also I note you are using PySide. I believe this example should run with minimal modification to the import statements on PySide
Back to top | Article view | comp.lang.python
csiph-web