On Thu, 12 Sep 2013 10:30:06 -0400, lloyd konneker
wrote:
> This is an update to my previous post.
> Here is an abstract of the code for easier reading:
>
>
> class B(object):
>def __init__(self):
> self.a1 = A()
> self.a1.signal1.connect(self.handler)# Fails in PyQt, succeeds
This is an update to my previous post.
Here is an abstract of the code for easier reading:
class B(object):
def __init__(self):
self.a1 = A()
self.a1.signal1.connect(self.handler)# Fails in PyQt, succeeds
in PySide
def handler(self):
pass
class A (Mixin, SubclassOfQObjec
I am trying to switch from PySide to PyQt.
The following code seemed to work in PySide:
class FramedViewedTextGlyph(CompositeGlyph, ViewSizeable, Proxiable,
QGraphicsItemGroup): # no class inherits QObject
def __init__(self):
super(FramedViewedTextGlyph, self).__init__() # init group nec
On Sat, Apr 14, 2012 at 09:12, Phil Thompson wrote:
> On Sun, 8 Apr 2012 22:40:04 -0400, Luke Campagnola
>
> wrote:
> >As an example, consider the standard diamond
> > inheritance problem:
> >
> >A
> > /\
> > BC
> > \/
> >D
> >
> > If A is a subclass of QObject, then presuma
On Sun, 8 Apr 2012 22:40:04 -0400, Luke Campagnola
wrote:
> Howdy list,
>
> I'm trying to achieve some sort of multiple inheritance with custom
classes
> where each may define its own signals. I understand there are
limitations
> with SIP in this area, but It is not really necessary that QObject
Howdy list,
I'm trying to achieve some sort of multiple inheritance with custom classes
where each may define its own signals. I understand there are limitations
with SIP in this area, but It is not really necessary that QObject be
inherited more than once. As an example, consider the standard dia
On Wed, 20 Apr 2011 13:01:57 +0200, 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#multiple-inheri
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-inheri
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#multiple-inheritance
]
The code attached works here until you remove the comment be
On Mon, 12 Jul 2010 18:51:47 +0100, Jugdish wrote:
> Is there any way to have a class inherit from multiple classes that emit
> signals? I know that PyQt4 doesn't support inheriting from one than one
> QObject class, so I've got one of the superclasses declared as a subclass
> QObject and the othe
Is there any way to have a class inherit from multiple classes that emit
signals? I know that PyQt4 doesn't support inheriting from one than one
QObject class, so I've got one of the superclasses declared as a subclass
QObject and the other as a subclass of object. However, I'm not able to
define s
On Thu, 1 Jul 2010 15:51:48 -0600, Clinton Stimpson
wrote:
> Hi,
>
> I've got an existing library with python wrappers generated with a
> different
> tool, and I've successfully used MappedType to interface with that and
I'm
> getting the interoperability I'm looking for.
>
> But now I want to
Hi,
I've got an existing library with python wrappers generated with a different
tool, and I've successfully used MappedType to interface with that and I'm
getting the interoperability I'm looking for.
But now I want to use sip to wrap a class that derives from two classes, one
is QObject, and
On Fri, 11 Jun 2010 13:06:10 -0700, brian downing
wrote:
> I know multiple inheritance with 2 pyqt objects isn't allowed. Is there
> any problems with a single pyqt object and another python class?
>
> Here is an example:
> -
> class myMethods:
> def _
I know multiple inheritance with 2 pyqt objects isn't allowed. Is there
any problems with a single pyqt object and another python class?
Here is an example:
-
class myMethods:
def __init__(self, val):
self.val=val
def method1(self):
….
classMyWidget(Q
On 22.02.10 21:09:28, Jugdish wrote:
> The reason I have BaseView inheriting from QAbstractItemView is because
> inside it I make calls like:
>
> self.setItemDelegate(...)
> self.setDragEnabled(...)
> self.setEditTriggers(...)
>
> and so on. These are all things that are common to both
> MyTreeVi
The reason I have BaseView inheriting from QAbstractItemView is because
inside it I make calls like:
self.setItemDelegate(...)
self.setDragEnabled(...)
self.setEditTriggers(...)
and so on. These are all things that are common to both
MyTreeView/MyTableView, and obviously wouldn't work if BaseView
On 22.02.10 19:45:31, Jugdish wrote:
> I have my own subclasses of QTreeView and QTableView, called MyTableView and
> MyTreeView. There is a lot of code that is common between my 2 classes, so
> to avoid having tons of duplicate code, I was thinking of having a base
> class derived from QAbstractIt
I have my own subclasses of QTreeView and QTableView, called MyTableView and
MyTreeView. There is a lot of code that is common between my 2 classes, so
to avoid having tons of duplicate code, I was thinking of having a base
class derived from QAbstractItemView that they both derive from. This
resul
OTECTED] En nombre de Hans-Peter
> Jansen Enviado el: jueves, 13 de marzo de 2008 12:40
> Para: pyqt@riverbankcomputing.com
> Asunto: Re: [PyQt] Multiple Inheritance
>
> Am Donnerstag, 13. März 2008 schrieb Ivan Coronado:
> > Is possible the Multiple Inheritance from qt classe
Am Donnerstag, 13. März 2008 schrieb Ivan Coronado:
> Is possible the Multiple Inheritance from qt classes with PyQt??
Yes and no, since at most one sip generated class can be involved.
The question is, what's your purpose?
Pete
___
PyQt mailing list
On Thursday 13 March 2008, Ivan Coronado wrote:
> Is possible the Multiple Inheritance from qt classes with PyQt??
No.
Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Is possible the Multiple Inheritance from qt classes with PyQt??
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Saturday 11 August 2007 8:17 pm, Jim Bublitz wrote:
> On Saturday 11 August 2007 11:48, Adeodato Simó wrote:
> > Hello.
> >
> > I'm having problems with KXMLGUIClient; in particular, it seems
> > subclassing from it does not work when multiple inheritance is involved.
> > See the script below. I
On Saturday 11 August 2007 11:48, Adeodato Simó wrote:
> Hello.
>
> I'm having problems with KXMLGUIClient; in particular, it seems
> subclassing from it does not work when multiple inheritance is involved.
> See the script below. If this gets fixed, the attached example should
> work as well.
>
>
Hello.
I'm having problems with KXMLGUIClient; in particular, it seems
subclassing from it does not work when multiple inheritance is involved.
See the script below. If this gets fixed, the attached example should
work as well.
(I seem to be pushing PyKDE to its limits, and I've already found thr
26 matches
Mail list logo