Re: [PyQt] configuring pykde4, error

2008-05-21 Thread Darren Dale
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

[PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Darren Dale
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

Re: [PyQt] eric4 segfault after upgrading to SIP-4.7.6/PyQT4-4.4.2

2008-05-21 Thread Darren Dale
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

Re: [PyQt] configuring pykde4, error

2008-05-20 Thread Darren Dale
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

Re: [PyQt] configuring pykde4, error

2008-05-15 Thread Darren Dale
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

Re: [PyQt] configuring pykde4, error

2008-05-15 Thread Darren Dale
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

[PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
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...

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
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

Re: [PyQt] configuring pykde4, error

2008-05-14 Thread Darren Dale
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

[PyQt] resizing floating dockwidgets

2008-04-17 Thread Darren Dale
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

Re: [PyQt] error building PyKDE 4.0.2-1 - QTDIR not respected

2008-04-03 Thread Darren Dale
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

Re: [PyQt] saving/restoring geometry

2008-03-11 Thread Darren Dale
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

[PyQt] saving/restoring geometry

2008-03-10 Thread Darren Dale
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

[PyQt] how to prevent QFileDialog.getSaveFileName from overwriting

2008-02-15 Thread Darren Dale
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,

Re: [PyQt] Event loop is already running warning message

2008-02-07 Thread Darren Dale
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

[PyQt] Event loop is already running warning message

2008-02-05 Thread Darren Dale
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

Re: [PyQt] Question about indexing a QAbstractItemModel

2007-12-13 Thread Darren Dale
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

Re: [PyQt] Question about QTimer and QThreads

2007-10-29 Thread Darren Dale
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

[PyQt] Question about QTimer and QThreads

2007-10-28 Thread Darren Dale
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

Re: [PyQt] Question about QTimer and QThreads

2007-10-28 Thread Darren Dale
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

Re: [PyQt] Fwd: threading and qt warnings

2007-09-07 Thread Darren Dale
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

[PyQt] Fwd: threading and qt warnings

2007-09-06 Thread Darren Dale
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

<    1   2