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
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,...
==
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
...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
...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.
_
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
...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
...'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
...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
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
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.
__
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
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
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
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
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
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
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
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
...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
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?
#---
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.
___
22 matches
Mail list logo