[PyQt] about dip

2012-03-05 Thread José M . Rodriguez Bacallao
two question: 1- when the next version of dip will be available? 2- is relatively safe to use the mercurial trunk version? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] dip properties

2012-03-13 Thread José M . Rodriguez Bacallao
hi folks, how can I set lambdas as getters and setters of dip properties? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] dip properties

2012-03-13 Thread José M . Rodriguez Bacallao
no one? 2012/3/12 José M. Rodriguez Bacallao jmr...@gmail.com: hi folks, how can I set lambdas as getters and setters of dip properties? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] dip properties

2012-03-13 Thread José M . Rodriguez Bacallao
() @id.getter def id(self): return self.objectName() @id.setter def id(self, value): self.setObjectName(value) 2012/3/13 Phil Thompson p...@riverbankcomputing.com: On Mon, 12 Mar 2012 10:40:33 -0400, José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, how can

Re: [PyQt] dip properties

2012-03-13 Thread José M . Rodriguez Bacallao
ohhh, I didn't know that I could be do it that way!!!, thanks very much!!! 2012/3/13 Phil Thompson p...@riverbankcomputing.com: On Tue, 13 Mar 2012 08:23:26 -0500, José M. Rodriguez Bacallao jmr...@gmail.com wrote: yes, I know that, the problem is that I want to shorten the code. For example

[PyQt] pyqt4, qt4 and stylesheets

2012-04-09 Thread José M . Rodriguez Bacallao
hi folks, I am developing an application with pyqt4. I am trying to achieve the same look in all platform using stylesheets, for axample, I need that my toolbar look the same (with a background image repeating in x direction) in gnome, kde, xfce, windows and mac but right now I am facing a

Re: [PyQt] pyqt4, qt4 and stylesheets

2012-04-09 Thread José M . Rodriguez Bacallao
no one? On 4/9/12, José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, I am developing an application with pyqt4. I am trying to achieve the same look in all platform using stylesheets, for axample, I need that my toolbar look the same (with a background image repeating in x

Re: [PyQt] pyqt4, qt4 and stylesheets

2012-04-10 Thread José M . Rodriguez Bacallao
yes, I know that, thanks for the advice, I'll do that!!! On 4/9/12, Matt Newell newe...@blur.com wrote: On Monday, April 09, 2012 02:21:37 PM José M. Rodriguez Bacallao wrote: no one? On 4/9/12, José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, I am developing an application

[PyQt] pyqt4 and android

2012-12-10 Thread José M . Rodriguez Bacallao
hi folks, can I install PyQt4 on android? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] model test

2012-12-14 Thread José M . Rodriguez Bacallao
I have developed my own tree model to show the structure of dicom studies. I would like to pass my model through something like a class like ModelTest from qt4, there is something like this that works with pyqt4? I have tested the modeltest that came with pyqt4 in my Archlinux installation

Re: [PyQt] model test

2012-12-14 Thread José M . Rodriguez Bacallao
I downloaded and put it in my test but this model test is made for API v1 not API v2, my model use API v2 for QVariant, any suggestions? On Fri, Dec 14, 2012 at 9:05 AM, Wolfgang Rohdewald wolfg...@rohdewald.dewrote: --debug=modelTest ___ PyQt mailing

[PyQt] QThreads and exceptions

2012-12-17 Thread José M . Rodriguez Bacallao
how to catch an exception thrown from a QThread, if I use python threads, I can catch it but no from QThread. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QThreads and exceptions

2012-12-18 Thread José M . Rodriguez Bacallao
anyone? On Mon, Dec 17, 2012 at 3:53 PM, José M. Rodriguez Bacallao jmr...@gmail.com wrote: how to catch an exception thrown from a QThread, if I use python threads, I can catch it but no from QThread. ___ PyQt mailing listPyQt

Re: [PyQt] QThreads and exceptions

2012-12-18 Thread José M . Rodriguez Bacallao
? ** ** You could just catch the exception within the thread and send a signal to the main-thread. ** ** ** ** *Von:* pyqt-boun...@riverbankcomputing.com [mailto: pyqt-boun...@riverbankcomputing.com] *Im Auftrag von *José M. Rodriguez Bacallao *Gesendet:* Dienstag, 18. Dezember 2012 14:34

Re: [PyQt] about QMdiArea

2010-04-18 Thread Lic . José M . Rodriguez Bacallao
no one? On 4/16/10, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, a may be simple question. I am trying to develop an MDI application for viewing dicom images with vtk. I would like to use QMdiArea. When I add a sub window, QVTKRenderWindowInteractor, and show it maximized

[PyQt] splitters

2010-06-01 Thread Lic . José M . Rodriguez Bacallao
hi folks, does anyone know where to get a four way splitter that I can use with PyQt4? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo

Re: [PyQt] splitters

2010-06-02 Thread Lic . José M . Rodriguez Bacallao
. On Tue, Jun 1, 2010 at 5:06 PM, Andreas Pakulat ap...@gmx.de wrote: On 01.06.10 15:41:01, Lic. José M. Rodriguez Bacallao wrote: hi folks, does anyone know where to get a four way splitter that I can use with PyQt4? You mean this: Widget A | Widget B --- Widget C | Widget D

Re: [PyQt] splitters

2010-06-03 Thread Lic . José M . Rodriguez Bacallao
no one? On Wed, Jun 2, 2010 at 9:24 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: what I mean is something like the first case, and yes, I know that I can nest several splitters but the problem is that I want that those splitters in the first case have a common handler to resize

Re: [PyQt] splitters

2010-06-03 Thread Lic . José M . Rodriguez Bacallao
could U please give me an example? On Thu, Jun 3, 2010 at 3:06 PM, Matt Newell newe...@blur.com wrote: On Thursday 03 June 2010 11:06:04 Lic. José M. Rodriguez Bacallao wrote: no one? On Wed, Jun 2, 2010 at 9:24 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: what I mean

Re: [PyQt] best practices for MDI app

2010-07-14 Thread Lic . José M . Rodriguez Bacallao
. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales

Re: [PyQt] best practices for MDI app

2010-07-15 Thread Lic . José M . Rodriguez Bacallao
? On 7/15/10, Mark Summerfield l...@qtrac.plus.com wrote: On 2010-07-14, Lic. José M. Rodriguez Bacallao wrote: how to view different windows at the same time using dock widgets? We are developing a medical image viewer and we need to have the possibility of viewing several images(series

Re: [PyQt] best practices for MDI app

2010-07-15 Thread Lic . José M . Rodriguez Bacallao
and how do I add QDockWidgets to a custom widget to get the desired behavior? On 7/15/10, Mark Summerfield l...@qtrac.plus.com wrote: On 2010-07-15, Lic. José M. Rodriguez Bacallao wrote: as dock widgets can only be placed in a main window, can I make an internal main window as central widget

Re: [PyQt] ANN: dip v0.1 Released - An Application Development Framework for PyQt and Python v3

2010-07-17 Thread Lic . José M . Rodriguez Bacallao
___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes

Re: [PyQt] ANN: dip v0.1 Released - An Application Development Framework for PyQt and Python v3

2010-07-17 Thread Lic . José M . Rodriguez Bacallao
there is no version for python = 2.6.x? On 7/17/10, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: yes, I think that there are some features that are the same in both (entought toolkit and dip) but, in my opinion, enthought toolkit is too performance eater. On 7/17/10, Antonio

Re: [PyQt] ANN: dip v0.1 Released - An Application Development Framework for PyQt and Python v3

2010-07-17 Thread Lic . José M . Rodriguez Bacallao
where to download dip? On 7/17/10, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: there is no version for python = 2.6.x? On 7/17/10, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: yes, I think that there are some features that are the same in both (entought toolkit and dip

Re: [PyQt] ANN: dip v0.1 Released - An Application Development Framework for PyQt and Python v3

2010-07-19 Thread Lic . José M . Rodriguez Bacallao
://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el

Re: [PyQt] PyQt documentation in PDF?

2010-08-31 Thread Lic . José M . Rodriguez Bacallao
yes, that will be a nice thing to do!!! On 8/30/10, Peter Milliken peter.milli...@gmail.com wrote: Is there any way to generate a PDF of the PyQt documentation i.e. classes etc? Or is this available from some source? Thanks Peter -- Lic. José M. Rodriguez Bacallao Centro de Biofisica

[PyQt] sip and deployment

2010-09-27 Thread Lic . José M . Rodriguez Bacallao
hi folks, just a little question, if SIP is the binding generator of PyQt4, is necesary to have it installed for a PyQt4 application to run?, can I get rid of it? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos

[PyQt] out of memory while building

2010-11-11 Thread Lic . José M . Rodriguez Bacallao
error, any suggestions? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic

[PyQt] about compiling PyQt v4.8.1

2010-11-22 Thread Lic . José M . Rodriguez Bacallao
-is-public -b build/bin -d build/lib/python$PYTHON_VERSION/site-packages -v build/share/sip but PyQt configure system is detecting Qt from the location where it was built, not the location where it was installed. What can I do? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica

Re: [PyQt] Loading from DB: Threading vs. Multiprocessing

2011-01-03 Thread Lic . José M . Rodriguez Bacallao
___ PyQt mailing list    p...@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos

[PyQt] dip and data sources

2011-04-15 Thread Lic . José M . Rodriguez Bacallao
(...): ... class IWritableDataSource(IDataSource) def store(...): ... then I was reading dip docs and found the io module. But, can I achieve something similar to what I tought with dip.io? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica

Re: [PyQt] pyqt4 amd multiprocessing

2011-05-09 Thread Lic . José M . Rodriguez Bacallao
]    return snd #--END OF FILE 2 ___ PyQt mailing list    PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica

Re: [PyQt] pyqt4 amd multiprocessing

2011-05-09 Thread Lic . José M . Rodriguez Bacallao
/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic

Re: [PyQt] pyqt4 amd multiprocessing

2011-05-09 Thread Lic . José M . Rodriguez Bacallao
#--END OF FILE 2 ___ PyQt mailing list    PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica

Re: [PyQt] pyqt4 amd multiprocessing

2011-05-09 Thread Lic . José M . Rodriguez Bacallao
://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo

[PyQt] how to build a dock

2011-06-08 Thread Lic . José M . Rodriguez Bacallao
is the better way to implement it, could it be done using QML? thanks in advance. -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda

Re: [PyQt] how to build a dock

2011-06-08 Thread Lic . José M . Rodriguez Bacallao
a typo mistake, remove am from I am would, sorry On Wed, Jun 8, 2011 at 10:03 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: Hi folks, I am would like to develop a simple dock for my application, something like unity in ubuntu, but within my application, think something like

Re: [PyQt] how to build a dock

2011-06-08 Thread Lic . José M . Rodriguez Bacallao
no one? On Wed, Jun 8, 2011 at 10:06 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: a typo mistake, remove am from I am would, sorry On Wed, Jun 8, 2011 at 10:03 AM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: Hi folks, I am would like to develop a simple dock for my

[PyQt] help with dip and PyQt4 widgets

2011-07-08 Thread Lic . José M . Rodriguez Bacallao
': app = QtGui.QApplication([]) i = Indicator(text='xxx') i.show() app.exec_() -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo

Re: [PyQt] help with dip and PyQt4 widgets

2011-07-08 Thread Lic . José M . Rodriguez Bacallao
dcassid...@gmail.com wrote: You need to call QToolButton's __init__() method. class Indicator(QtGui.QToolButton, Model):     def __init__(self)        super(Indicator, self).__init__() On Fri, Jul 8, 2011 at 1:49 PM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, I am

Re: [PyQt] help with dip and PyQt4 widgets

2011-07-08 Thread Lic . José M . Rodriguez Bacallao
yes, I know, I read that in the docs, but, how to do something similar to what I want to achieve? On Fri, Jul 8, 2011 at 12:20 PM, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: I tried that before and still getting the same error. I thinks is something like the C++ part of the widget

Re: [PyQt] help with dip and PyQt4 widgets

2011-07-08 Thread Lic . José M . Rodriguez Bacallao
but the view will need to be pure pyqt, not dip? On Fri, Jul 8, 2011 at 1:13 PM, Darren Dale dsdal...@gmail.com wrote: Have you considered trying to decouple your model and view, as described throughout the documentation? On Fri, Jul 8, 2011 at 1:04 PM, Lic. José M. Rodriguez Bacallao jmr

Re: [PyQt] help with dip and PyQt4 widgets

2011-07-11 Thread Lic . José M . Rodriguez Bacallao
I think that's the way to go, I didn't think that solution. I like it. Thanks very much. On Mon, Jul 11, 2011 at 12:08 PM, Phil Thompson p...@riverbankcomputing.com wrote: On Fri, 8 Jul 2011 09:49:30 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, I am creating

[PyQt] observing attributes in dip

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
= W() w.name = 'xxx' w.widget.show() app.exec_() the observer is never called -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo

[PyQt] properties and interfaces with dip 0.3

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
= Instance(SomeObject) @ISomething.id.getter def id(self): return self._internal.id @ISomething.id.setter def id(self, value): return self._internal.id = value @_internal.default def _internal(self): return SomeObject(self.id) -- Lic. José M

Re: [PyQt] properties and interfaces with dip 0.3

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
. On Wed, Jul 13, 2011 at 1:35 PM, Phil Thompson p...@riverbankcomputing.com wrote: On Wed, 13 Jul 2011 12:09:37 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, may be this is an fool question but, how to implement properties with interface attributes, for example, this doesn't

Re: [PyQt] properties and interfaces with dip 0.3

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
13:53:57 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: yes, I know I can't think in interfaces like base classes but, as I read in documentation that attributes are automatically added to te concrete implementation of the interface, well, look at this sample: class ITest

Re: [PyQt] properties and interfaces with dip 0.3

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
wrote: On Wed, 13 Jul 2011 14:56:52 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: ok, I see now, a couple of questions: 1- and how to use observe function as a decorator    @observe('id')    def on_change(self, change): Note that you don't have to use 'ITest.id

Re: [PyQt] properties and interfaces with dip 0.3

2011-07-13 Thread Lic . José M . Rodriguez Bacallao
must the getter method is supposed to be called no, is a getter!!! On Wed, Jul 13, 2011 at 3:49 PM, Phil Thompson p...@riverbankcomputing.com wrote: On Wed, 13 Jul 2011 15:17:48 -0400, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: in this example: class ITest(Interface):     id

[PyQt] people using sip for production

2011-07-15 Thread Lic . José M . Rodriguez Bacallao
how many people are using Dip for production projects? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue