[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

[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

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] 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

[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

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] 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] 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] 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

[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] 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

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

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] 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] 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] 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] 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] 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

[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] 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