Re: [PyQt] From/Import, proper namespace,etc

2012-05-21 Thread JPolk
Thanks Phil, ...(yes, I see the design flaw you speak of...was doing a bit of testing) Just to add for prosterity,...your answer had a small typo...just needs a ".connect" statement in thereso for others who may find this later,..the statement is: self.button.clicked.connect(lambda chec

[PyQt] From/Import, proper namespace,etc

2012-05-18 Thread JPolk
I think I figured this out once, lol...but can't seem to recall... Consider you have two python files,..."a" and "b"...where you "launch a" and "import b". But inside "b" is a PyQt call back to a control defined in "a". I keep getting a "not defined" error... So,... ==

Re: [PyQt] Animate text in QLabel

2012-04-04 Thread JPolk
Check out Wilbert's excellent reply to a similar question I had a month or so ago.. http://python.6.n6.nabble.com/Text-quot-write-on-quot-effect-td4518350.html http://python.6.n6.nabble.com/Text-quot-write-on-quot-effect-td4518350.html -- View this message in context: http://python.6.n6.nabbl

Re: [PyQt] need to install multiple versions of PyQt on each laptop at work

2012-03-21 Thread JPolk
...understood, Thanks... Btw,...just for prosterity, The install went pretty well...on WinXP 32bit, 1) Installed newer version of Python (2.7) 2) Checked Env variables,etc. 3) Installed Qt Libs (minGW) only with downloaded installer (4.7.1) 4) Checked Env variables.etc 5) ran "qtv

Re: [PyQt] need to install multiple versions of PyQt on each laptop at work

2012-03-20 Thread JPolk
...mmm, I was about tois that unstable or problematic ? -- View this message in context: http://python.6.n6.nabble.com/need-to-install-multiple-versions-of-PyQt-on-each-laptop-at-work-tp4342310p4638573.html Sent from the PyQt mailing list archive at Nabble.com. _

Re: [PyQt] need to install multiple versions of PyQt on each laptop at work

2012-03-20 Thread JPolk
I also need to install another version of Qt/PyQt,... Currently, I have these versions installed on my Windows box,.. Qt 4.5.3 PyQt 4.7.3 living under Python 2.6.x, in C:/Python26/Lib/site-packages/ All that needs to stay intact,so if I: 1) install Python 2.7 2) install Qt 4

Re: [PyQt] File Filtering using QFileSystemModel & QTreeView

2012-03-09 Thread JPolk
...looking at my old code,...I also do a ".setRootIndex"like so: libmodel1 = QtGui.QFileSystemModel() libmodel1.setFilter(QDir.AllDirs | QDir.NoDotAndDotDot | QDir.AllEntries) libmodel1.setNameFilters(filter) libmodel1.setNameFilterDisables(False) *libmodel1.setRootPath(QDir.rootPath() ) libmo

Re: [PyQt] Designer source

2012-03-07 Thread JPolk
...'cause it would make it easier for me to merge Designer with Maya ;-) -- View this message in context: http://python.6.n6.nabble.com/Designer-source-tp4556647p4556938.html Sent from the PyQt mailing list archive at Nabble.com. ___ PyQt mailing list

[PyQt] Designer source

2012-03-07 Thread JPolk
...I think I know the answer to this already, but just to be sure,... Does Designer only exist as a C or C++ source program?... Meaning, has anybody ported this over into the Python language? Thanks, Jim -- View this message in context: http://python.6.n6.nabble.com/Designer-source-tp45566

Re: [PyQt] Gui best practice

2012-02-28 Thread JPolk
I also use the second method...for me, it's more direct...and let's me make very small tweeks to the UI (via the .ui file) without requiring modifying any source code...unless it needs it of course,... -- View this message in context: http://python.6.n6.nabble.com/Gui-best-practice-tp4516518p4529

Re: [PyQt] Text "write on" effect

2012-02-28 Thread JPolk
Bravo Wilbert!...pure genius!that solution never occurred to meThank you very much! -- View this message in context: http://python.6.n6.nabble.com/Text-write-on-effect-tp4518350p4523288.html Sent from the PyQt mailing list archive at Nabble.com. __

[PyQt] Text "write on" effect

2012-02-27 Thread JPolk
okay, this may seem a bit superfluous, but would be a very nice animation effect to have in one's toolbox.. For those that don't know what a "write on" animation is,...you probably see them on TV everyday,.. but it's when a whole sentence is displayed a character at time, with just a fraction of

Re: [PyQt] QDockWidget issue in Linux, but not Windows, OSX

2012-02-13 Thread JPolk
Hey Pete, Well I did try your technique, but the problem still exists. As I said, it's my bad that the example I gave you, while showing the bug, was not totally representative of the real program. I figured that solving it on a small scale, if you will, would yield a solution that would work i

Re: [PyQt] QDockWidget issue in Linux, but not Windows, OSX

2012-02-13 Thread JPolk
Thanks for your help, Pete While your example does indeed fix the problem that my example code showed, unfortunately, when plugging it in to the real program, the problem persists. However, I have been able to reproduce this bug using just Designer. On Windows here,...run Designer Create a M

Re: [PyQt] QDockWidget issue in Linux, but not Windows, OSX

2012-02-10 Thread JPolk
Here is a simplified example of the bug... Again, this behaviour only happens in Linux, not WinXP or OSX...Anybody have any idea or thoughts on this? #= #!/usr/bin/python # On linux, when you undock the widget, the resu

[PyQt] QDockWidget issue in Linux, but not Windows, OSX

2012-02-07 Thread JPolk
I have a really weird phenomena here, and am hoping somebody can shed some light on this... Before posting code, thought I would briefly describe,... Using a treeWidget, expanding an item presents us a tableWidget whose parent is a tabWidget, whose parent in turn is a dockWidget,... dockWidget

Re: [PyQt] Can DockWidgets be docked onto anything else except MainWindows?

2012-02-02 Thread JPolk
Thanks for your reply, Andreas -- View this message in context: http://python.6.n6.nabble.com/Can-DockWidgets-be-docked-onto-anything-else-except-MainWindows-tp4357906p4359825.html Sent from the PyQt mailing list archive at Nabble.com. ___ PyQt mailin

Re: [PyQt] Parent/Child widget clipping

2012-02-02 Thread JPolk
LOL, no, not my cup of tea, thank you... But I appreciate all work that goes into making this PyQt thing fun to use! And you correctly surmise, that 'setGeom' in there was just for testing,.. Cheers! -- View this message in context: http://python.6.n6.nabble.com/Parent-Child-widget-clipping

[PyQt] Can DockWidgets be docked onto anything else except MainWindows?

2012-02-01 Thread JPolk
Can DockWidgets be docked onto anything else except MainWindows ? Supposed you have either a layout or a widget that's "mid-page" in a window and want to dock/undock from that layout/widget and not the MainWindow... Doesn't look to be possible,...Can anyone confirm this? Thanks! -- View this

Re: [PyQt] Parent/Child widget clipping

2012-02-01 Thread JPolk
...not sure if this is the proper or elegant way, but I found a workaroundby setting minWidth and minHeight self.widget.setMinimumWidth(minW) self.widget.setMinimumHeight(minH) ...then, once inserted into the TreeWidget, it retains it's height, and isn't clipped... -- View this

Re: [PyQt] Parent/Child widget clipping

2012-01-31 Thread JPolk
So after tinkering with this a bit more, I'm in another conundrum, lol... When I replace the 'child-table' (QTableWidget) with another kind of widget, and give a size using 'setGeometry'...the solution no longer works... Why is that? What am I doing wrong, Pete? #---

Re: [PyQt] Parent/Child widget clipping

2012-01-30 Thread JPolk
Whoo! That did it, Peter!! Thank you, Sir! I owe you another beer! -- View this message in context: http://python.6.n6.nabble.com/Parent-Child-widget-clipping-tp4352146p4352262.html Sent from the PyQt mailing list archive at Nabble.com. ___