Hello,
I am writing some code to allow a pyqt4 program to be run with ipython in a
separate thread. Using python-2.5.1, qt-4.3.1 and pyqt-4.3, I get the
following warning messages at each timeout:
QSocketNotifier: Can only be used with threads started with QThread
QApplication::exec: Must be
On Friday 07 September 2007 04:09:02 am Phil Thompson wrote:
On Thursday 06 September 2007, Darren Dale wrote:
Hello,
I am writing some code to allow a pyqt4 program to be run with ipython in
a separate thread. Using python-2.5.1, qt-4.3.1 and pyqt-4.3, I get the
following warning
I am trying to understand how to run a second event loop using a qthread. The
Qt docs indicate this is possible, but I haven't found any examples. I have a
simple example that I think should work, but doesn't. When I run my thread's
exec_(), it blocks. The actual application I am writing calls
On Sunday 28 October 2007 06:39:27 pm Ingmar Steen wrote:
On 10/28/07, Darren Dale [EMAIL PROTECTED] wrote:
I am trying to understand how to run a second event loop using a qthread.
The Qt docs indicate this is possible, but I haven't found any examples.
I have a simple example that I think
On Monday 29 October 2007 04:15:45 am Andreas Pakulat wrote:
On 28.10.07 18:31:25, Darren Dale wrote:
I am trying to understand how to run a second event loop using a qthread.
The Qt docs indicate this is possible, but I haven't found any examples.
I have a simple example that I think
On Thursday 13 December 2007 09:10:24 am Darren Dale wrote:
I am trying to figure out how to append an item to a model derived from
QAbstractItemModel, and have the appended item appear expanded by default,
but I don't understand how to work with QModelIndex. Could someone suggest
how
Hello,
A while back I inquired about some warning messages that appear in a threaded
application at each timeout, which was addressed in a subsequent PyQt4
release: http://thread.gmane.org/gmane.comp.python.pyqt-pykde/9800/focus=9803
A similar problem occurs with QCoreApplication, it can be
On Thursday 07 February 2008 07:14:41 am Phil Thompson wrote:
On Tuesday 05 February 2008, Darren Dale wrote:
Hello,
A while back I inquired about some warning messages that appear in a
threaded application at each timeout, which was addressed in a subsequent
PyQt4 release:
http
I am using QFileDialog.getSaveFileName:
from PyQt4 import QtGui
a = QtGui.QApplication([])
f = QtGui.QFileDialog.getSaveFileName(None, 'Open File', '.')
print f
If I select an existing file and select save, another dialog automatically
pops up asking if I want to replace it. If I select no,
Could anyone suggest how to save and restore the size and position of a dock
widget and an mdi subwindow?
Thanks,
Darren
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Monday 10 March 2008 05:03:59 pm Darren Dale wrote:
Could anyone suggest how to save and restore the size and position of a
dock widget and an mdi subwindow?
I found the answer to my dock question by looking through the eric4 source
code: use QSettings and QMainWindow.saveState
On Monday 24 March 2008 12:43:34 pm Jim Bublitz wrote:
On Monday 24 March 2008 07:31, Giacomo Lacava wrote:
Hi,
I can't build PyKDE 4.0.2-1, even though KDE 4.0.2 is installed. It
seems it cannot find the Qt include files, even though QTDIR is set to
a symbolic link
Does anyone if it is possible (and if so, how) to configure a dock widget so
it can be resized when it is detached from the main window?
Thanks,
Darren
___
PyQt mailing listPyQt@riverbankcomputing.com
I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I know
the final version is out, gentoo hasnt included it yet in their package
manager) sip-4.7.5, qscintilla-2.2, and PyQt4-4.4.
When I run configure.py, I get an error:
Generating the C++ source for the kdecore module...
On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote:
On Wednesday 14 May 2008 10:27, Darren Dale wrote:
I am working on compiling pykde4-4.0.2-1. I have installed qt-4.4_rc1 (I
know the final version is out, gentoo hasnt included it yet in their
package manager) sip-4.7.5, qscintilla-2.2
On Wednesday 14 May 2008 04:14:43 pm Jim Bublitz wrote:
On Wednesday 14 May 2008 12:09, Darren Dale wrote:
On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote:
On Wednesday 14 May 2008 10:27, Darren Dale wrote:
However, now when I run make I get an error that I am unable to diagnose
On Wednesday 14 May 2008 06:54:57 pm Jim Bublitz wrote:
On Wednesday 14 May 2008 13:54, Darren Dale wrote:
On Wednesday 14 May 2008 04:14:43 pm Jim Bublitz wrote:
On Wednesday 14 May 2008 12:09, Darren Dale wrote:
On Wednesday 14 May 2008 01:58:37 pm Jim Bublitz wrote:
On Wednesday
On Thursday 15 May 2008 08:26:35 am Darren Dale wrote:
On Wednesday 14 May 2008 06:54:57 pm Jim Bublitz wrote:
What would help is if a) you could post a copy of the info at the
beginning of configure.py's run - where it thinks everything is. It
should be finding the Qt directories from your
Hi Jim,
On Thu, May 15, 2008 at 6:02 PM, Jim Bublitz [EMAIL PROTECTED]
wrote:
I think I must have a different version of configure.py than you are
expecting. I'm using the one that comes with pykde-4.0.2-1 at the
riverbankcomputing website. It doesnt have a variable called
On Tuesday 20 May 2008 03:29:14 pm Jim Bublitz wrote:
On Tuesday 20 May 2008 10:47, Darren Dale wrote:
At that point, I get another can't use default assignment operator
error:
I'm not sure what's causing that error, which seems to be the basic problem
(other than having an updated
This morning I updated SIP to version 4.7.6 and PyQt4 to version 4.4.2 on a
64bit gentoo linux system. When I launch eric4, I get a segfault that looks
like it is originating from QScintilla:
2008-05-21, 10:31:43
On Wednesday 21 May 2008 11:17:16 am Detlev Offenbach wrote:
Hi,
did you regenerate the QScintilla2 Python bindings AFTER updating PyQt4?
That is a common error.
Oh, thank you. My mistake, I'm sorry for adding noise.
___
PyQt mailing list
On Friday 30 May 2008 5:22:44 pm Pierre Raybaut wrote:
Hi,
I found out a performance bug when embedding a Matplotlib 0.91.2 canvas
in a PyQt 4.4.2 object: the pan/zoom feature is very slow (with PyQt
4.3.3, and the exact same scripts, pan/zoom is real-time).
I am posting this in Matplotlib
On Saturday 26 July 2008 03:48:53 you wrote:
On Fri, 25 Jul 2008 17:41:22 -0400, Darren Dale [EMAIL PROTECTED] wrote:
I use a library that provides rudimentary thread safety of its objects
and
file
I/O using threading.RLock from the python standard library. Could anyone
tell
me
On Fri, Jan 16, 2009 at 9:03 AM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Fri, 16 Jan 2009 13:37:47 + (UTC), David F dael...@gmail.com
wrote:
After the announcement that Qt 4.5 will be released as LGPL,
has it been decided if PyQt will do the same? I have seen
some
On Sat, Feb 7, 2009 at 6:58 PM, projet...@club-internet.fr wrote:
Hello,
I'm looking for examples of little PyQt applications embending MatplotLib.
Here is a good example:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html.
The matplotlib mailing list is
On Sun, Feb 8, 2009 at 11:48 AM, projet...@club-internet.fr wrote:
Hello,
I'm looking for examples of little PyQt applications embending
MatplotLib.
Here is a good example:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_q
On Sat, Mar 7, 2009 at 12:50 PM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Sat, 7 Mar 2009 18:06:12 +0100, Detlev Offenbach
det...@die-offenbachs.de wrote:
Hi,
please include the PyQt4 documentation as a compressed Qt Help files
(*.qch)
as well. eric4 will support Qt Help
Hello,
I am trying to create a simple model and view for a simple nested dictionary
like d:
c1 = {'id':1, 'description':'child 1'}
c2 = {'id':2, 'description':'child 2'}
d = {'id':0, 'description':'whatever', 'children':[c1, c2]}
I have a self-contained, relatively simple script
On Tue, Mar 10, 2009 at 5:28 PM, Darren Dale dsdal...@gmail.com wrote:
Hello,
I am trying to create a simple model and view for a simple nested
dictionary like d:
c1 = {'id':1, 'description':'child 1'}
c2 = {'id':2, 'description':'child 2'}
d = {'id':0, 'description':'whatever
On Tue, Mar 10, 2009 at 8:03 PM, Darren Dale dsdal...@gmail.com wrote:
On Tue, Mar 10, 2009 at 5:28 PM, Darren Dale dsdal...@gmail.com wrote:
Hello,
I am trying to create a simple model and view for a simple nested
dictionary like d:
c1 = {'id':1, 'description':'child 1'}
c2
On Wed, Mar 11, 2009 at 11:56 AM, Darren Dale dsdal...@gmail.com wrote:
On Tue, Mar 10, 2009 at 8:03 PM, Darren Dale dsdal...@gmail.com wrote:
On Tue, Mar 10, 2009 at 5:28 PM, Darren Dale dsdal...@gmail.com wrote:
Hello,
I am trying to create a simple model and view for a simple nested
On Thu, Mar 12, 2009 at 2:57 PM, Arnold Krille arn...@arnoldarts.de wrote:
On Thursday 12 March 2009 17:31:40 Darren Dale wrote:
If anybody has some example of a working QAbstractItemModel/QTreeView for
dynamic data, would you please consider posting it (if its short) or
sending it to me
I have been keeping up to date with the snapshots, and after installing them
I try to launch Eric4 and I get a segfault. I think this simple example,
adapted from eric4's Debugger/BreakPointModel.py, might illustrate the
problem:
from PyQt4 import QtCore
alignment =
This morning I tried to install last nights snapshots on Kubuntu Jaunty for
python-3.0.1. python configure.py would get up to the point were this is
printed:
Type '2' to view the GPL v2 license.
Type '3' to view the GPL v3 license.
Type 'yes' to accept the terms of the license.
Type 'no' to
I have a simple question about QThread. The attached simple example
illustrates a case where I have a widget that creates and holds a reference
to a thread, setting itself as the parent. I need the parent to hold a
reference to the thread, so I can interrupt its execution for example. I
want to
On Fri, Mar 27, 2009 at 10:14 AM, Darren Dale dsdal...@gmail.com wrote:
I have a simple question about QThread. The attached simple example
illustrates a case where I have a widget that creates and holds a reference
to a thread, setting itself as the parent. I need the parent to hold
Hi Andreas,
On Mon, Apr 13, 2009 at 9:58 AM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 14:11:46, Arnold Krille wrote:
It is a pointer for internal purposes, that is internal for the model
so it can map indexes to the internal data structures. (And yes, that
is needed for anything
On Mon, Apr 13, 2009 at 3:11 PM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 10:27:56, Darren Dale wrote:
On Mon, Apr 13, 2009 at 9:58 AM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 14:11:46, Arnold Krille wrote:
It is a pointer for internal purposes, that is internal
On Mon, Apr 13, 2009 at 3:43 PM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Apr 13, 2009 at 3:11 PM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 10:27:56, Darren Dale wrote:
On Mon, Apr 13, 2009 at 9:58 AM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 14:11:46, Arnold Krille
On Thu, Apr 23, 2009 at 12:28 PM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Apr 13, 2009 at 3:43 PM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Apr 13, 2009 at 3:11 PM, Andreas Pakulat ap...@gmx.de wrote:
On 13.04.09 10:27:56, Darren Dale wrote:
On Mon, Apr 13, 2009 at 9:58 AM
Have you tried constructing a QApplication first?
On Sat, Apr 25, 2009 at 8:24 PM, projetmbc projet...@club-internet.frwrote:
I've already try that but I have the following message :
QWidget: Must construct a QApplication before a QPaintDevice
Christophe.
Demetrius Cassidy a écrit :
On Mon, Apr 20, 2009 at 2:54 PM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Mon, 20 Apr 2009 08:22:54 +0200, Simon Edwards si...@simonzone.com
wrote:
Phil Thompson wrote:
On Sun, 19 Apr 2009 21:39:29 +0200, Simon Edwards si...@simonzone.com
wrote:
Phil Thompson wrote:
On Wed, May 6, 2009 at 10:45 AM, Henrik Pauli henrik.pa...@gmail.comwrote:
On Wednesday 06 May 2009 13:28:15 Attila Csipa wrote:
On Wednesday 06 May 2009 12:30:02 Henrik Pauli wrote:
Hmm... I think strictly said, the licensing of the final product and
the
development model do not have
Hello,
I have attached a short script that I think demonstrates a bug in the PyQt4
snapshots. I expect the following output on the command line:
0
1
[...]
9998
complete
The script runs as expected with PyQt4-4.4.4 on 64bit Kubuntu Jaunty
(although I have to invoke ctrl-z to exit the
Hello,
This morning I downloaded the 20090529 PyQt4 snapshot, and am having trouble
building it on a 64-bit gentoo linux system. I didn't see any SIP snapshots
available at the riverbank website, so I am using the 20090525 sip snapshot:
g++ -c -pipe -fno-strict-aliasing -O2 -march=k8 -mtune=k8
I am using the 20090601 sip and pyqt4 snapshots on a 64-bit kubuntu karmic
alpha system. I see segfaults with pyuic4, for example with the attached
file using:
pyuic4 -o ui_skipmode.py ui_skipmode.ui
I don't see the problem using the same snapshots on a 64-bit gentoo system,
which also uses
On Tue, Jun 2, 2009 at 7:22 PM, Demetrius Cassidy dcassid...@mass.rr.comwrote:
I think theres something wrong with the 20090601 build. Build fails on
Vista64, and another guy has a problem with the x11 snapshot with the same
compiler error.
Have you tried earlier builds at all?
I didn't
Hi Armando,
On Wed, Jun 3, 2009 at 9:34 AM, V. Armando Solé s...@esrf.fr wrote:
Hello,
I think I have fallen into a Qt bug but perhaps I am wrong.
According to the (latest) Qt documentation, QAbstractItemModel.createIndex
takes a uint32 as the model index internalId, while the internalId()
On Wed, Jun 3, 2009 at 10:23 AM, V. Armando Solé s...@esrf.fr wrote:
Darren Dale wrote:
Hi Armando,
Relatedly, I think there is a small problem with the PyQt4 documentation
for the overloaded QAbstractItemModel.createIndex method. It looks like Qt's
documentation for passing a pointer
On Wed, Jun 3, 2009 at 10:37 AM, Darren Dale dsdal...@gmail.com wrote:
On Wed, Jun 3, 2009 at 10:23 AM, V. Armando Solé s...@esrf.fr wrote:
Darren Dale wrote:
Hi Armando,
Relatedly, I think there is a small problem with the PyQt4 documentation
for the overloaded
On Wed, Jun 3, 2009 at 12:08 PM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Wed, 03 Jun 2009 17:37:29 +0200, V. Armando Solé s...@esrf.fr
wrote:
Hello,
The problem can be solved as shown below.
It seems the linux 32 bit implementation gets confused in
createIndex(row,
On Wed, Jun 3, 2009 at 2:20 PM, Darren Dale dsdal...@gmail.com wrote:
On Wed, Jun 3, 2009 at 12:08 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Wed, 03 Jun 2009 17:37:29 +0200, V. Armando Solé s...@esrf.fr
wrote:
Hello,
The problem can be solved as shown below.
It seems
On Wed, Jun 3, 2009 at 2:40 PM, Darren Dale dsdal...@gmail.com wrote:
On Wed, Jun 3, 2009 at 2:20 PM, Darren Dale dsdal...@gmail.com wrote:
On Wed, Jun 3, 2009 at 12:08 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Wed, 03 Jun 2009 17:37:29 +0200, V. Armando Solé s...@esrf.fr
On Wed, Jun 3, 2009 at 4:57 PM, Vicente Sole s...@esrf.fr wrote:
Quoting Darren Dale:
On Wed, Jun 3, 2009 at 2:40 PM, Darren Dale dsdal...@gmail.com wrote:
One last point, however: I think Armando's suggestion of passing the
object,
and not the object's id(), coupled with Phil's patch
Hello,
Somebody reported some strange resizing behavior at the matplotlib mailing
list. matplotlib has a PyQt4 plot rendering widget, and the script below
creates a window containing such a widget and also a scrollbar. If you
resize the window's width, the scrollbar often seems to be resized
On Fri, Jul 3, 2009 at 3:37 AM, Ole Streicher ole-usenet-s...@gmx.netwrote:
Hello Darren,
Darren Dale dsdal...@gmail.com writes:
Somebody reported some strange resizing behavior at the matplotlib
mailing
list.
The somebody was me :-)
Here some additional information:
If you printout
On Tue, Jul 7, 2009 at 2:50 AM, Ole Streicher ole-usenet-s...@gmx.netwrote:
Hi Darren,
Darren Dale dsdal...@gmail.com writes:
Nice demonstration of the problem Ole. I notice that if, after
resizing, I pause briefly before releasing the mouse button, the
scroll bar is more likely
Hi Ole,
On Tue, Jul 7, 2009 at 11:33 AM, Ole Streicher ole-usenet-s...@gmx.netwrote:
Hi again,
Darren Dale dsdal...@gmail.com writes:
Nice demonstration of the problem Ole. I notice that if, after
resizing, I pause briefly before releasing the mouse button, the
scroll bar is more likely
On Tue, Jul 21, 2009 at 12:06 PM, Lukas Hetzeneckerl...@gmx.at wrote:
Sorry for annoying you, but I attatched a new example to this message: I've
rewritten the PyQt4-example from the website to draw the Figure in a tab
widget. The same happens ;)
In your original post, you said:
the widget in
I just recently started working with OS X, and was wondering if
someone could point me to some discussion about best practices for
installing Qt and PyQt. For example, today I installed the Qt-4.6 beta
dmg, but was surprised that symlinks to tools like designer were not
created on the path.
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin
--use-arch=i386
On Oct 18, 2009, at 8:29 PM, Darren Dale wrote:
I just recently started working with OS X, and was wondering if
someone could point me to some discussion about best practices for
installing Qt and PyQt
On Mon, Oct 19, 2009 at 6:55 PM, Robert Bobbson rbobb...@yahoo.com wrote:
One thing you are going to find out is that Apple isn't the quickest on the
draw with updating things like Python. It's
only recently that they made a move to anything near the 2.6 line, so I
have long since given up
On Tue, Oct 20, 2009 at 10:02 AM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Oct 19, 2009 at 9:50 PM, William Kyngesburye
wokl...@kyngchaos.com wrote:
Hmm, Macports. It's great for those who want a familiar packagae-manager
setup or just don't want to get their fingers dirty compiling
On Thu, Aug 14, 2008 at 3:59 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Tue, 12 Aug 2008 20:31:37 +0100, Chris Withers ch...@simplistix.co.uk
wrote:
Phil Thompson wrote:
That seems weird to put it politely. I would have thought they both had
the same interfaces?
It's not a
On Mon, Nov 23, 2009 at 8:25 PM, Kareem Yusuf koyu...@gmail.com wrote:
When I try to install PyQt, and run Make I get the following error ...
In file included from
/Library/Frameworks/QtCore.framework/Headers/qmetatype.h:45,
from
On Wed, Nov 25, 2009 at 2:58 AM, Antonio Valentino
antonio.valent...@tiscali.it wrote:
Hi Darren,
Il giorno Mon, 23 Nov 2009 21:42:37 -0500
Darren Dale dsdal...@gmail.com ha scritto:
On Mon, Nov 23, 2009 at 8:25 PM, Kareem Yusuf koyu...@gmail.com
wrote:
When I try to install PyQt, and run
On Wed, Nov 25, 2009 at 11:36 AM, Antonio Valentino
antonio.valent...@tiscali.it wrote:
Il giorno Wed, 25 Nov 2009 07:31:44 -0500
Darren Dale dsdal...@gmail.com ha scritto:
On Wed, Nov 25, 2009 at 2:58 AM, Antonio Valentino
antonio.valent...@tiscali.it wrote:
Hi Darren,
Il giorno Mon
For anyone interested in installing 64-bit qt-4.6.0 on Snow Leopard,
it looks like the download at http://qt.nokia.com/downloads is 32-bit.
After a bit of digging, I found an alternative installer at
http://download.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.6.0.dmg
which installs a 64-bit
On Tue, Dec 8, 2009 at 8:14 AM, Giovanni Bajo ra...@develer.com wrote:
On Tue, 08 Dec 2009 12:25:15 +, Phil Thompson
p...@riverbankcomputing.com wrote:
On Tue, 8 Dec 2009 17:46:20 +0530 (IST), Prashant Saxena
animator...@yahoo.com wrote:
Hi,
I am planning to release the beta
On Fri, Dec 11, 2009 at 6:11 AM, Lukas Hetzenecker l...@gmx.at wrote:
Hello,
I've developed a application using Python and PyQt4.
What is the best way to make a install.py / setup.py / Makefile for installing
this application?
It should check if all depencies are found (this should be
On Sat, Dec 12, 2009 at 9:52 AM, Lukas Hetzenecker l...@gmx.at wrote:
Hello,
thank you for your quick answer.
But I don't quite understand distutils.
Did you read the documentation at http://docs.python.org/distutils/index.html ?
At the beginning i have some fundamental questions:
-
Hi Bruce,
On Fri, Dec 18, 2009 at 4:43 PM, Bruce Anderson bruce...@rogers.com wrote:
I tired the standard instructions from Mark Summerfield's book. Failed - 64
bit vs 32 bit. I successfully installed a new version of Python (2.6.4),
the XCode from the install disk, Qt (Carbon, I think - 32
On Fri, Dec 18, 2009 at 10:33 PM, Bruce Anderson bruce...@rogers.com wrote:
Thanks, Darren - That's a good start, and I can try to follow that.
My first challenge is getting back to the 64 bit python. (By the way, is
there a way to tell, once I have it, whether it is 32 bit or 64 bit?)
I
On Thu, Feb 25, 2010 at 8:33 AM, Massimo Di Stefano
massimodisa...@yahoo.it wrote:
Hi You need the 64bit version of Qt (cocoa)
This assumes a 64-bit python-3 installation. How was python installed?
My understanding is that the universal Mac binaries provided at
python.org do not include support
On Mon, Apr 5, 2010 at 11:09 AM, Jebagnana Das jebagnana...@gmail.com wrote:
Hi all,
I found an archived discussion regarding the same problem. Click here
to see the discussion. But the solution proposed here is bit confusing. I
hope this issue must have been fixed by now(It was posted
I have a question about size hints that can be illustrated with the
simple example below. If I create my Test widget so it returns a size
hint of (200,100), it is rendered with a size of 200, 100. If I create
Test so it is 100x70, it is rendered to be 200x100. If I create test
to be 1000x700, it
On Sun, May 2, 2010 at 1:51 AM, Yao Ko ko...@raptr.com wrote:
On Sat, May 1, 2010 at 5:47 AM, Darren Dale dsdal...@gmail.com wrote:
Please excuse me for bumping. Does anyone have a suggestion?
On Sun, Apr 18, 2010 at 12:42 PM, Darren Dale dsdal...@gmail.com wrote:
I have a question about size
I am reading the dip documentation at
http://www.riverbankcomputing.co.uk/static/Docs/dip/complete_example.html
, and have a question about the following:
dip will invoke an observe() handler when the value of an attribute
is set, even if the new value is the same as the old one. We therefore
use
On Mon, Jul 19, 2010 at 9:33 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 18 Jul 2010 18:11:15 -0400, Darren Dale dsdal...@gmail.com
wrote:
I am reading the dip documentation at
http://www.riverbankcomputing.co.uk/static/Docs/dip/complete_example.html
, and have a question
On Tue, Jul 20, 2010 at 8:50 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Mon, 19 Jul 2010 11:13:14 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Mon, Jul 19, 2010 at 9:33 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 18 Jul 2010 18:11:15 -0400, Darren Dale dsdal
Are there some files missing from the plugins example? When I run
main.py from the plugins example, I get:
Traceback (most recent call last):
File main.py, line 3, in module
from recipes.plugins import RecipeChooserPlugin
File
On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
The current dip snapshots now support Python v2.6 and v2.7 as well as
Python v3.
The API should be identical for all versions of Python.
I had some trouble enabling MQ (hg qpush -a returned no patches in
On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
The current dip snapshots now support Python v2.6
The dip documentation at
http://www.riverbankcomputing.com/static/Docs/dip/plugins_tutorial.html
mentions:
... When a plugin requests a service the plugin manager will choose
which service is actually used. The plugin does not care about the
particular service, its only concern is that it has an
I just noticed a problem when running the dip test suite with
python-2.6 and unittest:
File /Users/darren/Projects/dip/test/tests/dip_ui/test_mapping.py,
line 26, in TestMapping
@unittest.expectedFailure
AttributeError: 'module' object has no attribute 'expectedFailure'
If I install
At the lab where I work, we generate ascii data files that contain an
hierarchy of data. The hierarchy and the contents of the table can
vary. I am trying to understand if it is possible to use dip to
provide an interface to such data. I was thinking that each node in
the hierarchy might be
On Thu, Aug 5, 2010 at 10:59 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Thu, 5 Aug 2010 10:13:27 -0400, Darren Dale dsdal...@gmail.com wrote:
[...]
Is there any documentation available on dynamically creating a new model
type?
You do it just like you would for any other Python
On Mon, Aug 9, 2010 at 6:41 AM, John McCabe j...@assen.demon.co.uk wrote:
Hi
I've just installed PyQt4 with SIP on my PC and I'm getting the error
ImportError: no module name PyQt4 when I try to run the qtdemo.pyw file in
the examples folder (see below).
My first thought was that my
I have a question about using dip model attributes as properties. The
documentation at
http://www.riverbankcomputing.com/static/Docs/dip/model_tutorial.html#attributes-are-properties
gives an example:
class ExampleModel(Model):
name = Str
def _get_name(self):
return self._name
On Sat, Aug 14, 2010 at 3:45 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Mon, 9 Aug 2010 09:45:12 -0400, Darren Dale dsdal...@gmail.com wrote:
I have a question about using dip model attributes as properties. The
documentation at
http://www.riverbankcomputing.com/static/Docs/dip
On Sat, Aug 14, 2010 at 8:25 AM, Darren Dale dsdal...@gmail.com wrote:
On Sat, Aug 14, 2010 at 3:45 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Mon, 9 Aug 2010 09:45:12 -0400, Darren Dale dsdal...@gmail.com wrote:
I have a question about using dip model attributes as properties
On Wed, Aug 25, 2010 at 3:00 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Wed, 25 Aug 2010 14:27:55 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Wed, Aug 25, 2010 at 1:17 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sat, 14 Aug 2010 08:45:13 +0100, Phil Thompson
p
On Thu, Sep 9, 2010 at 4:43 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
dip v0.2 has been released and can be downloaded from the usual place.
Most changes are in response to feedback gratefully received rather than
new areas of functionality.
Exciting changes!
May I make a
I have a question about the menubar example at
http://www.riverbankcomputing.co.uk/static/Docs/dip/ui_tutorial.html#menus
. The example includes the following:
-
# We need a toolkit to create the widgets.
toolkit = QtToolkit()
# Create the main window.
main_window = QMainWindow()
#
On Mon, Jul 26, 2010 at 9:34 AM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson
p
class ExampleModel(Model):
name = Str()
@name.getter
def name(self):
return self._name
I have an additional suggestion to follow up on this syntax. If a
model type's __call__ method were changed to call its getter method,
rather than return the default value, I think it
On Mon, Sep 27, 2010 at 2:45 PM, Gerard Vermeulen gav...@gmail.com wrote:
Phil,
when running the following code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import PyQt4.Qt as Qt
class MyWidget(Qt.QWidget):
def __init__(self, parent=None):
super(Qt.QWidget,
On Mon, Sep 27, 2010 at 3:02 PM, Vicente Sole s...@esrf.fr wrote:
Hi Gerard,
Quoting Gerard Vermeulen gav...@gmail.com:
Phil,
when running the following code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import PyQt4.Qt as Qt
class MyWidget(Qt.QWidget):
def __init__(self,
I just upgraded the OS on a computer at work to fedora 13, and I am
attempting to install sip and pyqt4 from source (since the versions
provided by the package manager are surprisingly out of date.) When I
run python configure.py, I get the following:
---
Determining the layout of your Qt
1 - 100 of 122 matches
Mail list logo