Re: [PyQt] desktop workspace

2011-08-06 Thread Arnold Krille
On Saturday 06 August 2011 01:35:55 emmanuel_mays...@lynceantech.com wrote: I am trying to save the geometry and and the workspace where the application has been closed. Is there a way with Python/Qt to get the info on the workspace number!? Why? Its either the window-managers task to restore

Re: [PyQt] Displaying . in a tableitem

2011-07-30 Thread Arnold Krille
On Friday 29 July 2011 21:24:44 Protopia wrote: Thanks. I tried looking up ellipsis on the internet and came up with the \U equivalent of the \N below which worked. I had the ellipsis copied and pasted from Microsoft word into a string and that seemed to be the problem. If you were on a

Re: [PyQt] Inter-office distribution/installation of packages/modules

2011-06-16 Thread Arnold Krille
On Thursday 16 June 2011 19:13:10 James Polk wrote: Apologies if this is too off-topic,but I'd like to propose a discussion of how-to's and where-fore's regarding distributing python modules to a user-base. Recently, I've been using Mark Hammond's excellent pywin32 packages, along with

Re: [PyQt] Multiple Inheritance

2011-04-20 Thread Arnold Krille
On Wednesday 20 April 2011 13:01:57 Zoltan Szalai wrote: Hi All, The PyQt Reference Guide says: It is not possible to define a new Python class that sub-classes from more than one Qt class. [ http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/gotchas.html#mul tiple-inheritance ]

Re: [PyQt] PyQt logger

2011-03-09 Thread Arnold Krille
On Wednesday 09 March 2011 12:19:37 Adrian Casey wrote: I plan to share as much code as possible to the point where the command-line interface will actually invoke the GUI but the GUI will be hidden and the command-line options will simply be passed to widgets in the GUI. This makes now

Re: [PyQt] ANN: PyQt v4.8.1 Released

2010-11-08 Thread Arnold Krille
On Monday 08 November 2010 14:11:07 John Posner wrote: On 10/30/2010 7:47 AM, Phil Thompson wrote: PyQt v4.8.1 has been released and is available from the usual place. Over the past year, downloads from http://www.riverbankcomputing.co.uk/software/pyqt/download have been impossible for me.

Re: [PyQt] ANN: PyQt v4.8.1 Released

2010-11-08 Thread Arnold Krille
On Monday 08 November 2010 17:40:02 Phil Thompson wrote: On Mon, 08 Nov 2010 08:11:07 -0500, John Posner jjpos...@optimum.net wrote: On 10/30/2010 7:47 AM, Phil Thompson wrote: PyQt v4.8.1 has been released and is available from the usual place. Over the past year, downloads from

Re: [PyQt] PyQt and MPI

2010-10-29 Thread Arnold Krille
On Friday 29 October 2010 18:37:44 dizou wrote: I have some code that uses Open MPI to do some pretty intense calculations (KDEs). I made a GUI to set some parameters for the calculations. Is there any way to integrate these two applications? So what I would like to have is my GUI to my on one

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Arnold Krille
On Tuesday 28 September 2010 18:44:17 Baz Walter wrote: On 28/09/10 11:11, Sybren A. Stüvel wrote: PS: Please reply to just the list, there is no need to do reply-all, I'm on the list too. With a reply-all I get your mail twice. there is a mailman option to prevent this. go here:

Re: [PyQt] How is thousands separator displayed in QDoubleSpinBox?

2010-07-05 Thread Arnold Krille
On Monday 05 July 2010 15:15:32 bluekyu wrote: Hello, I want to display thousands separator in QDoubleSpinBox. (For example, I may click upward button at 999 and it dispaly 1,000) I tried to find this in google and doc. But I don't know how to do this. Can I do this? My environment is

Re: [PyQt] Forum

2010-04-08 Thread Arnold Krille
On Thursday 08 April 2010 14:04:20 Francesco Biccari wrote: I have been in this mailing list for few days, however I noticed that a mailing list is very inefficient. I think that a forum is the rigth answer. I think you are younger than 20 years.(*) A forum is nice. But try following twenty

Re: [PyQt] Qt4.6 released... When will PyQt Support it?

2009-12-01 Thread Arnold Krille
On Tuesday 01 December 2009 15:47:21 Jason H wrote: Well the announcement has come! I've been looking forward to 4.6 forever! So my question is naturally, when will I be able to use PyQt with it? As Qt tends to be binary compatible and PyQt isn't linked statically afaik, the answer would be:

Re: uic.load (was: [PyQt] Re: Problem with latest PyQt4 snapshot)

2009-09-22 Thread Arnold Krille
On Tuesday 22 September 2009 19:57:46 Phil Thompson wrote: On Tue, 22 Sep 2009 19:42:27 +0200, Arnold Krille arn...@arnoldarts.de on a side note: Is it possible to have uic.load() respect the python-library dirs? I'm not convinced it's a good idea... Security issues? I think it would

Re: [PyQt] Calling slots in a QThread?

2009-08-13 Thread Arnold Krille
Hi, On Thursday 13 August 2009 00:15:13 Lukas Hetzenecker wrote: But If I call long-running funtions in a run() method everything works as expected. Are these long-running functions implemented in python? Otherwise they will release the GIL and your gui becomes snappy again. 2) Use

Re: [PyQt] Calling slots in a QThread?

2009-08-12 Thread Arnold Krille
Hi, On Wednesday 12 August 2009 19:04:46 Lukas Hetzenecker wrote: is it possible to connect signals from a Widget to a slot in a QThread and ensure that the Widget responds to keypress and mouse events? I attached my first try, but it doesn't work, the UI blocks until the execution of the

Re: [PyQt] Small paid development task

2009-07-17 Thread Arnold Krille
On Wednesday 15 July 2009 23:27:45 Jason H wrote: Well no one jumped at my offer. I am curious, what would it take? I am meaning to look at sip for quite some time. This would be a wonderfull opportunity. And a bounty would be fun. But I haven't done anything with Kinetic. And unfortunately I

Re: [PyQt] Question about QMenu's triggered action

2009-06-01 Thread Arnold Krille
On Sunday 31 May 2009 22:33:51 Tony Willis wrote: According to the Qt4 docs, a QMenu is supposed to be capable of emitting a `triggered' event which contains the action which was triggered. (I realize that its a better coding practice to connect the `triggered' event associated with individual

Re: [PyQt] Inverse setModel

2009-04-17 Thread Arnold Krille
Hi, On Friday 17 April 2009 21:15:44 F.A. Pinkse wrote: Yes I know it is probably the wrong group, but Am I missing the reverse of QAbstractItemModel.setModel...getModel or has it a different name? I think you mean QAbstractItemView as there is no actual reason to ask for the model of

Re: [PyQt] segfault when using a proxy and SIGNAL( clicked(QModelIndex) )

2009-04-13 Thread Arnold Krille
Hi, On Thursday 09 April 2009 19:35:32 TP wrote: Here are the most important lines: self.view = QTreeView( parent ) self.connect( self.view, SIGNAL( clicked(QModelIndex) ) , self.cellClicked ) def cellClicked( self, qmodelindex ): if

Re: [PyQt] will pyqt follow qt license model?

2009-04-10 Thread Arnold Krille
On Thursday 09 April 2009 13:41:28 jelle feringa wrote: I've searched this mailing list and although the QT lgpl news was discussed at length, but I couldnt distill from this list whether pyqt will follow qt's licensing model. Has this been decided yet? I think one of the main reasons Qt was

Re: [PyQt] will pyqt follow qt license model?

2009-04-10 Thread Arnold Krille
On Friday 10 April 2009 11:07:38 bobbyrw...@gmail.com wrote: Because if they don't an open source alternative will come out making them irrelevant? Sent from my Verizon Wireless BlackBerry The same was probably said when Qt came into business. And see how long they live already. If you think

Re: [PyQt] Global Interpreter Lock

2009-04-10 Thread Arnold Krille
Hi, On Friday 10 April 2009 20:26:37 Jason Voegele wrote: I am a relative newcomer to Python and I don't know much about the Global Interpreter Lock (GIL) in general. However, I am developing a PyQt application that makes fairly heavy use of QThread to perform multiple tasks concurrently.

Re: [PyQt] thread in pyqt ... simple example needed

2009-04-05 Thread Arnold Krille
On Sunday 05 April 2009 19:56:59 massimo di stefano wrote: Hi All, i'm doing my first experience using pyqt and tring to learn more about it unlucky i'm not able to solve some problems by myself :-( i tried to resume my problem in a sample script, that is : class Gui(QtGui.QWidget):

Re: [PyQt] thread in pyqt ... simple example needed

2009-04-05 Thread Arnold Krille
On Sunday 05 April 2009 21:29:44 Hazen Babcock wrote: I'd suggest expanding your MyThread class to something like this: class MyThread(QtCore.QThread): def __init__(self, parent = None): QtCore.QThread.__init__(self, parent) self.running = 1 def run(self):

Re: [PyQt] Filter mouse move event

2009-04-04 Thread Arnold Krille
On Saturday 04 April 2009 20:07:35 Luca Fasano wrote: Hi list, I need to filter mouse moving event on a QGraphicsView. I created a filter and install it to a QGraphicsView instance, but desired event seems not to be captured. Filter definition is: class Filter(QtCore.QObject): def

Re: [PyQt] Type casting

2009-03-31 Thread Arnold Krille
On Tuesday 31 March 2009 16:49:00 Rendezvous wrote: How does one type cast in PyQt4? For example, a QObject to a QAction? For what do you need type-casting in python? To check whether the argument is of the right type? Take a look at isinstance(). Otherwise just call the QAction-functions you

[PyQt] CloudKnowledge 0.1 released

2009-03-31 Thread Arnold Krille
Hi, I don't know if its a good place here, but in a transparent attempt to raise the traffic on my website I hereby announce the first release of CloudKnowledge. http://www.arnoldarts.de/drupal/?q=CloudKnowledge What is it? It is my 12 hours of programming result of thinking about storing

Re: [PyQt] question about cyclic references with QThread

2009-03-27 Thread Arnold Krille
Hi, On Friday 27 March 2009 15:14:07 Darren Dale 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 a reference to the

Re: [PyQt] Re: seeking advice on why this script segfaults

2009-03-12 Thread Arnold Krille
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 off list? I've been working on this problem for days now and I'm not getting

Re: [PyQt] creating a QgraphicsView in MainWindow

2009-02-26 Thread Arnold Krille
Hi, On Thursday 26 February 2009 11:25:25 Phil Thompson wrote: On Thu, 26 Feb 2009 02:16:41 -0800 (PST), Mads Kofod Hansen kofo...@yahoo.com wrote: I have a QMainWindow with a menu bar and I want to create a QGraphicsView below the menu bar. But this only displays the MainWindow with a

Re: [PyQt] (no subject)

2009-02-17 Thread Arnold Krille
On Tuesday 17 February 2009 10:18:13 projet...@club-internet.fr wrote: Thanks but then I have a problem. How can I know that the mouse is over the TreeView ? Because the contextMenuEvent of the TreeView is only triggered when the mouse is over the treeview. And you can always check whether the