m background and something extra in the
foreground on top of everything else.
I'd look at the z property of items to create virtual layers.
--
Jan Ekholm
jan.ekh...@smultron.net
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
nt")
> def foo(self, i):
> print i
Or perhaps:
QtCore.QObject.connect(spin, QtCore.SIGNAL('valueChanged(int)'), spin.foo)
--
Jan Ekholm
jan.ekh...@smultron.net
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
to move, the CPU goes to 100%!
>
> Any idea to improve that code?
At least don't use a thread to update GUI stuff, you'll just cause yourself a
lot of problems and crashes.
--
Jan Ekholm
jan.ekh...@smultron.net
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
p = QtGui.QApplication([])
> web = QtWebKit.QWebView()
> url = QtWebKit.QUrl("http://library.williamson-tn.org";)
> web.load(url)
> web.show()
> app.exec_()
>
> helped quite a bit, but didn't find QUrl.
QUrl comes from QtCore.
--
Jan Ekholm
[EMAIL PROTECTED]
_
On Thursday 31 July 2008 10:15:34 Jan Ekholm wrote:
> Seems that QObjectCreator.addCustomWidget
> in /usr/lib/python2.5/site-packages/PyQt4/uic/objcreator.py manages to find
> a class named KeywordTree in PyKDE4.kdeui. When that method is entered the
> data is all fine and when done it
On Thursday 31 July 2008 09:53:24 Jan Ekholm wrote:
> On Wednesday 30 July 2008 14:25:37 Jan Ekholm wrote:
> > On Wednesday 30 July 2008 13:47:55 Jan Ekholm wrote:
> >
> >
> >
> > I cut the window down to a minimal example that for me does not work. The
> >
On Wednesday 30 July 2008 14:25:37 Jan Ekholm wrote:
> On Wednesday 30 July 2008 13:47:55 Jan Ekholm wrote:
>
>
>
> I cut the window down to a minimal example that for me does not work. The
> files are all attached and the code is also inline below. I assume I do
> somethi
On Wednesday 30 July 2008 13:47:55 Jan Ekholm wrote:
I cut the window down to a minimal example that for me does not work. The
files are all attached and the code is also inline below. I assume I do
something silly, but for the love of Darwin I can't figure it out.
tags.py:
import sys
have I stumbled
across any problems.
I consider nuking KDE 4.1 if I can't solve this, as this application is *very*
important for us. But perhaps there's something that a n00b like me hasn't
spotted? Something that used to work despite it being
On Monday 26 November 2007, Phil Thompson wrote:
> On Monday 26 November 2007, Jan Ekholm wrote:
> > Or is this a case where I should either a) remove all the distro packages
> > and compile everything myself or b) just let it be and wait for some
> > future version of said di
or some future
version of said distro which includes a newer sip and possibly everything
else too?
--
Jan Ekholm
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
yQt4:
Version: 4.3-2ubuntu7.1 (for Qt 4.3.2, from Ubuntu packages)
PyQt4 itself works just fine. What more information should I include?
Best regards,
Jan Ekholm
--
Jan Ekholm
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@r
le for
an example of the extra datastructure that is required.
What is IMHO missing there is a QAbstractTreeModel that removes most of the
gore (such as parent()) and leaves only the relevant pieces for the
applications developer to worry about.
But this is way off-topic for this list and
to do that for my own app. But as subclassing works ok and the
tree models are just that much too horrible to use I could take a while. :) I
wonder what someone smoked when designing the models wrt trees...
--
Jan Ekholm
[EMAIL PROTECTED]
___
PyQt mailing li
r dnd
> properties to true.
At least I couldn't get DnD to work without subclassing and providing
something in the dragEnterEvent, dragMoveEvent and dropEvent handlers. But it
did work fine when following the docs at:
http://doc.trolltech.com/4.3/dnd.html
--
Jan Ekh
still
design with Designer but you end up using your own subclasses. Works fine
with PyQt too.
--
Jan Ekholm
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
x27;s fine, but the QIcon is in a
QVariant and the QVariant class has no QVariant.toIcon() method, one should
in C++ use code like:
if (v.canConvert())
QPixmap p = v.value(v);
How would one do that with PyQt? Any workarounds if it can't be cast to QIcon?
Best regards,
On Sunday 16 July 2006 00:58, Phil Thompson wrote:
> You need to post a short example that demonstrates the problem.
I haven't been able to reduce the app sufficiently and retain the GC error.
The crash when clicking on a row seems to have been my own mistake where a
model was given to a QListW
soon as a row is clicked. I don't really know how to
get more meaningful information about the crash. Hints are welcome.
PyQt4 is compiled with sip-4.4.5 and uses Qt 4.1.2 from Kubuntu Dapper.
Any ideas? Should one just not use the model/view stuff?
Best regards,
Jan Ekholm
--
Shad
tion, but that
is no option at the moment. How have you others done it? Or maybe there
even are [K]Ubuntu packages somewhere that work alongside PyQt3?
Best regards,
Jan Ekholm
--
Jan Ekholm
[EMAIL PROTECTED]
___
PyKDE mailing listPyKDE@mats.
20 matches
Mail list logo