Hello
I have a designer file that defines my app main window ("principal.ui").
Then using QWidgetFactory the actual window is created:
--
def main(args):
app=QApplication(args)
pyimpl = R() # R is derived from QObject
mainWindow = QWidgetFactory.create("principal.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
We have released a new binary installer of PyQt-Mac, PyQt-Mac-03-2005,
which packages PyQt for Mac OS X. This installer updates all components
of PyQt to the latest versions:
PyQt 3.14.1, Sip 4.2.1, QScintilla 1.5.1, Qt 3.3.4, and Eric 3 (PyQt
IDE) 3.6.
On 22-Mar-05, at 12:34 PM, Jim Bublitz wrote:
It appears that when passing Python instances back into C++ you are
creating a second, unrelated smart pointer. Unless KSharedPtr is
maintaining a mapping of C++ pointers, the pointer that gets passed in
is getting an extra reference added to it that w
On Tuesday 22 March 2005 10:04, James Emerton wrote:
> On 22-Mar-05, at 12:23 AM, Jim Bublitz wrote:
>
>
> > It seems to me Python is taking care of all of the ref counting in
> > this case -
> > there might be pathological cases where either the C++ instance of the
> > template type or the Python
> It would be really nice if Phil would add some form of smart pointer
> support to SIP. *hint hint* =) I may write something myself
> eventually, if I can figure out what it should look like.
What it should look like is what I've stumbled over before.
Phil
__
On 22-Mar-05, at 12:23 AM, Jim Bublitz wrote:
It seems to me Python is taking care of all of the ref counting in
this case -
there might be pathological cases where either the C++ instance of the
template type or the Python instance get orphaned (no corresponding
object on
"the other side"). Mos
On Monday 21 March 2005 09:29, James Emerton wrote:
> I am rather new to PyQt/SIP and looking for a hint or two.
> The application in which I am embedding Python has a fairly extensive
> (non-Qt) API, with a Qt UI sitting on top. The API makes extensive use
> of refcounted smart pointers (boost::
> Phil Thompson <[EMAIL PROTECTED]> wrote:
>
>> What if you pass "a" rather than "qApp" to cast()?
>
sip.cast(a, App)
> Traceback (most recent call last):
> File "", line 1, in ?
> SystemError: error return without exception set
This will be fixed in the next snapshot. Mind you, I don't see