Re: [PyQt] help with designer plugin for custom widget.

2010-04-08 Thread Josh
Josh wrote: Josh wrote: I've got a Qt widget and a PyQt binding. I want to make a Designer plugin for it. I have a Designer plugin as a C++ class. It works fine, I can add it to layouts, etc. Am I correct in assuming that my PyQt binding will not work to load the C++ class when added via t

Re: [PyQt] help with designer plugin for custom widget.

2010-04-08 Thread Josh
Josh wrote: I've got a Qt widget and a PyQt binding. I want to make a Designer plugin for it. I have a Designer plugin as a C++ class. It works fine, I can add it to layouts, etc. Am I correct in assuming that my PyQt binding will not work to load the C++ class when added via the C++ design

Re: [PyQt] Fast selection of non-contiguous items in QTreeview

2010-04-08 Thread Darryl Wallace
*Here’s an example of the code:* * * *def searchAndSelect(self, searchString, column=0):* *#If the user searches for nothing, then return and do nothing* *if len(searchString)==0:* *return* * * *#get the selection model from the tree view* *selectionModel=self.obsTre

[PyQt] help with designer plugin for custom widget.

2010-04-08 Thread Josh
I've got a Qt widget and a PyQt binding. I want to make a Designer plugin for it. I have a Designer plugin as a C++ class. It works fine, I can add it to layouts, etc. Am I correct in assuming that my PyQt binding will not work to load the C++ class when added via the C++ designer plugin?

[PyQt] Fast selection of non-contiguous items in QTreeview

2010-04-08 Thread Darryl Wallace
Hello, I’ve done some reading and can’t find anything on non-contiguous selection of items in item views beyond : “Selections are made up of *selection ranges*. These efficiently maintain information about large selections of items by recording only the starting and ending model indexes for e

Re: [PyQt] PyQt application crashes on exit

2010-04-08 Thread Tobias Ramos
Well.. i cannot say if this is a Windows 7 issue... but seens to be. the same application hangs on Windows 7... but doesn´t hang in a windows xp sp3 i using PyQt 4.7.2 and Python 2.6.5 and Qt 4.6.2 in both systems windows 7 report an application crash seconds after its closed. If i start the appl

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 twen

[PyQt] PyQt application crashes on exit

2010-04-08 Thread Alexander Serdyukov
Hi, After I've installed PyQt 4.7.2 many of the samples I work with will repeatedly crash on exit. This would be the simplest example to reproduce this problem. import sys from PyQt4.QtGui import * app = QApplication(sys.argv) tree = QTreeWidget() item = QTreeWidgetItem(tree, ["item 1"]) tree.sh

[PyQt] Closing MDI App hangs

2010-04-08 Thread Tobias Ramos
hi all.. i have a MDI form who is the first in the aplication, when it loads he calls for login or other functions.. i´ve olverloaded closeevent calling a QMessagebox, but the aplication doesnt really close.. i can see in taskmanager a python aplication running. the mainwindow has no parent and

[PyQt] connect every widget to one slot

2010-04-08 Thread Sebastian Elsner
Hello, i created a dialog with some widgets. Now I'd like to connect every widget to a slot, so when the user changes values (for lets say a spinbox) a "dirty" flag for the dialog is set. Is there a way to accomplish this without connecting every widget explicitly? regards Sebastian --

Re: [PyQt] Forum

2010-04-08 Thread Francesco Biccari
> That depends on your point of view. Subscribing to many mailing lists, > I'm of a different opinion. I can keep track of all of them from one > single application (my mail client), which is much easier than having to > browse to every forum. You are right, but in any case you can receive, for ex

Re: [PyQt] image show hide problem

2010-04-08 Thread Anshul Jain
Please help me out someone on this. I'll be really grateful. Thanks On Wed, Apr 7, 2010 at 8:57 PM, Anshul Jain wrote: > > Hello, > > I have been trying to move my image using the object.move(x,y) function by > maintaining a list of instances corresponding to each image. I have done > this using

[PyQt] [proposal]split ui setting functions into a separate class function

2010-04-08 Thread Grissiom
Hello all, I use designer + pyuic4 a lot to generate the GUI. I am happy to set the default values directly in the designer for some widgets such as spinbox or label. Currently pyuic4 will put all the setting functions(such as setProperty("value", 500)) in setupUI. But it will be painful if I want

Re: [PyQt] Forum

2010-04-08 Thread Sybren A. Stüvel
Hi Francesco, On 8-4-2010 14:04, Francesco Biccari wrote: > I have been in this mailing list for few days, however I noticed that > a mailing list is very inefficient. That depends on your point of view. Subscribing to many mailing lists, I'm of a different opinion. I can keep track of all of the

[PyQt] Forum

2010-04-08 Thread Francesco Biccari
Hello to everyone, 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. It is much more simpler to search for an already discussed problem (see the "crash on exit" of these days). A simple forum, with f

Re: [PyQt] Import QtWebKit, application will crash when quit

2010-04-08 Thread Francesco Biccari
It is a known problem. Use the old version or compile the snapshot version. Ciao ciao. Fra On Thu, Apr 8, 2010 at 12:48, flya flya wrote: > PyQt-Py2.5-gpl-4.7.2-1 windows version, when import QWebKit, the > application will crash when quit. > PyQt-Py2.5-gpl-4.7-1 has no this question. > __

[PyQt] Import QtWebKit, application will crash when quit

2010-04-08 Thread flya flya
PyQt-Py2.5-gpl-4.7.2-1 windows version, when import QWebKit, the application will crash when quit. PyQt-Py2.5-gpl-4.7-1 has no this question. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt