From l.c.visser at science-applied.nl Tue May 1 11:37:01 2012
From: l.c.visser at science-applied.nl (Ludo Visser)
Date: Tue, 1 May 2012 11:37:01 +0200
Subject: [PySide] QtUiTools.QUiLoader crash with custom widget
In-Reply-To: <4F9EACE2.4030105@tylerlabs.com>
References: <4F9E9A8C.1080802@damp.homeip.net> <4F9EACE2.4030105@tylerlabs.com>
Message-ID: <025E0DF6-A834-4D3C-84AE-790314E81086@science-applied.nl>
On Apr 30, 2012, at 5:16 pm, Tyler W. Wilson wrote:
> Ditto on this issue for me. I just ran into this as well trying to add a
> custom widget to a designer-based application. I had to move to PyQt4
> temporarily to make it work.
>
> Thanks,
> Tyler
>
> On 4/30/2012 9:58 AM, Stefan wrote:
>> Hi,
>>
>> I'm trying to create a QMainWindow in the Designer and load the ui file
>> dynamically with QUiLoader in pyside 1.1.0. When I don't register any
>> custom types it works, but obviously fails to create my derived class.
>> When I register them it crashes. Here's a small example that crash for
>> me on windows running python 2.7 and pyside 1.1.0:
>>
>> from PySide import QtCore, QtGui, QtUiTools
>> import sys
>>
>> class MyWidget(QtGui.QWidget):
>> def __init__(self, parent=None):
>> super(MyWidget, self).__init__(parent)
>>
>> if __name__ == '__main__':
>> application = QtGui.QApplication(sys.argv)
>>
>> loader = QtUiTools.QUiLoader()
>> loader.registerCustomWidget(MyWidget)
>> print loader.availableWidgets()
>> print loader.createWidget('QLabel')
>> print loader.createWidget('MyWidget')
>>
>> Running this prints the following:
>>
>> [...]
>>
>> So it the class is in there, it manages to create a QLabel, but then it
>> crashes.
>>
>> Any ideas why? I don't have any pdb for python, so it's hard to get a
>> callstack.
>>
>> /Stefan
I'm not sure what is causing the crash, but one way to obtain the functionality you require is to subclass the QUiLoader class to handle your custom widgets (see http://www.mail-archive.com/pyside at lists.openbossa.org/msg00878.html). For example something like this (here, a top-level widget is used to wrap around the ui-loaded widget, and this top-level widget has an attribute specifying which custom widgets it wants to load; of course, different approaches are possible):
def createWidget(self, className, parent = None, name = ""):
if className in QtUiTools.QUiLoader.availableWidgets(self):
widget = QtUiTools.QUiLoader.createWidget(self, className, parent, name)
else:
if hasattr(self.baseinstance, "customWidgets"):
if className in self.baseinstance.customWidgets.keys():
widget = self.baseinstance.customWidgets[className](parent)
else:
raise KeyError("Unknown widget '%s'" % className)
else:
raise AttributeError("Trying to load custom widget '%s', but base instance '%s' does not specify custom widgets." % (className, repr(self.baseinstance)))
if self.baseinstance is not None:
setattr(self.baseinstance, name, widget)
return widget
--
Ludo C. Visser, M.Sc.
Science Applied
phone: +31 6 1066 3076
e-mail: l.c.visser at science-applied.nl
From tyler at tylerlabs.com Tue May 1 17:42:31 2012
From: tyler at tylerlabs.com (Tyler W. Wilson)
Date: Tue, 01 May 2012 11:42:31 -0400
Subject: [PySide] QtUiTools.QUiLoader crash with custom widget
In-Reply-To: <025E0DF6-A834-4D3C-84AE-790314E81086@science-applied.nl>
References: <4F9E9A8C.1080802@damp.homeip.net> <4F9EACE2.4030105@tylerlabs.com>
<025E0DF6-A834-4D3C-84AE-790314E81086@science-applied.nl>
Message-ID: <4FA00467.8020305@tylerlabs.com>
On 5/1/2012 5:37 AM, Ludo Visser wrote:
> On Apr 30, 2012, at 5:16 pm, Tyler W. Wilson wrote:
>
>> Ditto on this issue for me. I just ran into this as well trying to add a
>> custom widget to a designer-based application. I had to move to PyQt4
>> temporarily to make it work.
>>
>> Thanks,
>> Tyler
>>
>> On 4/30/2012 9:58 AM, Stefan wrote:
>>> Hi,
>>>
>>> I'm trying to create a QMainWindow in the Designer and load the ui file
>>> dynamically with QUiLoader in pyside 1.1.0. When I don't register any
>>> custom types it works, but obviously fails to create my derived class.
>>> When I register them it crashes. Here's a small example that crash for
>>> me on windows running python 2.7 and pyside 1.1.0:
>>>
>>> from PySide import QtCore, QtGui, QtUiTools
>>> import sys
>>>
>>> class MyWidget(QtGui.QWidget):
>>> def __init__(self, parent=None):
>>> super(MyWidget, self).__init__(parent)
>>>
>>> if __name__ == '__main__':
>>> application = QtGui.QApplication(sys.argv)
>>>
>>> loader = QtUiTools.QUiLoader()
>>> loader.registerCustomWidget(MyWidget)
>>> print loader.availableWidgets()
>>> print loader.createWidget('QLabel')
>>> print loader.createWidget('MyWidget')
>>>
>>> Running this prints the following:
>>>
>>> [...]
>>>
>>> So it the class is in there, it manages to create a QLabel, but then it
>>> crashes.
>>>
>>> Any ideas why? I don't have any pdb for python, so it's hard to get a
>>> callstack.
>>>
>>> /Stefan
> I'm not sure what is causing the crash, but one way to obtain the functionality you require is to subclass the QUiLoader class to handle your custom widgets (see http://www.mail-archive.com/pyside at lists.openbossa.org/msg00878.html). For example something like this (here, a top-level widget is used to wrap around the ui-loaded widget, and this top-level widget has an attribute specifying which custom widgets it wants to load; of course, different approaches are possible):
>
> def createWidget(self, className, parent = None, name = ""):
> if className in QtUiTools.QUiLoader.availableWidgets(self):
> widget = QtUiTools.QUiLoader.createWidget(self, className, parent, name)
> else:
> if hasattr(self.baseinstance, "customWidgets"):
> if className in self.baseinstance.customWidgets.keys():
> widget = self.baseinstance.customWidgets[className](parent)
> else:
> raise KeyError("Unknown widget '%s'" % className)
> else:
> raise AttributeError("Trying to load custom widget '%s', but base instance '%s' does not specify custom widgets." % (className, repr(self.baseinstance)))
>
> if self.baseinstance is not None:
> setattr(self.baseinstance, name, widget)
>
> return widget
>
>
No doubt the issue might be worked around like shown above, but it seems
like the base UILoader ought to handle this transparently, especially
considering there is a section in .ui file that specifies the custom
widgets. Plus, it does work in PyQt4. For example, my .ui includes this:
QGradient
QWidget
1
So I would expect the base UILoader to look at this section and perform
the proper imports to make these widgets available.
But thank you for the tip on the work-around.
- Tyler
From jmohler at gamry.com Tue May 1 18:20:30 2012
From: jmohler at gamry.com (Joel B. Mohler)
Date: Tue, 01 May 2012 12:20:30 -0400
Subject: [PySide] building PySide 1.1.1 against Qt 4.8.1 on windows
Message-ID: <4FA00D4E.3070701@gamry.com>
Hello,
The old bugtracker has http://bugs.pyside.org/show_bug.cgi?id=1079
closed due to the move to qt-project. I'm now trying the build as
according to http://qt-project.org/wiki/Building_PySide_on_Windows and
running into this same bug.
I'm going to report it on on the new tracker and make an effort to fix
it myself, but I would appreciate if anybody else has some sort of
progress on a fix to relay any pointers.
Thanks,
Joel
From vasure at gmail.com Tue May 1 18:26:52 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Tue, 1 May 2012 09:26:52 -0700
Subject: [PySide] Web site transfer
In-Reply-To:
References: <4F9E7B49.9040404@nokia.com> <1335802700.31033.18.camel@erik-mac>
<8789154.SZdH36y9H5@hugodesktop>
Message-ID:
Matti, Let me know if you need help in migration. I sent you my contacts in
a dm.
On Mon, Apr 30, 2012 at 12:34 PM, Alexander Jones wrote:
> Are we not able to just migrate all of the old website content onto the
> main Qt website in the longer term? Hosting a HTTP 301 'moved
> permanently'-issuing website to keep old links alive indefinitely would be
> very cheap.
>
>
> On 30 April 2012 18:39, Hugo Parente Lima wrote:
>
>> On Monday, April 30, 2012 10:30:46 AM Srini Kommoori wrote:
>> > I would like to propose S3/github for website hosting. It is pretty
>> easy to
>> > setup and we can automate to push the code/html pages very easily.
>>
>> I agree, github for website hosting.
>> About the tarballs, we have tags on git for each release, so IMO tarballs
>> are
>> just another way of offer the same information and we can discard if it's
>> causing troubles.
>>
>> > Here is my preferred service list:
>> > S3/github for all static pages.
>> > Blog - Blogger/Tumblr with multi user submits.
>> > Wiki - [No change] Seems like already integrated with Qt main site.
>> > Code - [No change] gitorious
>> >
>> > I can help and sponsor for the expenses(if any) related to the
>> migration.
>> >
>> > thanks,
>> > -Srini
>> >
>> > On Mon, Apr 30, 2012 at 9:18 AM, Erik Janssens
>> >
>> > wrote:
>> > > Hello,
>> > >
>> > > We have a professional Weebly account,
>> > > (http://www.weebly.com/) and can offer a site account for
>> > > this purpose.
>> > >
>> > > A Weebly site can host web pages + images + forms. But it's
>> > > not suited to offer source or binary packages for download.
>> > >
>> > > The downside of using Weebly is that the site should be rebuild
>> > > from scratch, something I estimate to be a couple of hours work
>> > > for someone experienced with CSS, html.
>> > >
>> > > The upside being that it's very easy to maintain.
>> > >
>> > > Just let me know if this would be interesting...
>> > >
>> > > Cheers,
>> > >
>> > > Erik
>> > >
>> > > On Mon, 2012-04-30 at 14:45 +0300, Matti Airas wrote:
>> > > > Hi list,
>> > > >
>> > > > There's one final thing in the PySide migration to Qt add-on: the
>> > > > website. I've been trying to have the migration arranged, but
>> progress
>> > > > has been very slow. Also, May 3 is my last work-day at Nokia, so
>> that
>> > > > complicates things further.
>> > > >
>> > > > PySide is currently hosted at a Virtual Machine provided by Nokia
>> IT,
>> > > > which has made it easy because there have not been any fees or
>> bandwidth
>> > > > quotas (and the connectivity has been quite excellent).
>> Unfortunately,
>> > > > that VM is leased only until end of June, so arrangements need to be
>> > > > made pretty soon.
>> > > >
>> > > > Unfortunately, Qt Project is unwilling to provide a virtual machine
>> for
>> > > > PySide, and therefore a direct migration of the VM is not feasible.
>> They
>> > > > have proposed that they can host the static content (binaries,
>> > > > documentation & doc packages) which account for vast majority of the
>> > > > traffic anyway. Then, the current WordPress site contents (which
>> isn't
>> > > > much any longer, anyway) could be moved to the wiki, with a
>> possibility
>> > > > to have a static landing page as the home page. The news blog would
>> then
>> > > > need to be migrated to any free 3rd-party blogging platform such as
>> > > > wordpress.com. This is probably doable and something that the
>> project
>> > > > could live with, but it does require additional effort and decrease
>> the
>> > > > level of service somewhat, both for the administrators (no access
>> to WP
>> > > > authoring tools) and for the end-users (URLs for binaries and docs
>> > > > change, blog aggregation needs to be updated). In the long term,
>> this
>> > > > would be the approach requiring the least amount of maintenance.
>> > > >
>> > > > Another alternative which could be feasible is to have a VM
>> elsewhere
>> > > > and Qt Project would just point the DNS there. The VM requirements
>> are
>> > > > not huge: the current VM is a single-core one Xeon 2.5 GHz with 2
>> GB of
>> > > > allocated memory and 40 GB of disk space. However, the site
>> generates
>> > > > quite some traffic - in April, 120 GB, and the number has been
>> > > > increasing at a steady pace. Also, having a separate VM would
>> require a
>> > > > dedicated admin who would be willing to maintain the VM, take
>> backups,
>> > >
>> > > etc.
>> > >
>> > > > I would like to hear your opinions on this one. In the first
>> option, the
>> > > > up front work and changes would be bigger but the long-term effort
>> > > > lower, and no external costs would be incurred. In the latter
>> option,
>> > > > the migration would be less painful but having the VM would require
>> more
>> > > > maintenance in the future, and recurring payments would occur.
>> > > >
>> > > > Also, I'd like to call for volunteers to help with the migration
>> and the
>> > > > future maintenance. As said, my work obligation at Nokia is ending
>> and
>> > > > while I'm not vanishing altogether, it'd be helpful if someone else
>> > > > could take the lead. Srini, you volunteered for the webmaster and
>> > > > wikimaster duties in February - although this might not be what you
>> had
>> > > > in mind, would you still be interested?
>> > > >
>> > > > Also, if a separate VM is desired, a sponsor is needed for that. I
>> > > > wonder if any companies would be interested in providing that, for a
>> > > > modest logo or banner visibility on the web site? A basic 3rd-party
>> VM
>> > > > with that amount of traffic would cost some 40-50 EUR/USD a month.
>> Not a
>> > > > huge sum, but I wouldn't feel happy paying it out of my own pocket,
>> > > > especially with the steadily increasing traffic.
>> > > >
>> > > > Cheers,
>> > > >
>> > > > Matti Airas
>> > > > _______________________________________________
>> > > > PySide mailing list
>> > > > PySide at qt-project.org
>> > > > http://lists.qt-project.org/mailman/listinfo/pyside
>> > >
>> > > _______________________________________________
>> > > PySide mailing list
>> > > PySide at qt-project.org
>> > > http://lists.qt-project.org/mailman/listinfo/pyside
>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
>>
>
>
> --
> Alexander Jones
> Double Negative R&D
> www.dneg.com
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From vasure at gmail.com Tue May 1 18:26:52 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Tue, 1 May 2012 09:26:52 -0700
Subject: [PySide] Web site transfer
In-Reply-To:
References: <4F9E7B49.9040404@nokia.com> <1335802700.31033.18.camel@erik-mac>
<8789154.SZdH36y9H5@hugodesktop>
Message-ID:
Matti, Let me know if you need help in migration. I sent you my contacts in
a dm.
On Mon, Apr 30, 2012 at 12:34 PM, Alexander Jones wrote:
> Are we not able to just migrate all of the old website content onto the
> main Qt website in the longer term? Hosting a HTTP 301 'moved
> permanently'-issuing website to keep old links alive indefinitely would be
> very cheap.
>
>
> On 30 April 2012 18:39, Hugo Parente Lima wrote:
>
>> On Monday, April 30, 2012 10:30:46 AM Srini Kommoori wrote:
>> > I would like to propose S3/github for website hosting. It is pretty
>> easy to
>> > setup and we can automate to push the code/html pages very easily.
>>
>> I agree, github for website hosting.
>> About the tarballs, we have tags on git for each release, so IMO tarballs
>> are
>> just another way of offer the same information and we can discard if it's
>> causing troubles.
>>
>> > Here is my preferred service list:
>> > S3/github for all static pages.
>> > Blog - Blogger/Tumblr with multi user submits.
>> > Wiki - [No change] Seems like already integrated with Qt main site.
>> > Code - [No change] gitorious
>> >
>> > I can help and sponsor for the expenses(if any) related to the
>> migration.
>> >
>> > thanks,
>> > -Srini
>> >
>> > On Mon, Apr 30, 2012 at 9:18 AM, Erik Janssens
>> >
>> > wrote:
>> > > Hello,
>> > >
>> > > We have a professional Weebly account,
>> > > (http://www.weebly.com/) and can offer a site account for
>> > > this purpose.
>> > >
>> > > A Weebly site can host web pages + images + forms. But it's
>> > > not suited to offer source or binary packages for download.
>> > >
>> > > The downside of using Weebly is that the site should be rebuild
>> > > from scratch, something I estimate to be a couple of hours work
>> > > for someone experienced with CSS, html.
>> > >
>> > > The upside being that it's very easy to maintain.
>> > >
>> > > Just let me know if this would be interesting...
>> > >
>> > > Cheers,
>> > >
>> > > Erik
>> > >
>> > > On Mon, 2012-04-30 at 14:45 +0300, Matti Airas wrote:
>> > > > Hi list,
>> > > >
>> > > > There's one final thing in the PySide migration to Qt add-on: the
>> > > > website. I've been trying to have the migration arranged, but
>> progress
>> > > > has been very slow. Also, May 3 is my last work-day at Nokia, so
>> that
>> > > > complicates things further.
>> > > >
>> > > > PySide is currently hosted at a Virtual Machine provided by Nokia
>> IT,
>> > > > which has made it easy because there have not been any fees or
>> bandwidth
>> > > > quotas (and the connectivity has been quite excellent).
>> Unfortunately,
>> > > > that VM is leased only until end of June, so arrangements need to be
>> > > > made pretty soon.
>> > > >
>> > > > Unfortunately, Qt Project is unwilling to provide a virtual machine
>> for
>> > > > PySide, and therefore a direct migration of the VM is not feasible.
>> They
>> > > > have proposed that they can host the static content (binaries,
>> > > > documentation & doc packages) which account for vast majority of the
>> > > > traffic anyway. Then, the current WordPress site contents (which
>> isn't
>> > > > much any longer, anyway) could be moved to the wiki, with a
>> possibility
>> > > > to have a static landing page as the home page. The news blog would
>> then
>> > > > need to be migrated to any free 3rd-party blogging platform such as
>> > > > wordpress.com. This is probably doable and something that the
>> project
>> > > > could live with, but it does require additional effort and decrease
>> the
>> > > > level of service somewhat, both for the administrators (no access
>> to WP
>> > > > authoring tools) and for the end-users (URLs for binaries and docs
>> > > > change, blog aggregation needs to be updated). In the long term,
>> this
>> > > > would be the approach requiring the least amount of maintenance.
>> > > >
>> > > > Another alternative which could be feasible is to have a VM
>> elsewhere
>> > > > and Qt Project would just point the DNS there. The VM requirements
>> are
>> > > > not huge: the current VM is a single-core one Xeon 2.5 GHz with 2
>> GB of
>> > > > allocated memory and 40 GB of disk space. However, the site
>> generates
>> > > > quite some traffic - in April, 120 GB, and the number has been
>> > > > increasing at a steady pace. Also, having a separate VM would
>> require a
>> > > > dedicated admin who would be willing to maintain the VM, take
>> backups,
>> > >
>> > > etc.
>> > >
>> > > > I would like to hear your opinions on this one. In the first
>> option, the
>> > > > up front work and changes would be bigger but the long-term effort
>> > > > lower, and no external costs would be incurred. In the latter
>> option,
>> > > > the migration would be less painful but having the VM would require
>> more
>> > > > maintenance in the future, and recurring payments would occur.
>> > > >
>> > > > Also, I'd like to call for volunteers to help with the migration
>> and the
>> > > > future maintenance. As said, my work obligation at Nokia is ending
>> and
>> > > > while I'm not vanishing altogether, it'd be helpful if someone else
>> > > > could take the lead. Srini, you volunteered for the webmaster and
>> > > > wikimaster duties in February - although this might not be what you
>> had
>> > > > in mind, would you still be interested?
>> > > >
>> > > > Also, if a separate VM is desired, a sponsor is needed for that. I
>> > > > wonder if any companies would be interested in providing that, for a
>> > > > modest logo or banner visibility on the web site? A basic 3rd-party
>> VM
>> > > > with that amount of traffic would cost some 40-50 EUR/USD a month.
>> Not a
>> > > > huge sum, but I wouldn't feel happy paying it out of my own pocket,
>> > > > especially with the steadily increasing traffic.
>> > > >
>> > > > Cheers,
>> > > >
>> > > > Matti Airas
>> > > > _______________________________________________
>> > > > PySide mailing list
>> > > > PySide at qt-project.org
>> > > > http://lists.qt-project.org/mailman/listinfo/pyside
>> > >
>> > > _______________________________________________
>> > > PySide mailing list
>> > > PySide at qt-project.org
>> > > http://lists.qt-project.org/mailman/listinfo/pyside
>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
>>
>
>
> --
> Alexander Jones
> Double Negative R&D
> www.dneg.com
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bjelge at nefines.com Tue May 1 19:13:54 2012
From: bjelge at nefines.com (=?ISO-8859-1?Q?Bj=F8rn_Helge_Kj=F8snes?=)
Date: Tue, 01 May 2012 19:13:54 +0200
Subject: [PySide] building PySide 1.1.1 against Qt 4.8.1 on windows
In-Reply-To: <4FA00D4E.3070701@gamry.com>
References: <4FA00D4E.3070701@gamry.com>
Message-ID: <4FA019D2.70509@nefines.com>
Hi,
I have spent some time to figure out why this error is happening, but
progress is slow due to total lack of experience with shiboken code and
the type system and how to best debug this on Windows, so any help would
be appreciated.
So far I have found that it is the new open methods in QFile and in
QFSFileEngine that not are added to the generated wrappers. It is only
one open method added from the class and one for the parent class. The
reason for these open methods not being added is that they have been
marked by the apiextractor to have the Final flag set and therefor
skipped in the CppGenerator::generateClass method. The code expecting to
use these method to support overloaded methods in Python are generating
code expecting these methods.
The code where generating of code is skipped are in cppgenerator.cpp
around line 250:
else if ((!avoidProtectedHack() ||
!metaClass->hasPrivateDestructor())
&& (func->isVirtual() || func->isAbstract()))
writeVirtualMethodNative(s, func);
The func->isVirtual() returns true because the final flag is set and not
because it is a virtual method.
I am now trying to figure out why the Final flag is set in these
methods, so if anybody can point me to where this is done, please do so.
Thanks,
Bjorn Helge Kjosnes
On 01.05.2012 18:20, Joel B. Mohler wrote:
> Hello,
>
> The old bugtracker has http://bugs.pyside.org/show_bug.cgi?id=1079
> closed due to the move to qt-project. I'm now trying the build as
> according to http://qt-project.org/wiki/Building_PySide_on_Windows and
> running into this same bug.
>
> I'm going to report it on on the new tracker and make an effort to fix
> it myself, but I would appreciate if anybody else has some sort of
> progress on a fix to relay any pointers.
>
> Thanks,
> Joel
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
From frank at ohufx.com Wed May 2 07:14:36 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Wed, 02 May 2012 17:14:36 +1200
Subject: [PySide] creating custom setFrameStyle()
Message-ID: <4FA0C2BC.1020609@ohufx.com>
Hi everyone,
I'm in the middle of creating a custom button by subclassing QWidget and
reimplementing paintEvent().
I kinda have what I'm after except that I would like to give the whole
button a "box/sunken" style.
What is the best way to re-implement setFrameStyle() in my paintEvent?
Or should I take another route?
Thanks all!
frank
From frank at ohufx.com Wed May 2 07:44:09 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Wed, 02 May 2012 17:44:09 +1200
Subject: [PySide] re-implementing setDown() for custom button
Message-ID: <4FA0C9A9.5000909@ohufx.com>
Hi,
to follow up my previous mail, I also just noticed that I have to
re-implement the QAbstractButton's setDown() function to make sure my
custom button doesn't stay down after a drag&drop action.
With a QPushButton I simply called self.setDown( False ) from inside the
mouseMoveEvent, so now I'm trying to understand how to recreate this
behaviour when using a custom paintEvent().
Any tips would be greatly appreciated.
Cheers,
frank
From frank at ohufx.com Wed May 2 08:35:33 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Wed, 02 May 2012 18:35:33 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To: <4FA0C9A9.5000909@ohufx.com>
References: <4FA0C9A9.5000909@ohufx.com>
Message-ID: <4FA0D5B5.20604@ohufx.com>
sorry for the monolog, but I just realised I will also have to make my
custom button play along when it's parent's self.sender() function is
called as well.
The QSignalSender doesn't quite seem to be the right thing to use as it
is implemented in the parent's constructor, however I would like to
implement this in the button's class if possible to make it self contained.
How would I go about that?
Cheers,
frank
On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
> Hi,
>
> to follow up my previous mail, I also just noticed that I have to
> re-implement the QAbstractButton's setDown() function to make sure my
> custom button doesn't stay down after a drag&drop action.
>
> With a QPushButton I simply called self.setDown( False ) from inside the
> mouseMoveEvent, so now I'm trying to understand how to recreate this
> behaviour when using a custom paintEvent().
>
> Any tips would be greatly appreciated.
>
> Cheers,
> frank
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From bjelge at nefines.com Wed May 2 09:19:21 2012
From: bjelge at nefines.com (=?ISO-8859-1?Q?Bj=F8rn_Helge_Kj=F8snes?=)
Date: Wed, 02 May 2012 09:19:21 +0200
Subject: [PySide] building PySide 1.1.1 against Qt 4.8.1 on windows a
kind of solution
In-Reply-To: <4FA019D2.70509@nefines.com>
References: <4FA00D4E.3070701@gamry.com> <4FA019D2.70509@nefines.com>
Message-ID: <4FA0DFF9.8090106@nefines.com>
Hi,
after some more digging I am able to compile and run PySide 1.1.1
against Qt 4.8.1.
It is a ugly solution that can not be committed to the repos, but for if
there are any in need for a version, you can replace a few lines of code
in shiboken-1.1.1\generator\shiboken\cppgenerator.cpp file.
Locate line 287 and replace:
&& (func->name() != "qt_metacall"))
overloads.append(func);
with:
&& (func->name() != "qt_metacall")){
if (func->toString().contains("open")) {
if (func->isVirtual())
overloads.append(func);
}
else
overloads.append(func);
}
and before any say anything about the method, I know it is ugly and
should be avoided. I do it like this to avoid to many side effects until
I understand how it should be done. May me anybody can help out here.
The problem in Windows are that the code generated for the overload
wrappers are not getting only the methods that there are generated
headers and source code for. In QFile you have at least 6 open methods
with 1 to 3 parameters that are overloaded. In PySide only 2 of these
survives into the wrappers. The code writing method handling the
overload do not see that some of the methods might get filtered out by
the avoidProtectedHack.
see line 258 in the cppgenerator.cpp file:
else if ((!avoidProtectedHack() || !metaClass->hasPrivateDestructor())
&& (func->isVirtual() || func->isAbstract()))
writeVirtualMethodNative(s, func);
The makes shiboken not render code for 3 out of 4 overloads of open in
QFile. Can anybody tell me if this is what the avoid protected hack is
all about, skipping implementation of methods in Windows that not meet
certain requirements? If so, why is that done and is there anything I
can do to help fix that? Is there anywhere I can find information of
how things are implemented and why. I feel I start to understand how the
code generating is done and I will probably start using this instead of
my hand-crafted wrappers written in pycxx when I can find the time.
Kind regards,
Bjorn Helge Kjosnes
On 01.05.2012 19:13, Bjørn Helge Kjøsnes wrote:
> Hi,
>
> I have spent some time to figure out why this error is happening, but
> progress is slow due to total lack of experience with shiboken code and
> the type system and how to best debug this on Windows, so any help would
> be appreciated.
>
> So far I have found that it is the new open methods in QFile and in
> QFSFileEngine that not are added to the generated wrappers. It is only
> one open method added from the class and one for the parent class. The
> reason for these open methods not being added is that they have been
> marked by the apiextractor to have the Final flag set and therefor
> skipped in the CppGenerator::generateClass method. The code expecting to
> use these method to support overloaded methods in Python are generating
> code expecting these methods.
>
> The code where generating of code is skipped are in cppgenerator.cpp
> around line 250:
> else if ((!avoidProtectedHack() ||
> !metaClass->hasPrivateDestructor())
> && (func->isVirtual() || func->isAbstract()))
> writeVirtualMethodNative(s, func);
>
> The func->isVirtual() returns true because the final flag is set and not
> because it is a virtual method.
>
> I am now trying to figure out why the Final flag is set in these
> methods, so if anybody can point me to where this is done, please do so.
>
> Thanks,
> Bjorn Helge Kjosnes
>
> On 01.05.2012 18:20, Joel B. Mohler wrote:
>> Hello,
>>
>> The old bugtracker has http://bugs.pyside.org/show_bug.cgi?id=1079
>> closed due to the move to qt-project. I'm now trying the build as
>> according to http://qt-project.org/wiki/Building_PySide_on_Windows and
>> running into this same bug.
>>
>> I'm going to report it on on the new tracker and make an effort to fix
>> it myself, but I would appreciate if anybody else has some sort of
>> progress on a fix to relay any pointers.
>>
>> Thanks,
>> Joel
>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
From matti.p.airas at nokia.com Wed May 2 09:26:30 2012
From: matti.p.airas at nokia.com (Matti Airas)
Date: Wed, 02 May 2012 10:26:30 +0300
Subject: [PySide] Web site transfer
In-Reply-To:
References: <4F9E7B49.9040404@nokia.com> <1335802700.31033.18.camel@erik-mac>
Message-ID: <4FA0E1A6.6070902@nokia.com>
On 30.04.2012 20:30, ext Srini Kommoori wrote:
> I would like to propose S3/github for website hosting. It is pretty
> easy to setup and we can automate to push the code/html pages very
> easily.
>
> Here is my preferred service list:
> S3/github for all static pages.
> Blog - Blogger/Tumblr with multi user submits.
> Wiki - [No change] Seems like already integrated with Qt main site.
> Code - [No change] gitorious
>
> I can help and sponsor for the expenses(if any) related to the migration.
Since there were no objections for getting rid of the current VM setup,
I'd rather than using S3/github just use the offered hosting by Qt
Project. We'll get a managed environment and don't need to worry about
any costs.
I don't have strong opinions about the blogging platform. I'm sure e.g.
Blogger would work just fine.
Cheers,
ma.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jmohler at gamry.com Wed May 2 15:23:35 2012
From: jmohler at gamry.com (Joel B. Mohler)
Date: Wed, 02 May 2012 09:23:35 -0400
Subject: [PySide] building PySide 1.1.1 against Qt 4.8.1 on windows a
kind of solution
In-Reply-To: <4FA0DFF9.8090106@nefines.com>
References: <4FA00D4E.3070701@gamry.com> <4FA019D2.70509@nefines.com>
<4FA0DFF9.8090106@nefines.com>
Message-ID: <4FA13557.9020106@gamry.com>
On 5/2/2012 3:19 AM, Bjørn Helge Kjøsnes wrote:
> Hi,
>
> after some more digging I am able to compile and run PySide 1.1.1
> against Qt 4.8.1.
>
> It is a ugly solution that can not be committed to the repos, but for if
> there are any in need for a version, you can replace a few lines of code
> in shiboken-1.1.1\generator\shiboken\cppgenerator.cpp file.
>
> Locate line 287 and replace:
> && (func->name() != "qt_metacall"))
> overloads.append(func);
>
> with:
> && (func->name() != "qt_metacall")){
> if (func->toString().contains("open")) {
> if (func->isVirtual())
> overloads.append(func);
> }
> else
> overloads.append(func);
> }
Bjørn,
Thanks, I confirm that this replacement works for me as well (not that
that makes it any more legitimate as you point out). Unfortunately, all
I can do is confirm what you've done. I have no more inspiration about
what is going on behind the scenes here. Note that I've reported this
bug in the in new tracker at
https://bugreports.qt-project.org/browse/PYSIDE-63
Joel
From frank at ohufx.com Thu May 3 08:23:52 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Thu, 03 May 2012 18:23:52 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To: <4FA0D5B5.20604@ohufx.com>
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
Message-ID: <4FA22478.9030007@ohufx.com>
Any takers?
I'm kinda stuck with this one unfortunately.
On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
> sorry for the monolog, but I just realised I will also have to make my
> custom button play along when it's parent's self.sender() function is
> called as well.
> The QSignalSender doesn't quite seem to be the right thing to use as it
> is implemented in the parent's constructor, however I would like to
> implement this in the button's class if possible to make it self contained.
>
> How would I go about that?
>
> Cheers,
> frank
>
> On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>> Hi,
>>
>> to follow up my previous mail, I also just noticed that I have to
>> re-implement the QAbstractButton's setDown() function to make sure my
>> custom button doesn't stay down after a drag&drop action.
>>
>> With a QPushButton I simply called self.setDown( False ) from inside the
>> mouseMoveEvent, so now I'm trying to understand how to recreate this
>> behaviour when using a custom paintEvent().
>>
>> Any tips would be greatly appreciated.
>>
>> Cheers,
>> frank
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From frank at ohufx.com Thu May 3 09:11:45 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Thu, 03 May 2012 19:11:45 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To:
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
Message-ID: <4FA22FB1.6050306@ohufx.com>
Indeed, my apologies.
Will strip out the relevant parts and post an example soon.
On 3/05/12 7:06 PM, Srini Kommoori wrote:
> Code snippet would help in understanding what you are asking.
>
> For most of my cases this works great:
> pushButton.clicked.connect(findFile)
>
> If you are trying to implement your own style button, QPushButton also
> takes icon.
>
>
> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx > wrote:
>
> Any takers?
> I'm kinda stuck with this one unfortunately.
>
>
> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
> > sorry for the monolog, but I just realised I will also have to
> make my
> > custom button play along when it's parent's self.sender()
> function is
> > called as well.
> > The QSignalSender doesn't quite seem to be the right thing to
> use as it
> > is implemented in the parent's constructor, however I would like to
> > implement this in the button's class if possible to make it self
> contained.
> >
> > How would I go about that?
> >
> > Cheers,
> > frank
> >
> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
> >> Hi,
> >>
> >> to follow up my previous mail, I also just noticed that I have to
> >> re-implement the QAbstractButton's setDown() function to make
> sure my
> >> custom button doesn't stay down after a drag&drop action.
> >>
> >> With a QPushButton I simply called self.setDown( False ) from
> inside the
> >> mouseMoveEvent, so now I'm trying to understand how to recreate
> this
> >> behaviour when using a custom paintEvent().
> >>
> >> Any tips would be greatly appreciated.
> >>
> >> Cheers,
> >> frank
> >> _______________________________________________
> >> PySide mailing list
> >> PySide at qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/pyside
> > _______________________________________________
> > PySide mailing list
> > PySide at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/pyside
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Thu May 3 10:37:45 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Thu, 03 May 2012 20:37:45 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To: <4FA22FB1.6050306@ohufx.com>
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com>
Message-ID: <4FA243D9.9000601@ohufx.com>
Here is some example code that I ripped out of my main code:
http://pastebin.com/jXZXXebW
It compares a sub classed QPushButton with one I painted from scratch.
I was actually able to solve some of the problems in the process (and
for some reason the QObject.sender() works as well now) , but the one
thing that still doesn't work with the new button is when I try to set a
drag action like this:
drag.start( Qt.CopyAction )
The drag action for the "new button" is in line 192 which doesn't seem
to have any effect when dragging the button, while the one for the "old
button" in line 27 works as expected and turns the mouse cursor into a
little plus sign when dragging.
What am I missing?
Cheers,
frank
On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
> Indeed, my apologies.
> Will strip out the relevant parts and post an example soon.
>
> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>> Code snippet would help in understanding what you are asking.
>>
>> For most of my cases this works great:
>> pushButton.clicked.connect(findFile)
>>
>> If you are trying to implement your own style button, QPushButton
>> also takes icon.
>>
>>
>> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx
>> > wrote:
>>
>> Any takers?
>> I'm kinda stuck with this one unfortunately.
>>
>>
>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>> > sorry for the monolog, but I just realised I will also have to
>> make my
>> > custom button play along when it's parent's self.sender()
>> function is
>> > called as well.
>> > The QSignalSender doesn't quite seem to be the right thing to
>> use as it
>> > is implemented in the parent's constructor, however I would like to
>> > implement this in the button's class if possible to make it
>> self contained.
>> >
>> > How would I go about that?
>> >
>> > Cheers,
>> > frank
>> >
>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>> >> Hi,
>> >>
>> >> to follow up my previous mail, I also just noticed that I have to
>> >> re-implement the QAbstractButton's setDown() function to make
>> sure my
>> >> custom button doesn't stay down after a drag&drop action.
>> >>
>> >> With a QPushButton I simply called self.setDown( False ) from
>> inside the
>> >> mouseMoveEvent, so now I'm trying to understand how to
>> recreate this
>> >> behaviour when using a custom paintEvent().
>> >>
>> >> Any tips would be greatly appreciated.
>> >>
>> >> Cheers,
>> >> frank
>> >> _______________________________________________
>> >> PySide mailing list
>> >> PySide at qt-project.org
>> >> http://lists.qt-project.org/mailman/listinfo/pyside
>> > _______________________________________________
>> > PySide mailing list
>> > PySide at qt-project.org
>> > http://lists.qt-project.org/mailman/listinfo/pyside
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
>>
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Thu May 3 10:51:35 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Thu, 03 May 2012 20:51:35 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To: <4FA243D9.9000601@ohufx.com>
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com> <4FA243D9.9000601@ohufx.com>
Message-ID: <4FA24717.4060307@ohufx.com>
DOH. Minutes after posting this I realised that the little plus on the
cursor only shows up on a "droppable" area, which my custom button is
not (and the default one is I guess).
In other words I just solved all the problem myself by trying to strip
it all down for a test to post.
Sorry, will try and be a bit more accountable next time.
On 3/05/12 8:37 PM, Frank Rueter | OHUfx wrote:
> Here is some example code that I ripped out of my main code:
> http://pastebin.com/jXZXXebW
>
> It compares a sub classed QPushButton with one I painted from scratch.
>
> I was actually able to solve some of the problems in the process (and
> for some reason the QObject.sender() works as well now) , but the one
> thing that still doesn't work with the new button is when I try to set
> a drag action like this:
> drag.start( Qt.CopyAction )
>
> The drag action for the "new button" is in line 192 which doesn't seem
> to have any effect when dragging the button, while the one for the
> "old button" in line 27 works as expected and turns the mouse cursor
> into a little plus sign when dragging.
>
> What am I missing?
>
>
> Cheers,
> frank
>
>
> On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
>> Indeed, my apologies.
>> Will strip out the relevant parts and post an example soon.
>>
>> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>>> Code snippet would help in understanding what you are asking.
>>>
>>> For most of my cases this works great:
>>> pushButton.clicked.connect(findFile)
>>>
>>> If you are trying to implement your own style button, QPushButton
>>> also takes icon.
>>>
>>>
>>> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx
>>> > wrote:
>>>
>>> Any takers?
>>> I'm kinda stuck with this one unfortunately.
>>>
>>>
>>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>>> > sorry for the monolog, but I just realised I will also have to
>>> make my
>>> > custom button play along when it's parent's self.sender()
>>> function is
>>> > called as well.
>>> > The QSignalSender doesn't quite seem to be the right thing to
>>> use as it
>>> > is implemented in the parent's constructor, however I would
>>> like to
>>> > implement this in the button's class if possible to make it
>>> self contained.
>>> >
>>> > How would I go about that?
>>> >
>>> > Cheers,
>>> > frank
>>> >
>>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>>> >> Hi,
>>> >>
>>> >> to follow up my previous mail, I also just noticed that I have to
>>> >> re-implement the QAbstractButton's setDown() function to make
>>> sure my
>>> >> custom button doesn't stay down after a drag&drop action.
>>> >>
>>> >> With a QPushButton I simply called self.setDown( False ) from
>>> inside the
>>> >> mouseMoveEvent, so now I'm trying to understand how to
>>> recreate this
>>> >> behaviour when using a custom paintEvent().
>>> >>
>>> >> Any tips would be greatly appreciated.
>>> >>
>>> >> Cheers,
>>> >> frank
>>> >> _______________________________________________
>>> >> PySide mailing list
>>> >> PySide at qt-project.org
>>> >> http://lists.qt-project.org/mailman/listinfo/pyside
>>> > _______________________________________________
>>> > PySide mailing list
>>> > PySide at qt-project.org
>>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>> _______________________________________________
>>> PySide mailing list
>>> PySide at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>>
>>
>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From vasure at gmail.com Thu May 3 11:49:37 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Thu, 3 May 2012 02:49:37 -0700
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To: <4FA24717.4060307@ohufx.com>
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com> <4FA243D9.9000601@ohufx.com>
<4FA24717.4060307@ohufx.com>
Message-ID:
Thats great.
One thing I observed is: for your custom button, if you want a nice/native
copy icon to appear - set following in your dragEnterEvent(I would prefer
to do have dragMoveEvent)
event.setDropAction(QtCore.Qt.CopyAction)
event.accept()
-Srini
On Thu, May 3, 2012 at 1:51 AM, Frank Rueter | OHUfx wrote:
> DOH. Minutes after posting this I realised that the little plus on the
> cursor only shows up on a "droppable" area, which my custom button is not
> (and the default one is I guess).
> In other words I just solved all the problem myself by trying to strip it
> all down for a test to post.
> Sorry, will try and be a bit more accountable next time.
>
>
>
>
> On 3/05/12 8:37 PM, Frank Rueter | OHUfx wrote:
>
> Here is some example code that I ripped out of my main code:
> http://pastebin.com/jXZXXebW
>
> It compares a sub classed QPushButton with one I painted from scratch.
>
> I was actually able to solve some of the problems in the process (and for
> some reason the QObject.sender() works as well now) , but the one thing
> that still doesn't work with the new button is when I try to set a drag
> action like this:
> drag.start( Qt.CopyAction )
>
> The drag action for the "new button" is in line 192 which doesn't seem to
> have any effect when dragging the button, while the one for the "old
> button" in line 27 works as expected and turns the mouse cursor into a
> little plus sign when dragging.
>
> What am I missing?
>
>
> Cheers,
> frank
>
>
> On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
>
> Indeed, my apologies.
> Will strip out the relevant parts and post an example soon.
>
> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>
> Code snippet would help in understanding what you are asking.
>
> For most of my cases this works great:
> pushButton.clicked.connect(findFile)
>
> If you are trying to implement your own style button, QPushButton also
> takes icon.
>
>
> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx wrote:
>
>> Any takers?
>> I'm kinda stuck with this one unfortunately.
>>
>>
>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>> > sorry for the monolog, but I just realised I will also have to make my
>> > custom button play along when it's parent's self.sender() function is
>> > called as well.
>> > The QSignalSender doesn't quite seem to be the right thing to use as it
>> > is implemented in the parent's constructor, however I would like to
>> > implement this in the button's class if possible to make it self
>> contained.
>> >
>> > How would I go about that?
>> >
>> > Cheers,
>> > frank
>> >
>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>> >> Hi,
>> >>
>> >> to follow up my previous mail, I also just noticed that I have to
>> >> re-implement the QAbstractButton's setDown() function to make sure my
>> >> custom button doesn't stay down after a drag&drop action.
>> >>
>> >> With a QPushButton I simply called self.setDown( False ) from inside
>> the
>> >> mouseMoveEvent, so now I'm trying to understand how to recreate this
>> >> behaviour when using a custom paintEvent().
>> >>
>> >> Any tips would be greatly appreciated.
>> >>
>> >> Cheers,
>> >> frank
>> >> _______________________________________________
>> >> PySide mailing list
>> >> PySide at qt-project.org
>> >> http://lists.qt-project.org/mailman/listinfo/pyside
>> > _______________________________________________
>> > PySide mailing list
>> > PySide at qt-project.org
>> > http://lists.qt-project.org/mailman/listinfo/pyside
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
>
>
>
> _______________________________________________
> PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside
>
>
>
> _______________________________________________
> PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Thu May 3 22:32:28 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Fri, 04 May 2012 08:32:28 +1200
Subject: [PySide] re-implementing setDown() for custom button
In-Reply-To:
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com> <4FA243D9.9000601@ohufx.com>
<4FA24717.4060307@ohufx.com>
Message-ID: <4FA2EB5C.8080604@ohufx.com>
Hi Srini,
>>(I would prefer to do have dragMoveEvent)
I'm not quite sure what you mean. Can you elaborate?
I did what you suggested but can't see any change (maybe because I'm on
osx?).
Cheers,
frank
On 3/05/12 9:49 PM, Srini Kommoori wrote:
> Thats great.
>
> One thing I observed is: for your custom button, if you want a
> nice/native copy icon to appear - set following in your
> dragEnterEvent(I would prefer to do have dragMoveEvent)
>
> event.setDropAction(QtCore.Qt.CopyAction)
> event.accept()
>
> -Srini
>
> On Thu, May 3, 2012 at 1:51 AM, Frank Rueter | OHUfx > wrote:
>
> DOH. Minutes after posting this I realised that the little plus on
> the cursor only shows up on a "droppable" area, which my custom
> button is not (and the default one is I guess).
> In other words I just solved all the problem myself by trying to
> strip it all down for a test to post.
> Sorry, will try and be a bit more accountable next time.
>
>
>
>
> On 3/05/12 8:37 PM, Frank Rueter | OHUfx wrote:
>> Here is some example code that I ripped out of my main code:
>> http://pastebin.com/jXZXXebW
>>
>> It compares a sub classed QPushButton with one I painted from
>> scratch.
>>
>> I was actually able to solve some of the problems in the process
>> (and for some reason the QObject.sender() works as well now) ,
>> but the one thing that still doesn't work with the new button is
>> when I try to set a drag action like this:
>> drag.start( Qt.CopyAction )
>>
>> The drag action for the "new button" is in line 192 which doesn't
>> seem to have any effect when dragging the button, while the one
>> for the "old button" in line 27 works as expected and turns the
>> mouse cursor into a little plus sign when dragging.
>>
>> What am I missing?
>>
>>
>> Cheers,
>> frank
>>
>>
>> On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
>>> Indeed, my apologies.
>>> Will strip out the relevant parts and post an example soon.
>>>
>>> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>>>> Code snippet would help in understanding what you are asking.
>>>>
>>>> For most of my cases this works great:
>>>> pushButton.clicked.connect(findFile)
>>>>
>>>> If you are trying to implement your own style
>>>> button, QPushButton also takes icon.
>>>>
>>>>
>>>> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx
>>>> > wrote:
>>>>
>>>> Any takers?
>>>> I'm kinda stuck with this one unfortunately.
>>>>
>>>>
>>>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>>>> > sorry for the monolog, but I just realised I will also
>>>> have to make my
>>>> > custom button play along when it's parent's self.sender()
>>>> function is
>>>> > called as well.
>>>> > The QSignalSender doesn't quite seem to be the right
>>>> thing to use as it
>>>> > is implemented in the parent's constructor, however I
>>>> would like to
>>>> > implement this in the button's class if possible to make
>>>> it self contained.
>>>> >
>>>> > How would I go about that?
>>>> >
>>>> > Cheers,
>>>> > frank
>>>> >
>>>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>>>> >> Hi,
>>>> >>
>>>> >> to follow up my previous mail, I also just noticed that
>>>> I have to
>>>> >> re-implement the QAbstractButton's setDown() function to
>>>> make sure my
>>>> >> custom button doesn't stay down after a drag&drop action.
>>>> >>
>>>> >> With a QPushButton I simply called self.setDown( False )
>>>> from inside the
>>>> >> mouseMoveEvent, so now I'm trying to understand how to
>>>> recreate this
>>>> >> behaviour when using a custom paintEvent().
>>>> >>
>>>> >> Any tips would be greatly appreciated.
>>>> >>
>>>> >> Cheers,
>>>> >> frank
>>>> >> _______________________________________________
>>>> >> PySide mailing list
>>>> >> PySide at qt-project.org
>>>> >> http://lists.qt-project.org/mailman/listinfo/pyside
>>>> > _______________________________________________
>>>> > PySide mailing list
>>>> > PySide at qt-project.org
>>>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>>> _______________________________________________
>>>> PySide mailing list
>>>> PySide at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> PySide mailing list
>>> PySide at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>
>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From vasure at gmail.com Fri May 4 08:56:24 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Thu, 3 May 2012 23:56:24 -0700
Subject: [PySide] Fwd: re-implementing setDown() for custom button
In-Reply-To:
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com> <4FA243D9.9000601@ohufx.com>
<4FA24717.4060307@ohufx.com>
<4FA2EB5C.8080604@ohufx.com>
<4FA2F6C5.3@ohufx.com>
Message-ID:
Forgot to cc the list. May be useful for archival purposes.
---------- Forwarded message ----------
From: Srini Kommoori
Date: Thu, May 3, 2012 at 11:50 PM
Subject: Re: [PySide] re-implementing setDown() for custom button
To: Frank Rueter | OHUfx
Frank,
Here is a simple working example.
https://gist.github.com/2592661
I tried to debug your snippet but it was taking too long to see what is
happening with the new button in your example.
May be check with the working example that I have posted and compare with
what you are doing in the new button.
Hope that helps.
-Srini
On Thu, May 3, 2012 at 2:21 PM, Frank Rueter | OHUfx wrote:
> Thanks. I'm just trying to see what I could do better, as I'm very new to
> QT.
> So you reckon it would just be better to use the dragMoveEvent virtual
> function instead of the dragEnterEvent?
>
> I can't see a difference between the two in my code even though they
> should make the button itself receive drag events, right?! So I guess I
> should see the plus icon after all like I do with the defaul tbutton, but I
> don't.
>
> I must still be missing something obvious.
>
> Cheers,
> frank
>
>
> On 4/05/12 9:15 AM, Srini Kommoori wrote:
>
> Sorry Safari auto correction making it illegible.
>
> What I meant was, I would prefer to have dragMoveEvent
> with event.setDropAction(QtCore.Qt.CopyAction).
>
> You can ignore the comment as you have custom implemented the whole
> pushbutton and its behavior.
>
> -Srini
>
> On Thu, May 3, 2012 at 1:32 PM, Frank Rueter | OHUfx wrote:
>
>> Hi Srini,
>>
>>
>> >>(I would prefer to do have dragMoveEvent)
>> I'm not quite sure what you mean. Can you elaborate?
>>
>> I did what you suggested but can't see any change (maybe because I'm on
>> osx?).
>>
>> Cheers,
>> frank
>>
>>
>> On 3/05/12 9:49 PM, Srini Kommoori wrote:
>>
>> Thats great.
>>
>> One thing I observed is: for your custom button, if you want a
>> nice/native copy icon to appear - set following in your dragEnterEvent(I
>> would prefer to do have dragMoveEvent)
>>
>> event.setDropAction(QtCore.Qt.CopyAction)
>> event.accept()
>>
>> -Srini
>>
>> On Thu, May 3, 2012 at 1:51 AM, Frank Rueter | OHUfx wrote:
>>
>>> DOH. Minutes after posting this I realised that the little plus on the
>>> cursor only shows up on a "droppable" area, which my custom button is not
>>> (and the default one is I guess).
>>> In other words I just solved all the problem myself by trying to strip
>>> it all down for a test to post.
>>> Sorry, will try and be a bit more accountable next time.
>>>
>>>
>>>
>>>
>>> On 3/05/12 8:37 PM, Frank Rueter | OHUfx wrote:
>>>
>>> Here is some example code that I ripped out of my main code:
>>> http://pastebin.com/jXZXXebW
>>>
>>> It compares a sub classed QPushButton with one I painted from scratch.
>>>
>>> I was actually able to solve some of the problems in the process (and
>>> for some reason the QObject.sender() works as well now) , but the one thing
>>> that still doesn't work with the new button is when I try to set a drag
>>> action like this:
>>> drag.start( Qt.CopyAction )
>>>
>>> The drag action for the "new button" is in line 192 which doesn't seem
>>> to have any effect when dragging the button, while the one for the "old
>>> button" in line 27 works as expected and turns the mouse cursor into a
>>> little plus sign when dragging.
>>>
>>> What am I missing?
>>>
>>>
>>> Cheers,
>>> frank
>>>
>>>
>>> On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
>>>
>>> Indeed, my apologies.
>>> Will strip out the relevant parts and post an example soon.
>>>
>>> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>>>
>>> Code snippet would help in understanding what you are asking.
>>>
>>> For most of my cases this works great:
>>> pushButton.clicked.connect(findFile)
>>>
>>> If you are trying to implement your own style button, QPushButton also
>>> takes icon.
>>>
>>>
>>> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx wrote:
>>>
>>>> Any takers?
>>>> I'm kinda stuck with this one unfortunately.
>>>>
>>>>
>>>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>>>> > sorry for the monolog, but I just realised I will also have to make my
>>>> > custom button play along when it's parent's self.sender() function is
>>>> > called as well.
>>>> > The QSignalSender doesn't quite seem to be the right thing to use as
>>>> it
>>>> > is implemented in the parent's constructor, however I would like to
>>>> > implement this in the button's class if possible to make it self
>>>> contained.
>>>> >
>>>> > How would I go about that?
>>>> >
>>>> > Cheers,
>>>> > frank
>>>> >
>>>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>>>> >> Hi,
>>>> >>
>>>> >> to follow up my previous mail, I also just noticed that I have to
>>>> >> re-implement the QAbstractButton's setDown() function to make sure my
>>>> >> custom button doesn't stay down after a drag&drop action.
>>>> >>
>>>> >> With a QPushButton I simply called self.setDown( False ) from inside
>>>> the
>>>> >> mouseMoveEvent, so now I'm trying to understand how to recreate this
>>>> >> behaviour when using a custom paintEvent().
>>>> >>
>>>> >> Any tips would be greatly appreciated.
>>>> >>
>>>> >> Cheers,
>>>> >> frank
>>>> >> _______________________________________________
>>>> >> PySide mailing list
>>>> >> PySide at qt-project.org
>>>> >> http://lists.qt-project.org/mailman/listinfo/pyside
>>>> > _______________________________________________
>>>> > PySide mailing list
>>>> > PySide at qt-project.org
>>>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>>> _______________________________________________
>>>> PySide mailing list
>>>> PySide at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>>
>>>
>>> _______________________________________________
>>> PySide mailing listPySide at qt-project.orghttp://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>>
>>> _______________________________________________
>>> PySide mailing list
>>> PySide at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Fri May 4 09:19:07 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Fri, 04 May 2012 19:19:07 +1200
Subject: [PySide] Fwd: re-implementing setDown() for custom button
In-Reply-To:
References: <4FA0C9A9.5000909@ohufx.com> <4FA0D5B5.20604@ohufx.com>
<4FA22478.9030007@ohufx.com>
<4FA22FB1.6050306@ohufx.com> <4FA243D9.9000601@ohufx.com>
<4FA24717.4060307@ohufx.com>
<4FA2EB5C.8080604@ohufx.com>
<4FA2F6C5.3@ohufx.com>
Message-ID: <4FA382EB.1080408@ohufx.com>
oops, indeed.
this was my reply:
Hm, I just realised that none of my drag events seem to have much of an
effect, and the actual drag behaviour is inside the mouseMoveEvent(),
which seems wrong, but works.
I will have a closer look again, but this is very confusing.
On 4/05/12 6:56 PM, Srini Kommoori wrote:
> Forgot to cc the list. May be useful for archival purposes.
>
> ---------- Forwarded message ----------
> From: *Srini Kommoori* >
> Date: Thu, May 3, 2012 at 11:50 PM
> Subject: Re: [PySide] re-implementing setDown() for custom button
> To: Frank Rueter | OHUfx >
>
>
> Frank,
>
> Here is a simple working example.
>
> https://gist.github.com/2592661
>
> I tried to debug your snippet but it was taking too long to see what
> is happening with the new button in your example.
>
> May be check with the working example that I have posted and compare
> with what you are doing in the new button.
>
> Hope that helps.
>
> -Srini
>
>
> On Thu, May 3, 2012 at 2:21 PM, Frank Rueter | OHUfx > wrote:
>
> Thanks. I'm just trying to see what I could do better, as I'm very
> new to QT.
> So you reckon it would just be better to use the dragMoveEvent
> virtual function instead of the dragEnterEvent?
>
> I can't see a difference between the two in my code even though
> they should make the button itself receive drag events, right?! So
> I guess I should see the plus icon after all like I do with the
> defaul tbutton, but I don't.
>
> I must still be missing something obvious.
>
> Cheers,
> frank
>
>
> On 4/05/12 9:15 AM, Srini Kommoori wrote:
>> Sorry Safari auto correction making it illegible.
>>
>> What I meant was, I would prefer to have dragMoveEvent
>> with event.setDropAction(QtCore.Qt.CopyAction).
>>
>> You can ignore the comment as you have custom implemented the
>> whole pushbutton and its behavior.
>>
>> -Srini
>>
>> On Thu, May 3, 2012 at 1:32 PM, Frank Rueter | OHUfx
>> > wrote:
>>
>> Hi Srini,
>>
>>
>> >>(I would prefer to do have dragMoveEvent)
>> I'm not quite sure what you mean. Can you elaborate?
>>
>> I did what you suggested but can't see any change (maybe
>> because I'm on osx?).
>>
>> Cheers,
>> frank
>>
>>
>> On 3/05/12 9:49 PM, Srini Kommoori wrote:
>>> Thats great.
>>>
>>> One thing I observed is: for your custom button, if you want
>>> a nice/native copy icon to appear - set following in your
>>> dragEnterEvent(I would prefer to do have dragMoveEvent)
>>>
>>> event.setDropAction(QtCore.Qt.CopyAction)
>>> event.accept()
>>>
>>> -Srini
>>>
>>> On Thu, May 3, 2012 at 1:51 AM, Frank Rueter | OHUfx
>>> > wrote:
>>>
>>> DOH. Minutes after posting this I realised that the
>>> little plus on the cursor only shows up on a "droppable"
>>> area, which my custom button is not (and the default one
>>> is I guess).
>>> In other words I just solved all the problem myself by
>>> trying to strip it all down for a test to post.
>>> Sorry, will try and be a bit more accountable next time.
>>>
>>>
>>>
>>>
>>> On 3/05/12 8:37 PM, Frank Rueter | OHUfx wrote:
>>>> Here is some example code that I ripped out of my main
>>>> code:
>>>> http://pastebin.com/jXZXXebW
>>>>
>>>> It compares a sub classed QPushButton with one I
>>>> painted from scratch.
>>>>
>>>> I was actually able to solve some of the problems in
>>>> the process (and for some reason the QObject.sender()
>>>> works as well now) , but the one thing that still
>>>> doesn't work with the new button is when I try to set a
>>>> drag action like this:
>>>> drag.start( Qt.CopyAction )
>>>>
>>>> The drag action for the "new button" is in line 192
>>>> which doesn't seem to have any effect when dragging the
>>>> button, while the one for the "old button" in line 27
>>>> works as expected and turns the mouse cursor into a
>>>> little plus sign when dragging.
>>>>
>>>> What am I missing?
>>>>
>>>>
>>>> Cheers,
>>>> frank
>>>>
>>>>
>>>> On 3/05/12 7:11 PM, Frank Rueter | OHUfx wrote:
>>>>> Indeed, my apologies.
>>>>> Will strip out the relevant parts and post an example
>>>>> soon.
>>>>>
>>>>> On 3/05/12 7:06 PM, Srini Kommoori wrote:
>>>>>> Code snippet would help in understanding what you are
>>>>>> asking.
>>>>>>
>>>>>> For most of my cases this works great:
>>>>>> pushButton.clicked.connect(findFile)
>>>>>>
>>>>>> If you are trying to implement your own style
>>>>>> button, QPushButton also takes icon.
>>>>>>
>>>>>>
>>>>>> On Wed, May 2, 2012 at 11:23 PM, Frank Rueter | OHUfx
>>>>>> > wrote:
>>>>>>
>>>>>> Any takers?
>>>>>> I'm kinda stuck with this one unfortunately.
>>>>>>
>>>>>>
>>>>>> On 2/05/12 6:35 PM, Frank Rueter | OHUfx wrote:
>>>>>> > sorry for the monolog, but I just realised I
>>>>>> will also have to make my
>>>>>> > custom button play along when it's parent's
>>>>>> self.sender() function is
>>>>>> > called as well.
>>>>>> > The QSignalSender doesn't quite seem to be the
>>>>>> right thing to use as it
>>>>>> > is implemented in the parent's constructor,
>>>>>> however I would like to
>>>>>> > implement this in the button's class if
>>>>>> possible to make it self contained.
>>>>>> >
>>>>>> > How would I go about that?
>>>>>> >
>>>>>> > Cheers,
>>>>>> > frank
>>>>>> >
>>>>>> > On 2/05/12 5:44 PM, Frank Rueter | OHUfx wrote:
>>>>>> >> Hi,
>>>>>> >>
>>>>>> >> to follow up my previous mail, I also just
>>>>>> noticed that I have to
>>>>>> >> re-implement the QAbstractButton's setDown()
>>>>>> function to make sure my
>>>>>> >> custom button doesn't stay down after a
>>>>>> drag&drop action.
>>>>>> >>
>>>>>> >> With a QPushButton I simply called
>>>>>> self.setDown( False ) from inside the
>>>>>> >> mouseMoveEvent, so now I'm trying to
>>>>>> understand how to recreate this
>>>>>> >> behaviour when using a custom paintEvent().
>>>>>> >>
>>>>>> >> Any tips would be greatly appreciated.
>>>>>> >>
>>>>>> >> Cheers,
>>>>>> >> frank
>>>>>> >> _______________________________________________
>>>>>> >> PySide mailing list
>>>>>> >> PySide at qt-project.org
>>>>>>
>>>>>> >>
>>>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>>>> > _______________________________________________
>>>>>> > PySide mailing list
>>>>>> > PySide at qt-project.org
>>>>>>
>>>>>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>>>>> _______________________________________________
>>>>>> PySide mailing list
>>>>>> PySide at qt-project.org
>>>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> PySide mailing list
>>>>> PySide at qt-project.org
>>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>>
>>>>
>>>> _______________________________________________
>>>> PySide mailing list
>>>> PySide at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>> _______________________________________________
>>> PySide mailing list
>>> PySide at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/pyside
>>>
>>>
>>
>
>
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tommaso.vinci at polytechnique.fr Fri May 4 09:27:25 2012
From: tommaso.vinci at polytechnique.fr (Tommaso Vinci)
Date: Fri, 04 May 2012 09:27:25 +0200
Subject: [PySide] supehybrids
Message-ID: <20120504092725.19056oc1ibafzjks@webmail.enseignement.polytechnique.fr>
Dear all,
(I'm not sure you received this email, I had some problem with gmail
forwarding, sorry for double posting)
I'm trying do do exactly what superhybrids tutorial
(http://lynxline.com/superhybrids-part-2-now-qt-pyside/) does, but I
get in trouble at a certain point:
in the build.sh, after running generatorruner, it does a qmake in the
hybridpy directory
and it complains by
WARNING: Failure to find: PyHybrid/mainwindow_wrapper.cpp
and then it can't compile.
I don't understand the whole generatorruner stuff but I think that
that file should have been generated at that moment
I've uploaded here : http://dl.free.fr/pMld77LUj the .zip stuff
(I had to modify a bit 'cause I'm on osx...)
and here is just the generatorrunner command:
cd hybridpy
QTGUI_INC=/Library/Frameworks/QtGui.framework/Versions/4/Headers
QTCORE_INC=/Library/Frameworks/QtCore.framework/Versions/4/Headers
QTTYPESYSTEM=/usr/share/PySide/typesystems
generatorrunner
--generator-set=/usr/lib/generatorrunner/shiboken_generator.dylib \
--include-paths=../hybrid:$QTCORE_INC:$QTGUI_INC:/usr/include \
--typesystem-paths=../data:$QTTYPESYSTEM \
--output-directory=. \
../data/global.h \
../data/typesystem.xml \
--enable-pyside-extensions \
--debug-level=full
did anyone succeed in doing this tutorial?
many many thanks
tommaso
----------------------------------------------------------------
This message was sent using X-WebMail
From anomalous_underdog at yahoo.com Sun May 6 10:59:09 2012
From: anomalous_underdog at yahoo.com (anomalous underdog)
Date: Sun, 6 May 2012 01:59:09 -0700 (PDT)
Subject: [PySide] How to uninstall pyside on Mac OS X?
Message-ID: <1336294749.24641.YahooMailNeo@web46108.mail.sp1.yahoo.com>
I'm using Mac OS X 10.6.8, and I installed pyside-1.1.0-qt48-py27apple.pkg, I want to remove it. How do I do that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ssorgatem at gmail.com Tue May 8 19:52:17 2012
From: ssorgatem at gmail.com (=?UTF-8?Q?Adri=C3=A0_Cereto_Massagu=C3=A9?=)
Date: Tue, 8 May 2012 10:52:17 -0700 (PDT)
Subject: [PySide] Building PySide for Android
In-Reply-To: <409292.2008.1336499327369.JavaMail.geo-discussion-forums@vbez20>
References: <7303564.14.1336488126383.JavaMail.geo-discussion-forums@ynjc16>
<409292.2008.1336499327369.JavaMail.geo-discussion-forums@vbez20>
Message-ID: <26051837.2816.1336499537101.JavaMail.geo-discussion-forums@yncd3>
Hi again,
I've managed to get PySide/QtCore.so built, (typesystem_core_android.xml
did not disappear, after all)
but now it's QtGui who's not wanting to build. Here's the output:
[ 20%] Building CXX object
> PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qcursor_wrapper.cpp.o
> /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtGui/PySide/QtGui/qcursor_wrapper.cpp:
> In function 'int Sbk_QCursor_Init(PyObject*, PyObject*, PyObject*)':
> /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtGui/PySide/QtGui/qcursor_wrapper.cpp:158:45:
> error: invalid conversion from 'Qt::HANDLE {aka void*}' to 'const char*
> const*' [-fpermissive]
> /home/ssorgatem/necessitas/Android/Qt/480/armeabi/include/QtGui/qpixmap.h:80:5:
> error: initializing argument 1 of 'QPixmap::QPixmap(const char* const*)'
> [-fpermissive]
> /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtGui/PySide/QtGui/qcursor_wrapper.cpp:
> In function 'void PySide_QtCore_Qt_HANDLE_PythonToCpp_QCursor(PyObject*,
> void*)':
> /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtGui/PySide/QtGui/qcursor_wrapper.cpp:895:44:
> error: invalid conversion from 'Qt::HANDLE {aka void*}' to 'const char*
> const*' [-fpermissive]
> /home/ssorgatem/necessitas/Android/Qt/480/armeabi/include/QtGui/qpixmap.h:80:5:
> error: initializing argument 1 of 'QPixmap::QPixmap(const char* const*)'
> [-fpermissive]
> make[2]: ***
> [PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qcursor_wrapper.cpp.o]
> Error 1
> make[1]: *** [PySide/QtGui/CMakeFiles/QtGui.dir/all] Error 2
> make: *** [all] Error 2
>
I have no clue about what to do next. Any help would be greatly appreciated.
Thank you,
Adrià
El dimarts 8 de maig de 2012 16:42:06 UTC+2, Adrià Cereto Massagué va
escriure:
>
> Hi,
>
> I've been attempting to build PySide 1.1.1 for android, with python2.7
> from https://github.com/kivy/python-for-android
> and using Necessita's bundled NDK r6b with Linaro's toolchain 4.6.2.
>
> I'm using adapted versions of Thomas Perl's patches.
>
> So far, I've been able to build libshiboken, but i has been built as
> libshiboken.so while PySide looks for libshiboken-python27.so.
> A symlink solved that.
> Then PySide would complain about missing shiboken binary... then a symlink
> against the host machine shiboken binary solved that too.
> And now I'm stuck trying to generate the bindings for QtCore:
>
> Linking CXX shared library libpyside.so
> [ 3%] Built target pyside
> [ 4%] Running generator for QtCore...
> Fatal error: line=22, column=71, message=Failed to parse:
> 'typesystem_core_android.xml'
>
> Cannot parse file:
> /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtCore/typesystem_core.xmlmake[2]:
> *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp]
> Error 1
> make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
> make: *** [all] Error 2
>
> The relevant contents on typesystem_core.xml are:
>
>
>>
>>
>>
>>
>
> But typesystem_core_android.xml does not exist. If I write it by hand it
> disappears again, so it's being removed, and
> therefore I guess it should be generated in some way... but how?
> Any ideas?
>
> Thank you,
>
> Adrià
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mairas at iki.fi Wed May 9 17:41:00 2012
From: mairas at iki.fi (Matti Airas)
Date: Wed, 9 May 2012 18:41:00 +0300
Subject: [PySide] PySide website, old Bugzilla
Message-ID:
Hi list,
I've still been trying to arrange the move of the PySide website to Qt
Project. It might be that the only thing we get is a redirect from
www.pyside.org is to the Wiki main page (which would need to be
adjusted accordingly). I'm a bit tired of haggling that, however, so I
hope that's all right.
Related to the website migration: the old Bugzilla is hosted at the
virtual machine that's going to go away in 6 weeks or so. IMHO, the
old bug reports have a great historic value and should optimally be
preserved? Would someone be willing to host that? I'd be happy to
provide a tarball of the Bugzilla directory + a dump of the MySQL
database (scrubbed clean of usernames and passwords) if someone would
be willing to host them.
Cheers,
ma.
From techtonik at gmail.com Wed May 9 18:08:36 2012
From: techtonik at gmail.com (anatoly techtonik)
Date: Wed, 9 May 2012 19:08:36 +0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
Message-ID:
On Wed, May 9, 2012 at 6:41 PM, Matti Airas wrote:
>
> I've still been trying to arrange the move of the PySide website to Qt
> Project. It might be that the only thing we get is a redirect from
> www.pyside.org is to the Wiki main page (which would need to be
> adjusted accordingly). I'm a bit tired of haggling that, however, so I
> hope that's all right.
If it is solely an HTML content, we can host it on GitHub -
http://help.github.com/pages/
> Related to the website migration: the old Bugzilla is hosted at the
> virtual machine that's going to go away in 6 weeks or so. IMHO, the
> old bug reports have a great historic value and should optimally be
> preserved? Would someone be willing to host that? I'd be happy to
> provide a tarball of the Bugzilla directory + a dump of the MySQL
> database (scrubbed clean of usernames and passwords) if someone would
> be willing to host them.
Can you upload it to Google Drive from your own account and share with
some people, so it won't be lost at least? Maybe somebody eventually
find a way to export Qt-related bugs to Jira from Bugzilla and sync
upstream status with them? Like launchpad does.
--
anatoly t.
From hugo.lima at openbossa.org Wed May 9 19:35:52 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Wed, 09 May 2012 14:35:52 -0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
Message-ID: <2266321.qM4WJ7Cybe@hugodesktop>
On Wednesday, May 09, 2012 07:08:36 PM anatoly techtonik wrote:
> On Wed, May 9, 2012 at 6:41 PM, Matti Airas wrote:
> > I've still been trying to arrange the move of the PySide website to Qt
> > Project. It might be that the only thing we get is a redirect from
> > www.pyside.org is to the Wiki main page (which would need to be
> > adjusted accordingly). I'm a bit tired of haggling that, however, so I
> > hope that's all right.
>
> If it is solely an HTML content, we can host it on GitHub -
> http://help.github.com/pages/
yes, would be nice if we could turn the current bugzilla into static pages and
put them on github pages for reference. I'm using github pages for my pet
projects and they work like a charm!
Maybe this can be achieved just using wget on bugzilla and stripping out the
form fields to have a nice result =].
> > Related to the website migration: the old Bugzilla is hosted at the
> > virtual machine that's going to go away in 6 weeks or so. IMHO, the
> > old bug reports have a great historic value and should optimally be
> > preserved? Would someone be willing to host that? I'd be happy to
> > provide a tarball of the Bugzilla directory + a dump of the MySQL
> > database (scrubbed clean of usernames and passwords) if someone would
> > be willing to host them.
>
> Can you upload it to Google Drive from your own account and share with
> some people, so it won't be lost at least? Maybe somebody eventually
> find a way to export Qt-related bugs to Jira from Bugzilla and sync
> upstream status with them? Like launchpad does.
> --
> anatoly t.
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From vasure at gmail.com Wed May 9 20:11:56 2012
From: vasure at gmail.com (Srini)
Date: Wed, 9 May 2012 11:11:56 -0700
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To: <2266321.qM4WJ7Cybe@hugodesktop>
References:
<2266321.qM4WJ7Cybe@hugodesktop>
Message-ID:
Matti, I will go-ahead and convert bugzilla pages into HTML pages - a simple script would work.
So are we going to host everything else on wiki? What about docs?
-Srini
On May 9, 2012, at 10:35 AM, Hugo Parente Lima wrote:
> On Wednesday, May 09, 2012 07:08:36 PM anatoly techtonik wrote:
>> On Wed, May 9, 2012 at 6:41 PM, Matti Airas wrote:
>>> I've still been trying to arrange the move of the PySide website to Qt
>>> Project. It might be that the only thing we get is a redirect from
>>> www.pyside.org is to the Wiki main page (which would need to be
>>> adjusted accordingly). I'm a bit tired of haggling that, however, so I
>>> hope that's all right.
>>
>> If it is solely an HTML content, we can host it on GitHub -
>> http://help.github.com/pages/
>
> yes, would be nice if we could turn the current bugzilla into static pages and
> put them on github pages for reference. I'm using github pages for my pet
> projects and they work like a charm!
>
> Maybe this can be achieved just using wget on bugzilla and stripping out the
> form fields to have a nice result =].
>
>>> Related to the website migration: the old Bugzilla is hosted at the
>>> virtual machine that's going to go away in 6 weeks or so. IMHO, the
>>> old bug reports have a great historic value and should optimally be
>>> preserved? Would someone be willing to host that? I'd be happy to
>>> provide a tarball of the Bugzilla directory + a dump of the MySQL
>>> database (scrubbed clean of usernames and passwords) if someone would
>>> be willing to host them.
>>
>> Can you upload it to Google Drive from your own account and share with
>> some people, so it won't be lost at least? Maybe somebody eventually
>> find a way to export Qt-related bugs to Jira from Bugzilla and sync
>> upstream status with them? Like launchpad does.
>> --
>> anatoly t.
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From hugo.lima at openbossa.org Wed May 9 20:17:21 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Wed, 09 May 2012 15:17:21 -0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2266321.qM4WJ7Cybe@hugodesktop>
Message-ID: <2494556.N4Z90BUQpD@hugodesktop>
On Wednesday, May 09, 2012 11:11:56 AM Srini wrote:
> Matti, I will go-ahead and convert bugzilla pages into HTML pages - a simple
> script would work.
>
> So are we going to host everything else on wiki? What about docs?
The docs can be placed on github pages too, but would be nice to have github
repositories automatically sync'ed with the ones on gerrit like on gitorious.
> -Srini
>
> On May 9, 2012, at 10:35 AM, Hugo Parente Lima
wrote:
> > On Wednesday, May 09, 2012 07:08:36 PM anatoly techtonik wrote:
> >> On Wed, May 9, 2012 at 6:41 PM, Matti Airas wrote:
> >>> I've still been trying to arrange the move of the PySide website to Qt
> >>> Project. It might be that the only thing we get is a redirect from
> >>> www.pyside.org is to the Wiki main page (which would need to be
> >>> adjusted accordingly). I'm a bit tired of haggling that, however, so I
> >>> hope that's all right.
> >>
> >> If it is solely an HTML content, we can host it on GitHub -
> >> http://help.github.com/pages/
> >
> > yes, would be nice if we could turn the current bugzilla into static pages
> > and put them on github pages for reference. I'm using github pages for my
> > pet projects and they work like a charm!
> >
> > Maybe this can be achieved just using wget on bugzilla and stripping out
> > the form fields to have a nice result =].
> >
> >>> Related to the website migration: the old Bugzilla is hosted at the
> >>> virtual machine that's going to go away in 6 weeks or so. IMHO, the
> >>> old bug reports have a great historic value and should optimally be
> >>> preserved? Would someone be willing to host that? I'd be happy to
> >>> provide a tarball of the Bugzilla directory + a dump of the MySQL
> >>> database (scrubbed clean of usernames and passwords) if someone would
> >>> be willing to host them.
> >>
> >> Can you upload it to Google Drive from your own account and share with
> >> some people, so it won't be lost at least? Maybe somebody eventually
> >> find a way to export Qt-related bugs to Jira from Bugzilla and sync
> >> upstream status with them? Like launchpad does.
> >> --
> >> anatoly t.
> >> _______________________________________________
> >> PySide mailing list
> >> PySide at qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/pyside
> >
> > _______________________________________________
> > PySide mailing list
> > PySide at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From techtonik at gmail.com Wed May 9 20:24:22 2012
From: techtonik at gmail.com (anatoly techtonik)
Date: Wed, 9 May 2012 21:24:22 +0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To: <2494556.N4Z90BUQpD@hugodesktop>
References:
<2266321.qM4WJ7Cybe@hugodesktop>
<2494556.N4Z90BUQpD@hugodesktop>
Message-ID:
On Wed, May 9, 2012 at 9:17 PM, Hugo Parente Lima
wrote:
> On Wednesday, May 09, 2012 11:11:56 AM Srini wrote:
>> Matti, I will go-ahead and convert bugzilla pages into HTML pages - a simple
>> script would work.
>>
>> So are we going to host everything else on wiki? What about docs?
>
> The docs can be placed on github pages too, but would be nice to have github
> repositories automatically sync'ed with the ones on gerrit like on gitorious.
Well, I was thinking only about web part - not about Bugzilla in
particular. As for documentation pages, where is the machine that does
repository sync?
--
anatoly t.
From hugo.lima at openbossa.org Wed May 9 22:08:24 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Wed, 09 May 2012 17:08:24 -0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2494556.N4Z90BUQpD@hugodesktop>
Message-ID: <3190885.2NbcHgPhKV@hugodesktop>
On Wednesday, May 09, 2012 09:24:22 PM anatoly techtonik wrote:
> On Wed, May 9, 2012 at 9:17 PM, Hugo Parente Lima
>
> wrote:
> > On Wednesday, May 09, 2012 11:11:56 AM Srini wrote:
> >> Matti, I will go-ahead and convert bugzilla pages into HTML pages - a
> >> simple script would work.
> >>
> >> So are we going to host everything else on wiki? What about docs?
> >
> > The docs can be placed on github pages too, but would be nice to have
> > github repositories automatically sync'ed with the ones on gerrit like on
> > gitorious.
> Well, I was thinking only about web part - not about Bugzilla in
> particular. As for documentation pages, where is the machine that does
> repository sync?
The bugzilla can be considered as documentation too, many unit tests are just
"bug_XXX.py", and when they fail due to a regression the natural way to
understand the issue is to go to bugzilla first to read the bug
comments/description.
> --
> anatoly t.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From vasure at gmail.com Thu May 10 02:13:29 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Wed, 9 May 2012 17:13:29 -0700
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To: <3190885.2NbcHgPhKV@hugodesktop>
References:
<2494556.N4Z90BUQpD@hugodesktop>
<3190885.2NbcHgPhKV@hugodesktop>
Message-ID:
Here is the archived bugzilla db
http://srinikom.github.com/pyside-bz-archive/
All the scripts and html pages are on master branch at:
https://github.com/srinikom/pyside-bz-archive
We could do something similar for the whole documentation and other static
pages.
Could you guys point me to the doc generating scripts/steps and I will try
to automate it.
thanks,
-Srini
On Wed, May 9, 2012 at 1:08 PM, Hugo Parente Lima
wrote:
> On Wednesday, May 09, 2012 09:24:22 PM anatoly techtonik wrote:
> > On Wed, May 9, 2012 at 9:17 PM, Hugo Parente Lima
> >
> > wrote:
> > > On Wednesday, May 09, 2012 11:11:56 AM Srini wrote:
> > >> Matti, I will go-ahead and convert bugzilla pages into HTML pages - a
> > >> simple script would work.
> > >>
> > >> So are we going to host everything else on wiki? What about docs?
> > >
> > > The docs can be placed on github pages too, but would be nice to have
> > > github repositories automatically sync'ed with the ones on gerrit like
> on
> > > gitorious.
> > Well, I was thinking only about web part - not about Bugzilla in
> > particular. As for documentation pages, where is the machine that does
> > repository sync?
>
> The bugzilla can be considered as documentation too, many unit tests are
> just
> "bug_XXX.py", and when they fail due to a regression the natural way to
> understand the issue is to go to bugzilla first to read the bug
> comments/description.
>
> > --
> > anatoly t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mairas at iki.fi Thu May 10 08:16:36 2012
From: mairas at iki.fi (Matti Airas)
Date: Thu, 10 May 2012 09:16:36 +0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2494556.N4Z90BUQpD@hugodesktop>
<3190885.2NbcHgPhKV@hugodesktop>
Message-ID:
Hi,
On 10 May 2012 03:13, Srini Kommoori wrote:
> Here is the archived bugzilla
> db http://srinikom.github.com/pyside-bz-archive/
> All the scripts and html pages are on master branch
> at: https://github.com/srinikom/pyside-bz-archive
I'm sorry if I was a bit terse in my previous email. While a static
mirror definitely is useful, I believe a full copy with complete
search capability would be much preferable still. That's why I was
proposing handing the database contents to anyone volunteering.
> We could do something similar for the whole documentation and other static
> pages.
The plan was to provide the documentation at
doc-snapshot.qt-project.org, and the binaries via
releases.qt-project.org. This integration provides PySide much more
status and visibility than a hobby project setup at github, and in my
opinion is much preferable.
Also, for the main site, it should be possible to have PySide more
prominently visible on the qt-project.org site itself, and therefore
the separate site wouldn't bring that much added benefit.
> Could you guys point me to the doc generating scripts/steps and I will try
> to automate it.
That would be very good - but for doc-snapshot.qt-project.org. :-)
ma.
From vasure at gmail.com Thu May 10 09:57:02 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Thu, 10 May 2012 00:57:02 -0700
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2494556.N4Z90BUQpD@hugodesktop>
<3190885.2NbcHgPhKV@hugodesktop>
Message-ID:
>mirror definitely is useful, I believe a full copy with complete
>search capability would be much preferable still.
We could add google custom search box and remove all the dead links from
static pages to make sure whoever is looking at the archive doesn't get
confused and also get the search feature.
> proposing handing the database contents to anyone volunteering.
That is the problem. If we find someone to host archive bugzilla, then we
wouldn't have this discussion.
Calling github for hobby projects is little weird. For reference:
https://github.com/torvalds/linux / redis/mongo/django
Could you please let us know what is the final plan for everything? Do you
think VM with wordpress is the best option? I could sponsor that but for
long term, keeping everything simple and automated is the best option for
the project to be successful.
thanks,
-Srini
On Wed, May 9, 2012 at 11:16 PM, Matti Airas wrote:
> Hi,
>
> On 10 May 2012 03:13, Srini Kommoori wrote:
> > Here is the archived bugzilla
> > db http://srinikom.github.com/pyside-bz-archive/
> > All the scripts and html pages are on master branch
> > at: https://github.com/srinikom/pyside-bz-archive
>
> I'm sorry if I was a bit terse in my previous email. While a static
> mirror definitely is useful, I believe a full copy with complete
> search capability would be much preferable still. That's why I was
> proposing handing the database contents to anyone volunteering.
>
> > We could do something similar for the whole documentation and other
> static
> > pages.
>
> The plan was to provide the documentation at
> doc-snapshot.qt-project.org, and the binaries via
> releases.qt-project.org. This integration provides PySide much more
> status and visibility than a hobby project setup at github, and in my
> opinion is much preferable.
>
> Also, for the main site, it should be possible to have PySide more
> prominently visible on the qt-project.org site itself, and therefore
> the separate site wouldn't bring that much added benefit.
>
> > Could you guys point me to the doc generating scripts/steps and I will
> try
> > to automate it.
>
> That would be very good - but for doc-snapshot.qt-project.org. :-)
>
> ma.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mairas at iki.fi Thu May 10 11:18:53 2012
From: mairas at iki.fi (Matti Airas)
Date: Thu, 10 May 2012 12:18:53 +0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2494556.N4Z90BUQpD@hugodesktop>
<3190885.2NbcHgPhKV@hugodesktop>
Message-ID:
On 10 May 2012 10:57, Srini Kommoori wrote:
>> proposing handing the database contents to anyone volunteering.
>
> That is the problem. If we find someone to host archive bugzilla, then we
> wouldn't have this discussion.
That's why I asked for that in the first place. :-)
> Calling github for hobby projects is little weird. For
> reference: https://github.com/torvalds/linux / redis/mongo/django
Sorry - maybe I've just grown sensitive to the mentions of Github in
this context. :-) But more generally, now that PySide is a Qt add-on
and part of the larger Qt Project, I don't think it's a good idea to
always have the first reaction of moving things *away* from Qt. It'd
be a bit like working for an Apache project and always trying to move
the facilities to, say, Ubuntu's Launchpad.
I know I myself presented the idea of having a separate VM, but at
that point I hadn't realized that PySide could have such an integral
presence on qt-project.org.
> Could you please let us know what is the final plan for everything? Do you
> think VM with wordpress is the best option? I could sponsor that but for
> long term, keeping everything simple and automated is the best option for
> the project to be successful.
Don't know about any final plans, but the current idea is to host the
high-traffic static content (documentation and binaries) directly at
the Qt Project, side-by-side with the other Qt Project resources. The
little content on the WordPress website (basically, the Support and
About pages) would need to be moved to the Wiki. The wiki homepage
would need to be slightly revised accordingly to more easily provide
an overview of the project. Then, PySide would also be presented
somehow on the main Qt Project navigation hierarchy.
The current news blog on PySide.org would need to be exported to some
open blog provider such as blogger.com, but there we could try to use
the opportunity to open the blog and use it as a more active conduit
for all kinds of things related to PySide.
I hope this clarifies the things a bit.
Cheers,
ma.
From vasure at gmail.com Thu May 10 12:40:52 2012
From: vasure at gmail.com (Srini Kommoori)
Date: Thu, 10 May 2012 03:40:52 -0700
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
<2494556.N4Z90BUQpD@hugodesktop>
<3190885.2NbcHgPhKV@hugodesktop>
Message-ID:
I will take the ownership in creating the blogger site. I will go-ahead and
retain the current pyside.org style as much as possible. Will that work?
As no one is volunteering, what are the plans for bugzilla archive?
For the main site(docs and static content) is it going to be just the DNS
remap? Are we going to maintain the pyside.org style or qt-project.org?
thanks,
-Srini
On Thu, May 10, 2012 at 2:18 AM, Matti Airas wrote:
> On 10 May 2012 10:57, Srini Kommoori wrote:
>
> >> proposing handing the database contents to anyone volunteering.
> >
> > That is the problem. If we find someone to host archive bugzilla, then we
> > wouldn't have this discussion.
>
> That's why I asked for that in the first place. :-)
>
> > Calling github for hobby projects is little weird. For
> > reference: https://github.com/torvalds/linux / redis/mongo/django
>
> Sorry - maybe I've just grown sensitive to the mentions of Github in
> this context. :-) But more generally, now that PySide is a Qt add-on
> and part of the larger Qt Project, I don't think it's a good idea to
> always have the first reaction of moving things *away* from Qt. It'd
> be a bit like working for an Apache project and always trying to move
> the facilities to, say, Ubuntu's Launchpad.
>
> I know I myself presented the idea of having a separate VM, but at
> that point I hadn't realized that PySide could have such an integral
> presence on qt-project.org.
>
> > Could you please let us know what is the final plan for everything? Do
> you
> > think VM with wordpress is the best option? I could sponsor that but for
> > long term, keeping everything simple and automated is the best option for
> > the project to be successful.
>
> Don't know about any final plans, but the current idea is to host the
> high-traffic static content (documentation and binaries) directly at
> the Qt Project, side-by-side with the other Qt Project resources. The
> little content on the WordPress website (basically, the Support and
> About pages) would need to be moved to the Wiki. The wiki homepage
> would need to be slightly revised accordingly to more easily provide
> an overview of the project. Then, PySide would also be presented
> somehow on the main Qt Project navigation hierarchy.
>
> The current news blog on PySide.org would need to be exported to some
> open blog provider such as blogger.com, but there we could try to use
> the opportunity to open the blog and use it as a more active conduit
> for all kinds of things related to PySide.
>
> I hope this clarifies the things a bit.
>
> Cheers,
>
> ma.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Thu May 10 14:15:21 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Fri, 11 May 2012 00:15:21 +1200
Subject: [PySide] animated fade
In-Reply-To: <4F8C086C.9060506@ohufx.com>
References: <4F8C086C.9060506@ohufx.com>
Message-ID: <4FABB159.5010204@ohufx.com>
Hi,
I'm just trying to re-jig this example code to create an animated
StackedWidget:
http://pastebin.com/eTDpxiKM
Currently the above creates two classes, one "FaderWidget" class and one
"StackedWidget" class. The two work together to cross dissolve between
whatever widgets are passed into the FaderWidget's constructor.
I am trying to re-write this to not have to pass the child widgets into
the FaderWidget's constructor, but to use methods like "addWidget" to
allow me to pass the children to an instance of the FaderWidget.
In other words, I'm trying to subclass QStackedWidget and give it the
cross dissolve animation when setCurrentIndex is called on it, therefore
simplifying the way the widget works and not having to deal with two
classes.
Here is my attempt so far, but the problem is that the paintEvent is
called to soon, i.e. before the child widgets are available to draw a
pixmap of them.
http://pastebin.com/LQaCSWDU
Does anybody have an idea or comments on how to do this best? Maybe I
should aim for a layout that does this instead (subclassing QStackedLayout)?
Any help would be greatly appreciated.
Cheers,
frank
On 4/16/12 11:54 PM, Frank Rueter | OHUfx wrote:
> Hi guys,
>
> I'm currently looking at an example that cross fades two widgets when
> the respective button is pushed.
>
> I have made a slight change to the sample code so that there is a button
> on each page that is meant to start the cross fade animation back to the
> other page (and therefore fade out itself). Looking at the terminal
> output, I can see the animation running and printing the incremental
> value changes, but the pages don't visibly animate when using the new
> buttons.
>
> http://pastebin.com/eTDpxiKM
>
> When I use the old buttons at the bottom of the widget (the ones that
> aren't part of the animated widgets), it all works as expected. Both
> sets of buttons are hooked up to the same slot.
>
> What am I doing wrong?
>
> Cheers,
> frank
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From blair at orcaware.com Fri May 11 03:06:17 2012
From: blair at orcaware.com (Blair Zajac)
Date: Thu, 10 May 2012 18:06:17 -0700
Subject: [PySide] Binding unbound signals (need __get__)
Message-ID: <4FAC6609.1000509@orcaware.com>
We have some Python decorators that takes signals and we'd like to be
able to convert a unbound signal into a bound signal. I don't see a way
to do this in PySide, as in PyQt4 __get__ works to bind an unbound
signal. From my reading, normal python usage lets you bind any method
using __get__:
class Bar(object):
def method(self):
pass
bar = Bar()
unbound_method = Bar.method
bound_method = Bar.method.__get__(bar)
Without __get__, the following doesn't work. Is there a way to do this
in PySide?
Thanks,
Blair
from PyQt4 import QtCore
QtCore.Signal = QtCore.pyqtSignal
QtCore.Slot = QtCore.pyqtSlot
def emit_upon_success(signal):
def f_(f):
def f__(self):
result = f(self)
s = signal.__get__(self)
s.emit()
return result
return f__
return f_
class Foo(QtCore.QObject):
SIG = QtCore.Signal()
@emit_upon_success(SIG)
def do_something(self):
pass
foo = Foo()
foo.do_something()
From gds at mrxtech.com.au Mon May 14 03:46:21 2012
From: gds at mrxtech.com.au (Gerald Storer)
Date: Mon, 14 May 2012 09:46:21 +0800
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To:
References:
Message-ID: <4FB063ED.6030907@mrxtech.com.au>
Not that I have the time to do it, but is there any reason this isn't
being considered?
http://confluence.atlassian.com/display/JIRA044/Importing+Data+from+Bugzilla
There is already a JIRA instance for Pyside and importing over the top
of it could be difficult. Maybe it would be sensible to create a second
"Pyside-archive" instance. At least all the bug reports will be in the
same place then.
Getting from Bugzilla 4.0 to JIRA 4.4 might be a bit tricky but I think
there is a version of the importer that will do it:
https://plugins.atlassian.com/plugins/com.atlassian.jira.plugins.jira-importers-plugin/version/36
Gerald
On 9/05/2012 11:41 PM, Matti Airas wrote:
> Hi list,
>
> I've still been trying to arrange the move of the PySide website to Qt
> Project. It might be that the only thing we get is a redirect from
> www.pyside.org is to the Wiki main page (which would need to be
> adjusted accordingly). I'm a bit tired of haggling that, however, so I
> hope that's all right.
>
> Related to the website migration: the old Bugzilla is hosted at the
> virtual machine that's going to go away in 6 weeks or so. IMHO, the
> old bug reports have a great historic value and should optimally be
> preserved? Would someone be willing to host that? I'd be happy to
> provide a tarball of the Bugzilla directory + a dump of the MySQL
> database (scrubbed clean of usernames and passwords) if someone would
> be willing to host them.
>
> Cheers,
>
> ma.
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
--
Gerald Storer | MRX Technologies +61 8 9227 4529 | gds at mrxtech.com.au |
http://www.mrxtech.com.au
From frank at ohufx.com Tue May 15 10:35:20 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Tue, 15 May 2012 20:35:20 +1200
Subject: [PySide] QPushButton with text under icon
Message-ID: <4FB21548.8000409@ohufx.com>
Hi all,
I thought this onw was going to be simple but I guess I was wrong:
All Im' trying to do is draw the text of a QPushButton underneath it's
icon. Is this possible? I can't find the answer and ended up using
QToolButton instead, but that doesn't render the button as "pushed" when
it's - well - pushed.
This is what I'm after (not sure if the image will come through on the
list):
Any pointers would be great!
Thanks,
frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 15379 bytes
Desc: not available
URL:
From techtonik at gmail.com Tue May 15 15:29:00 2012
From: techtonik at gmail.com (anatoly techtonik)
Date: Tue, 15 May 2012 16:29:00 +0300
Subject: [PySide] Top priority issue half fixed in 1.1.1
Message-ID:
Hi.
With the release of PySide 1.1.1 the major segfault with cursors was
fixed. However, the issue it still actual as setOverrideCursor()
prints a lot of warnings on Linux (Fedora 16, Gnome 3).
https://bugreports.qt-project.org/browse/PYSIDE-22
X Error: BadCursor (invalid Cursor parameter) 6
Major opcode: 2 (X_ChangeWindowAttributes)
Resource id: 0x3
A test case is available in bug report. Would be nice if somebody
knowledgeable can take a look and explain what happens. I am afraid
there is no explanation from the Python world and it's very annoying.
--
anatoly t.
From mairas at iki.fi Tue May 15 19:49:25 2012
From: mairas at iki.fi (Matti Airas)
Date: Tue, 15 May 2012 20:49:25 +0300
Subject: [PySide] PySide website, old Bugzilla
In-Reply-To: <4FB063ED.6030907@mrxtech.com.au>
References:
<4FB063ED.6030907@mrxtech.com.au>
Message-ID:
On 14 May 2012 04:46, Gerald Storer wrote:
> Not that I have the time to do it, but is there any reason this isn't
> being considered?
> http://confluence.atlassian.com/display/JIRA044/Importing+Data+from+Bugzilla
Hi,
It actually was considered, but probably not early enough. When I
requested for the JIRA components to be created, it didn't occur to me
that the bugs should be imported. Anatoly Techtonik later proposed the
import to be done and made a request to the Qt admins, but I guess the
request has been buried under more pressing issues (from their POV,
that is).
I'd guess in the short term it's going to be easier to just mirror the
current Bugzilla instance somewhere...
Cheers,
ma.
From frank at ohufx.com Tue May 15 23:11:17 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Wed, 16 May 2012 09:11:17 +1200
Subject: [PySide] pyside user list
Message-ID: <4FB2C675.8010401@ohufx.com>
Hi everyone,
comparing what you guys have been posting here to my user questions over
the last few weeks makes me believe that I have probably joined the
wrong group to get support whilst learning and using PySide.
Can anybody recommend a pyside user group where I could get help with my
problems without boring you guys to death ;) ?
I was looking at the google group but that only seems to be a mirror of
this list here.
Thanking you in advance.
Cheers,
frank
From a.richi at bluewin.ch Wed May 16 07:29:37 2012
From: a.richi at bluewin.ch (Aaron Richiger)
Date: Wed, 16 May 2012 07:29:37 +0200
Subject: [PySide] pyside user list
In-Reply-To: <4FB2C675.8010401@ohufx.com>
References: <4FB2C675.8010401@ohufx.com>
Message-ID: <4FB33B41.9030604@bluewin.ch>
Hello Frank, dear list...
I think, you are currently at the right place, afaik, there is no other
list. It's no problem to post user questions here, I think it's
important for a project like PySide to have a good list where Qt/PySide
beginners may ask some questions.
I also thought sometimes about splitting up the list in two parts, the
user side and the Shiboken-CoreDev-etc. part, but today, it's still all
the same.
As soon as I'm a little bit less stressed, I will try to answer
questions again, but at the moment, there are other things to do
unfortunately;-)
Have a nice day!
Aaron
From frank at ohufx.com Wed May 16 07:56:31 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Wed, 16 May 2012 17:56:31 +1200
Subject: [PySide] pyside user list
In-Reply-To: <4FB33B41.9030604@bluewin.ch>
References: <4FB2C675.8010401@ohufx.com> <4FB33B41.9030604@bluewin.ch>
Message-ID: <4FB3418F.6060500@ohufx.com>
Hi Aaron,
thanks for confirming that I'm in the right spot.
I totally appreciate people not having time for constantly solving other
people's problems. I was just beginning to wonder after many of my posts
went completely unanswered.
I certainly don't intend to annoy people with my beginners questions but
sometimes it's hard to find the right info in which case a user list is
heaven sent.
Anyway, I appreciate all the help I have received here already, just
wanted to make sure that I'm not barking up the wrong tree.
Cheers,
frank
On 16/05/12 5:29 PM, Aaron Richiger wrote:
> Hello Frank, dear list...
>
> I think, you are currently at the right place, afaik, there is no other
> list. It's no problem to post user questions here, I think it's
> important for a project like PySide to have a good list where Qt/PySide
> beginners may ask some questions.
> I also thought sometimes about splitting up the list in two parts, the
> user side and the Shiboken-CoreDev-etc. part, but today, it's still all
> the same.
> As soon as I'm a little bit less stressed, I will try to answer
> questions again, but at the moment, there are other things to do
> unfortunately;-)
>
> Have a nice day!
> Aaron
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From antwebid at gmail.com Wed May 16 08:28:30 2012
From: antwebid at gmail.com (Laurence Anthony)
Date: Wed, 16 May 2012 15:28:30 +0900
Subject: [PySide] pyside user list
In-Reply-To: <4FB3418F.6060500@ohufx.com>
References: <4FB2C675.8010401@ohufx.com> <4FB33B41.9030604@bluewin.ch>
<4FB3418F.6060500@ohufx.com>
Message-ID:
I'm also happy to hear that user questions can be asked here. I'm one of
those ghost members who just reads what's happening with interest. But, I
plan to ask (and answer) questions when possible.
Laurence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From nathanjsmith at gmail.com Wed May 16 15:05:26 2012
From: nathanjsmith at gmail.com (Nathan Smith)
Date: Wed, 16 May 2012 08:05:26 -0500
Subject: [PySide] pyside user list
In-Reply-To: <4FB3418F.6060500@ohufx.com>
References: <4FB2C675.8010401@ohufx.com> <4FB33B41.9030604@bluewin.ch>
<4FB3418F.6060500@ohufx.com>
Message-ID:
Another place to try is stackoverflow.com. There is a pyside tag that you
can put onto your questions. The nice thing about the similarity between
PySide and PyQt is that even if nobody knows the answer to PySide directly,
the PyQt answer just might work. Stackoverflow is most appropriate for
bite sized concrete problems.
Nathan
On Wed, May 16, 2012 at 12:56 AM, Frank Rueter | OHUfx wrote:
> Hi Aaron,
>
> thanks for confirming that I'm in the right spot.
> I totally appreciate people not having time for constantly solving other
> people's problems. I was just beginning to wonder after many of my posts
> went completely unanswered.
> I certainly don't intend to annoy people with my beginners questions but
> sometimes it's hard to find the right info in which case a user list is
> heaven sent.
>
> Anyway, I appreciate all the help I have received here already, just
> wanted to make sure that I'm not barking up the wrong tree.
>
> Cheers,
> frank
>
>
> On 16/05/12 5:29 PM, Aaron Richiger wrote:
> > Hello Frank, dear list...
> >
> > I think, you are currently at the right place, afaik, there is no other
> > list. It's no problem to post user questions here, I think it's
> > important for a project like PySide to have a good list where Qt/PySide
> > beginners may ask some questions.
> > I also thought sometimes about splitting up the list in two parts, the
> > user side and the Shiboken-CoreDev-etc. part, but today, it's still all
> > the same.
> > As soon as I'm a little bit less stressed, I will try to answer
> > questions again, but at the moment, there are other things to do
> > unfortunately;-)
> >
> > Have a nice day!
> > Aaron
> > _______________________________________________
> > PySide mailing list
> > PySide at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/pyside
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From antwebid at gmail.com Wed May 16 15:37:09 2012
From: antwebid at gmail.com (Laurence Anthony)
Date: Wed, 16 May 2012 22:37:09 +0900
Subject: [PySide] pyside user list
In-Reply-To:
References: <4FB2C675.8010401@ohufx.com> <4FB33B41.9030604@bluewin.ch>
<4FB3418F.6060500@ohufx.com>
Message-ID:
Yes, stackoverflow is my main site for computer related issues. There are a
lot of pyside questions and answers there already.
Laurence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From frank at ohufx.com Wed May 16 23:45:01 2012
From: frank at ohufx.com (Frank Rueter | OHUfx)
Date: Thu, 17 May 2012 09:45:01 +1200
Subject: [PySide] pyside user list
In-Reply-To:
References: <4FB2C675.8010401@ohufx.com> <4FB33B41.9030604@bluewin.ch>
<4FB3418F.6060500@ohufx.com>
Message-ID: <4FB41FDD.5000108@ohufx.com>
cool, thanks. I have actually found heaps of info on Stackoverflow
already, just be reading up on other people's question, so yes, will
join there.
Cheers,
frank
On 5/17/12 1:05 AM, Nathan Smith wrote:
> Another place to try is stackoverflow.com .
> There is a pyside tag that you can put onto your questions. The nice
> thing about the similarity between PySide and PyQt is that even if
> nobody knows the answer to PySide directly, the PyQt answer just might
> work. Stackoverflow is most appropriate for bite sized concrete
> problems.
>
> Nathan
>
> On Wed, May 16, 2012 at 12:56 AM, Frank Rueter | OHUfx
> > wrote:
>
> Hi Aaron,
>
> thanks for confirming that I'm in the right spot.
> I totally appreciate people not having time for constantly solving
> other
> people's problems. I was just beginning to wonder after many of my
> posts
> went completely unanswered.
> I certainly don't intend to annoy people with my beginners
> questions but
> sometimes it's hard to find the right info in which case a user
> list is
> heaven sent.
>
> Anyway, I appreciate all the help I have received here already, just
> wanted to make sure that I'm not barking up the wrong tree.
>
> Cheers,
> frank
>
>
> On 16/05/12 5:29 PM, Aaron Richiger wrote:
> > Hello Frank, dear list...
> >
> > I think, you are currently at the right place, afaik, there is
> no other
> > list. It's no problem to post user questions here, I think it's
> > important for a project like PySide to have a good list where
> Qt/PySide
> > beginners may ask some questions.
> > I also thought sometimes about splitting up the list in two
> parts, the
> > user side and the Shiboken-CoreDev-etc. part, but today, it's
> still all
> > the same.
> > As soon as I'm a little bit less stressed, I will try to answer
> > questions again, but at the moment, there are other things to do
> > unfortunately;-)
> >
> > Have a nice day!
> > Aaron
> > _______________________________________________
> > PySide mailing list
> > PySide at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/pyside
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From p.indrakumar at gmail.com Thu May 17 09:18:35 2012
From: p.indrakumar at gmail.com (Indra kumar)
Date: Thu, 17 May 2012 00:18:35 -0700 (PDT)
Subject: [PySide] How to use animated SVG files using SvgRenderer
Message-ID: <75610.219.1337239115919.JavaMail.geo-discussion-forums@pbboq8>
Hi,
I am trying to load svg file using SvgRenderer class. I am able to load the
svg file properly.
But how do we use those animated effects in the window.
for ex:-
I have one animated rect in svg file as shown below.
So can anyone please send me one example how to use that animated effect
using this class.
Thanks,
Indra
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From backup.rlacko at gmail.com Fri May 18 23:47:48 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Fri, 18 May 2012 23:47:48 +0200
Subject: [PySide] PySide 1.1.1 Windows builds
Message-ID:
Hi,
I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
32bit and 64bit.
Builds will be available on my google Drive [1], until the PySide site
is not moved to new place.
For that reason, installing with easy_install is not available, You
ned to download the package and install manually.
You can allways let me know if you have better idea where to put the builds.
Whats new in packages:
- OpenSSL DLLs included and installed out-of-the-box (now you can use
webkit with ssl)
- typesystems,
- PySide and Shibken c++ headers
- complete examples (from pyside gitorious repo)
Whats new in build scripts [2]:
- build now creates nice folder structure for every configuration. For
example after completed building with python 2.7 32bit release and
debug, you get:
..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
..\setuptools\build\py2.7-qt4.7.4-32bit-release\
..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
..\setuptools\install\py2.7-qt4.7.4-32bit-release\
..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
- debug build support
- refactoring and preparation for building on linux (not completed)
[1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
[2] https://github.com/PySide/packaging/tree/master/setuptools
From paul at fxtech.com Sun May 20 22:56:22 2012
From: paul at fxtech.com (Paul Miller)
Date: Sun, 20 May 2012 15:56:22 -0500
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To:
References:
Message-ID: <4FB95A76.7070604@fxtech.com>
> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> 32bit and 64bit.
Roman - I've still never been able to get the PySide build process
working on my Windows machine.
What would it take to adjust your toolchain to spit out a version for an
older version of Qt? (say, 4.5.3)
From jch at jch.com Mon May 21 06:23:52 2012
From: jch at jch.com (YON - Jan C. Hardenbergh)
Date: Mon, 21 May 2012 00:23:52 -0400
Subject: [PySide] Test message - seems like this moved to google groups
Message-ID: <84B9FD13-F6ED-45E4-81D1-6DF251C7C3AE@jch.com>
YON - Jan C. Hardenbergh <> www.jch.com <> Pixelsmith
Jeff Lehman's five virtues: a love for complexity, a patient spirit,
a will to communicate, a sense of humor, and an optimistic heart.
From backup.rlacko at gmail.com Mon May 21 08:34:05 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Mon, 21 May 2012 08:34:05 +0200
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To: <4FB95A76.7070604@fxtech.com>
References:
<4FB95A76.7070604@fxtech.com>
Message-ID:
Hi,
2012/5/20 Paul Miller :
>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>> 32bit and 64bit.
>
> Roman - I've still never been able to get the PySide build process
> working on my Windows machine.
>
> What would it take to adjust your toolchain to spit out a version for an
> older version of Qt? (say, 4.5.3)
what version of python You need to compile with ?
I will try to build PySide with Qt 4.5.3 and try to fix the build errors
Regards
Roman
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From hugo.lima at openbossa.org Mon May 21 14:48:37 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Mon, 21 May 2012 09:48:37 -0300
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To:
References:
<4FB95A76.7070604@fxtech.com>
Message-ID: <1503876.FVIhVCQ2aJ@hugodesktop>
On Monday, May 21, 2012 08:34:05 AM Roman Lacko wrote:
> Hi,
>
> 2012/5/20 Paul Miller :
> >> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> >> 32bit and 64bit.
> >
> > Roman - I've still never been able to get the PySide build process
> > working on my Windows machine.
> >
> > What would it take to adjust your toolchain to spit out a version for an
> > older version of Qt? (say, 4.5.3)
>
> what version of python You need to compile with ?
> I will try to build PySide with Qt 4.5.3 and try to fix the build errors
Better try with a newer version like 4.7 or 4.8, btw some compiler fixes for
MSVC were landed last month.
> Regards
> Roman
>
> > _______________________________________________
> > PySide mailing list
> > PySide at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/pyside
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From hugo.lima at openbossa.org Mon May 21 15:06:40 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Mon, 21 May 2012 10:06:40 -0300
Subject: [PySide] PySide 1.1.1 Windows builds
In-Reply-To:
References:
Message-ID: <2960254.yKBiThiJ43@hugodesktop>
On Friday, May 18, 2012 11:47:48 PM Roman Lacko wrote:
> Hi,
>
> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> 32bit and 64bit.
> Builds will be available on my google Drive [1], until the PySide site
> is not moved to new place.
> For that reason, installing with easy_install is not available, You
> ned to download the package and install manually.
> You can allways let me know if you have better idea where to put the builds.
>
> Whats new in packages:
>
> - OpenSSL DLLs included and installed out-of-the-box (now you can use
> webkit with ssl)
> - typesystems,
> - PySide and Shibken c++ headers
> - complete examples (from pyside gitorious repo)
>
> Whats new in build scripts [2]:
>
> - build now creates nice folder structure for every configuration. For
> example after completed building with python 2.7 32bit release and
> debug, you get:
> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
> - debug build support
> - refactoring and preparation for building on linux (not completed)
Great job Roman!!
>
> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
> [2] https://github.com/PySide/packaging/tree/master/setuptools
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From ltanure at gmail.com Mon May 21 15:22:16 2012
From: ltanure at gmail.com (Lucas Tanure)
Date: Mon, 21 May 2012 10:22:16 -0300
Subject: [PySide] PySide 1.1.1 for Arch Linux.
Message-ID:
Hi,
I'm a user of Arch Linux and pyside. So, I would like to create the
python2-pyside for Aur .
Because pyside package has
been flagged out of date.
May I?
Thanks
Lucas A. Tanure Alves
Skype : lucas.tanure
+55 (19) 88176559
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From hugo.lima at openbossa.org Mon May 21 15:28:44 2012
From: hugo.lima at openbossa.org (Hugo Parente Lima)
Date: Mon, 21 May 2012 10:28:44 -0300
Subject: [PySide] PySide 1.1.1 for Arch Linux.
In-Reply-To:
References:
Message-ID: <1431545.FXt3O9lvXF@hugodesktop>
On Monday, May 21, 2012 10:22:16 AM Lucas Tanure wrote:
> Hi,
>
> I'm a user of Arch Linux and pyside. So, I would like to create the
> python2-pyside for Aur .
> Because pyside package has
> been flagged out of date.
> May I?
Yes you can, but better to first ask the original package author about this to
avoid duplication of work.
> Thanks
>
> Lucas A. Tanure Alves
> Skype : lucas.tanure
> +55 (19) 88176559
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL:
From paulo.alcantara at openbossa.org Mon May 21 15:46:40 2012
From: paulo.alcantara at openbossa.org (paulo alcantara)
Date: Mon, 21 May 2012 10:46:40 -0300
Subject: [PySide] PySide 1.1.1 Windows builds
In-Reply-To:
References:
Message-ID:
Hi Roman,
On Fri, May 18, 2012 at 6:47 PM, Roman Lacko wrote:
> Hi,
>
> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> 32bit and 64bit.
> Builds will be available on my google Drive [1], until the PySide site
> is not moved to new place.
> For that reason, installing with easy_install is not available, You
> ned to download the package and install manually.
> You can allways let me know if you have better idea where to put the builds.
>
> Whats new in packages:
>
> - OpenSSL DLLs included and installed out-of-the-box (now you can use
> webkit with ssl)
> - typesystems,
> - PySide and Shibken c++ headers
> - complete examples (from pyside gitorious repo)
>
> Whats new in build scripts [2]:
>
> - build now creates nice folder structure for every configuration. For
> example after completed building with python 2.7 32bit release and
> debug, you get:
> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
> - debug build support
> - refactoring and preparation for building on linux (not completed)
>
>
> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
> [2] https://github.com/PySide/packaging/tree/master/setuptools
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
Great Work!
Thanks,
-Paulo
From paul at fxtech.com Mon May 21 17:36:29 2012
From: paul at fxtech.com (Paul Miller)
Date: Mon, 21 May 2012 10:36:29 -0500
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To:
References:
<4FB95A76.7070604@fxtech.com>
Message-ID: <4FBA60FD.1070508@fxtech.com>
On 5/21/2012 1:34 AM, Roman Lacko wrote:
> 2012/5/20 Paul Miller:
>>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>>> 32bit and 64bit.
>>
>> Roman - I've still never been able to get the PySide build process
>> working on my Windows machine.
>>
>> What would it take to adjust your toolchain to spit out a version for an
>> older version of Qt? (say, 4.5.3)
>
> what version of python You need to compile with ?
> I will try to build PySide with Qt 4.5.3 and try to fix the build errors
I'm still using 4.5.3 on Windows because we know it works with our
application.
I tried moving up to 4.8.1 and we started experiencing random crashes on
one user's machine (unfortunately, not my dev machine). It's a complex
application, and almost every version of Qt that we've moved up to has
broken something in some subtle way. For this reason, we tend to stick
with a version we know works.
If you can easily build for different versions (x64), or help me figure
it out, I'd be grateful.
From backup.rlacko at gmail.com Tue May 22 08:54:53 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Tue, 22 May 2012 08:54:53 +0200
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To: <4FBA60FD.1070508@fxtech.com>
References:
<4FB95A76.7070604@fxtech.com>
<4FBA60FD.1070508@fxtech.com>
Message-ID:
Hi Paul,
2012/5/21 Paul Miller :
> On 5/21/2012 1:34 AM, Roman Lacko wrote:
>>
>> 2012/5/20 Paul Miller:
>>>>
>>>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>>>> 32bit and 64bit.
>>>
>>>
>>> Roman - I've still never been able to get the PySide build process
>>> working on my Windows machine.
>>>
>>> What would it take to adjust your toolchain to spit out a version for an
>>> older version of Qt? (say, 4.5.3)
>>
>>
>> what version of python You need to compile with ?
>> I will try to build PySide with Qt 4.5.3 and try to fix the build errors
>
>
> I'm still using 4.5.3 on Windows because we know it works with our
> application.
>
> I tried moving up to 4.8.1 and we started experiencing random crashes on one
> user's machine (unfortunately, not my dev machine). It's a complex
> application, and almost every version of Qt that we've moved up to has
> broken something in some subtle way. For this reason, we tend to stick with
> a version we know works.
>
> If you can easily build for different versions (x64), or help me figure it
> out, I'd be grateful.
I'm getting compilation errors with Qt 4.5.3, but it's not bug in
build scripts. The build fails when building PySide module, Shiboken
compiles without errors.
At this time I'm trying to fix Qt 4.8.1 build...
Regards
Roman
From paul at fxtech.com Tue May 22 15:16:57 2012
From: paul at fxtech.com (Paul Miller)
Date: Tue, 22 May 2012 08:16:57 -0500
Subject: [PySide] PySide 1.1.1 Windows builds (Roman Lacko)
In-Reply-To:
References:
<4FB95A76.7070604@fxtech.com>
<4FBA60FD.1070508@fxtech.com>
Message-ID: <4FBB91C9.3040500@fxtech.com>
On 5/22/2012 1:54 AM, Roman Lacko wrote:
> Hi Paul,
>
> 2012/5/21 Paul Miller:
>> On 5/21/2012 1:34 AM, Roman Lacko wrote:
>>>
>>> 2012/5/20 Paul Miller:
>>>>>
>>>>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>>>>> 32bit and 64bit.
>>>>
>>>>
>>>> Roman - I've still never been able to get the PySide build process
>>>> working on my Windows machine.
>>>>
>>>> What would it take to adjust your toolchain to spit out a version for an
>>>> older version of Qt? (say, 4.5.3)
>>>
>>>
>>> what version of python You need to compile with ?
>>> I will try to build PySide with Qt 4.5.3 and try to fix the build errors
>>
>>
>> I'm still using 4.5.3 on Windows because we know it works with our
>> application.
>>
>> I tried moving up to 4.8.1 and we started experiencing random crashes on one
>> user's machine (unfortunately, not my dev machine). It's a complex
>> application, and almost every version of Qt that we've moved up to has
>> broken something in some subtle way. For this reason, we tend to stick with
>> a version we know works.
>>
>> If you can easily build for different versions (x64), or help me figure it
>> out, I'd be grateful.
>
> I'm getting compilation errors with Qt 4.5.3, but it's not bug in
> build scripts. The build fails when building PySide module, Shiboken
> compiles without errors.
> At this time I'm trying to fix Qt 4.8.1 build...
Roman - that's okay. I'm doing some tests now to see if we can safely
move up to Qt 4.7.3. Thanks for your efforts.
From stef.mientki at gmail.com Tue May 22 21:39:53 2012
From: stef.mientki at gmail.com (Stef Mientki)
Date: Tue, 22 May 2012 21:39:53 +0200
Subject: [PySide] PySide 1.1.1 Windows builds
In-Reply-To:
References:
Message-ID: <4FBBEB89.4080307@gmail.com>
hello,
any change there will be a (32 bits) windows version for python 2.6 ?
thanks,
Stef
On 18-05-2012 23:47, Roman Lacko wrote:
> Hi,
>
> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> 32bit and 64bit.
> Builds will be available on my google Drive [1], until the PySide site
> is not moved to new place.
> For that reason, installing with easy_install is not available, You
> ned to download the package and install manually.
> You can allways let me know if you have better idea where to put the builds.
>
> Whats new in packages:
>
> - OpenSSL DLLs included and installed out-of-the-box (now you can use
> webkit with ssl)
> - typesystems,
> - PySide and Shibken c++ headers
> - complete examples (from pyside gitorious repo)
>
> Whats new in build scripts [2]:
>
> - build now creates nice folder structure for every configuration. For
> example after completed building with python 2.7 32bit release and
> debug, you get:
> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
> - debug build support
> - refactoring and preparation for building on linux (not completed)
>
>
> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
> [2] https://github.com/PySide/packaging/tree/master/setuptools
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From backup.rlacko at gmail.com Tue May 22 23:13:13 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Tue, 22 May 2012 23:13:13 +0200
Subject: [PySide] PySide 1.1.1 Windows builds
In-Reply-To: <4FBBEB89.4080307@gmail.com>
References:
<4FBBEB89.4080307@gmail.com>
Message-ID:
Hi,
2012/5/22 Stef Mientki :
>
> hello,
> any change there will be a (32 bits) windows version for python 2.6 ?
> thanks,
> Stef
I will build them tomorrow, just for You :)
R.
>
> On 18-05-2012 23:47, Roman Lacko wrote:
>> Hi,
>>
>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>> 32bit and 64bit.
>> Builds will be available on my google Drive [1], until the PySide site
>> is not moved to new place.
>> For that reason, installing with easy_install is not available, You
>> ned to download the package and install manually.
>> You can allways let me know if you have better idea where to put the builds.
>>
>> Whats new in packages:
>>
>> - OpenSSL DLLs included and installed out-of-the-box (now you can use
>> webkit with ssl)
>> - typesystems,
>> - PySide and Shibken c++ headers
>> - complete examples (from pyside gitorious repo)
>>
>> Whats new in build scripts [2]:
>>
>> - build now creates nice folder structure for every configuration. For
>> example after completed building with python 2.7 32bit release and
>> debug, you get:
>> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
>> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
>> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
>> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
>> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
>> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
>> - debug build support
>> - refactoring and preparation for building on linux (not completed)
>>
>>
>> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>> [2] https://github.com/PySide/packaging/tree/master/setuptools
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
From paul at fxtech.com Tue May 22 23:14:48 2012
From: paul at fxtech.com (Paul Miller)
Date: Tue, 22 May 2012 16:14:48 -0500
Subject: [PySide] Accessing C++ QObject subclass from script?
Message-ID: <4FBC01C8.6020503@fxtech.com>
I got PySide 1.1 working in my hybrid app (thanks Roman for your help!)
using Qt 4.7.4 and Python 2.7. I can create new Qt widgets and use my
existing C++ QApplication and it seems to work fine.
Now I would like to expose some of my internal QObjects that have
already been created by the time the Python interpreter starts up.
For my existing data model interface to Python, I've hand-created some
Python bindings for my classes. What do I need to do to return a pointer
to one of my created QObjects back into PySide, so I can connect signals
to it?
*I can't use an auto-type-generator thingy like in the superhybrids
article*.
From backup.rlacko at gmail.com Wed May 23 09:34:12 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Wed, 23 May 2012 09:34:12 +0200
Subject: [PySide] Fwd: PySide 1.1.1 Windows builds
In-Reply-To:
References:
Message-ID:
Hi,
New package for Python 2.6 32bit uploaded to my Goggle Drive Share [1]
Regards
Roman
[1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
---------- Forwarded message ----------
From: Roman Lacko
Date: 2012/5/18
Subject: PySide 1.1.1 Windows builds
To: pyside at qt-project.org
Hi,
I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
32bit and 64bit.
Builds will be available on my google Drive [1], until the PySide site
is not moved to new place.
For that reason, installing with easy_install is not available, You
ned to download the package and install manually.
You can allways let me know if you have better idea where to put the builds.
Whats new in packages:
- OpenSSL DLLs included and installed out-of-the-box (now you can use
webkit with ssl)
- typesystems,
- PySide and Shibken c++ headers
- complete examples (from pyside gitorious repo)
Whats new in build scripts [2]:
- build now creates nice folder structure for every configuration. For
example after completed building with python 2.7 32bit release and
debug, you get:
..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
..\setuptools\build\py2.7-qt4.7.4-32bit-release\
..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
..\setuptools\install\py2.7-qt4.7.4-32bit-release\
..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
- debug build support
- refactoring and preparation for building on linux (not completed)
[1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
[2] https://github.com/PySide/packaging/tree/master/setuptools
From paul at fxtech.com Wed May 23 16:28:15 2012
From: paul at fxtech.com (Paul Miller)
Date: Wed, 23 May 2012 09:28:15 -0500
Subject: [PySide] Getting existing QMainWindow from hybrid app
Message-ID: <4FBCF3FF.80106@fxtech.com>
I am trying to add a dock widget to my application's QMainWindow, which
is being created in the C++ part of my hybrid application.
But there doesn't appear to be any way to get the
QApplication.activeWindow() as a QMainWindow - it always just comes back
as a QWidget, and therefore has no "addDockWidget" method.
Is there a way to "cast" the resulting top-level QWidget to a
QMainWindow so I can call it's methods, from the Python side?
(something similar to this was asked back in 2010, and considered a bug,
but there is no resolution:
)
If not, is there a tutorial for adding just enough glue to my C++ app so
I can expose my own QObject-derived objects to the Python side?
From techtonik at gmail.com Wed May 23 20:27:11 2012
From: techtonik at gmail.com (anatoly techtonik)
Date: Wed, 23 May 2012 21:27:11 +0300
Subject: [PySide] QComboBox + focusOutEvent == double focus??
Message-ID:
I am trying to make an editable ComboBox that saves its value when
focus is lost (for example, when user clicks a button on the same
page). I've defined focusOutEvent() for it, it seems to be called ok,
but focus marker never leaves the widget. It fact it duplicates. Any
hints what's going on that how to fix it?
from PySide.QtGui import *
from PySide.QtCore import Qt, QEvent
class MyComboBox(QComboBox):
def __init__(self):
QComboBox.__init__(self)
def event(self, event):
if event.type() == QEvent.KeyPress and event.key() == Qt.Key_Return:
self.addItem(self.currentText())
return QComboBox.event(self, event)
def focusOutEvent(self, event):
self.addItem(self.currentText())
return event
class Widget(QWidget):
def __init__(self, parent=None):
super(Widget, self).__init__(parent)
combo = MyComboBox()
combo.setEditable(True)
combo.addItems(['One', 'Two', 'Three'])
lineedit = QLineEdit()
layout = QVBoxLayout()
layout.addWidget(combo)
layout.addWidget(lineedit)
self.setLayout(layout)
app = QApplication([])
widget = Widget()
widget.show()
app.exec_()
--
anatoly t.
From stef.mientki at gmail.com Wed May 23 21:57:37 2012
From: stef.mientki at gmail.com (Stef Mientki)
Date: Wed, 23 May 2012 21:57:37 +0200
Subject: [PySide] Fwd: PySide 1.1.1 Windows builds
In-Reply-To:
References:
Message-ID: <4FBD4131.9090006@gmail.com>
what a great service,
THANKS VERY MUCH Laacko !!
cheers,
Stef
On 23-05-2012 09:34, Roman Lacko wrote:
> Hi,
> New package for Python 2.6 32bit uploaded to my Goggle Drive Share [1]
>
> Regards
> Roman
>
> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>
> ---------- Forwarded message ----------
> From: Roman Lacko
> Date: 2012/5/18
> Subject: PySide 1.1.1 Windows builds
> To: pyside at qt-project.org
>
>
> Hi,
>
> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
> 32bit and 64bit.
> Builds will be available on my google Drive [1], until the PySide site
> is not moved to new place.
> For that reason, installing with easy_install is not available, You
> ned to download the package and install manually.
> You can allways let me know if you have better idea where to put the builds.
>
> Whats new in packages:
>
> - OpenSSL DLLs included and installed out-of-the-box (now you can use
> webkit with ssl)
> - typesystems,
> - PySide and Shibken c++ headers
> - complete examples (from pyside gitorious repo)
>
> Whats new in build scripts [2]:
>
> - build now creates nice folder structure for every configuration. For
> example after completed building with python 2.7 32bit release and
> debug, you get:
> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
> - debug build support
> - refactoring and preparation for building on linux (not completed)
>
>
> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
> [2] https://github.com/PySide/packaging/tree/master/setuptools
From stef.mientki at gmail.com Wed May 23 22:00:23 2012
From: stef.mientki at gmail.com (Stef Mientki)
Date: Wed, 23 May 2012 22:00:23 +0200
Subject: [PySide] Fwd: PySide 1.1.1 Windows builds
In-Reply-To: <4FBD4131.9090006@gmail.com>
References:
<4FBD4131.9090006@gmail.com>
Message-ID: <4FBD41D7.1020105@gmail.com>
Sorry Roman,
in the excitement I used the wrong part of your name,
and even misspelled it ;-(
cheers,
Stef
On 23-05-2012 21:57, Stef Mientki wrote:
> what a great service,
> THANKS VERY MUCH Laacko !!
> cheers,
> Stef
>
> On 23-05-2012 09:34, Roman Lacko wrote:
>> Hi,
>> New package for Python 2.6 32bit uploaded to my Goggle Drive Share [1]
>>
>> Regards
>> Roman
>>
>> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>>
>> ---------- Forwarded message ----------
>> From: Roman Lacko
>> Date: 2012/5/18
>> Subject: PySide 1.1.1 Windows builds
>> To: pyside at qt-project.org
>>
>>
>> Hi,
>>
>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>> 32bit and 64bit.
>> Builds will be available on my google Drive [1], until the PySide site
>> is not moved to new place.
>> For that reason, installing with easy_install is not available, You
>> ned to download the package and install manually.
>> You can allways let me know if you have better idea where to put the builds.
>>
>> Whats new in packages:
>>
>> - OpenSSL DLLs included and installed out-of-the-box (now you can use
>> webkit with ssl)
>> - typesystems,
>> - PySide and Shibken c++ headers
>> - complete examples (from pyside gitorious repo)
>>
>> Whats new in build scripts [2]:
>>
>> - build now creates nice folder structure for every configuration. For
>> example after completed building with python 2.7 32bit release and
>> debug, you get:
>> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
>> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
>> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
>> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
>> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
>> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
>> - debug build support
>> - refactoring and preparation for building on linux (not completed)
>>
>>
>> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>> [2] https://github.com/PySide/packaging/tree/master/setuptools
>
From backup.rlacko at gmail.com Wed May 23 22:01:44 2012
From: backup.rlacko at gmail.com (Roman Lacko)
Date: Wed, 23 May 2012 22:01:44 +0200
Subject: [PySide] Fwd: PySide 1.1.1 Windows builds
In-Reply-To: <4FBD41D7.1020105@gmail.com>
References:
<4FBD4131.9090006@gmail.com> <4FBD41D7.1020105@gmail.com>
Message-ID:
ok, It was funny :)
2012/5/23 Stef Mientki :
> Sorry Roman,
> in the excitement I used the wrong part of your name,
> and even misspelled it ;-(
> cheers,
> Stef
>
> On 23-05-2012 21:57, Stef Mientki wrote:
>>
>> what a great service,
>> THANKS VERY MUCH Laacko !!
>> cheers,
>> Stef
>>
>> On 23-05-2012 09:34, Roman Lacko wrote:
>>>
>>> Hi,
>>> New package for Python 2.6 32bit uploaded to my Goggle Drive Share [1]
>>>
>>> Regards
>>> Roman
>>>
>>> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>>>
>>> ---------- Forwarded message ----------
>>> From: Roman Lacko
>>> Date: 2012/5/18
>>> Subject: PySide 1.1.1 Windows builds
>>> To: pyside at qt-project.org
>>>
>>>
>>> Hi,
>>>
>>> I have prepared windows builds of PySide 1.1.1 for Pyhon 2.7 and 3.2,
>>> 32bit and 64bit.
>>> Builds will be available on my google Drive [1], until the PySide site
>>> is not moved to new place.
>>> For that reason, installing with easy_install is not available, You
>>> ned to download the package and install manually.
>>> You can allways let me know if you have better idea where to put the
>>> builds.
>>>
>>> Whats new in packages:
>>>
>>> - OpenSSL DLLs included and installed out-of-the-box (now you can use
>>> webkit with ssl)
>>> - typesystems,
>>> - PySide and Shibken c++ headers
>>> - complete examples (from pyside gitorious repo)
>>>
>>> Whats new in build scripts [2]:
>>>
>>> - build now creates nice folder structure for every configuration. For
>>> example after completed building with python 2.7 32bit release and
>>> debug, you get:
>>> ..\setuptools\build\py2.7-qt4.7.4-32bit-debug\
>>> ..\setuptools\build\py2.7-qt4.7.4-32bit-release\
>>> ..\setuptools\install\py2.7-qt4.7.4-32bit-debug\
>>> ..\setuptools\install\py2.7-qt4.7.4-32bit-release\
>>> ..\setuptools\packages\PySide-1.1.1qt474.win-amd64-py2.7.exe
>>> ..\setuptools\packages\PySide-1.1.1qt474dbg.win-amd64-py2.7.exe
>>> - debug build support
>>> - refactoring and preparation for building on linux (not completed)
>>>
>>>
>>> [1] https://docs.google.com/open?id=0B0aOk3P0ndoLUlhZSDUwWGU5MjQ
>>> [2] https://github.com/PySide/packaging/tree/master/setuptools
>>
>>
>
From js.augustyn at gmail.com Wed May 23 22:21:14 2012
From: js.augustyn at gmail.com (Jason Augustyn)
Date: Wed, 23 May 2012 16:21:14 -0400
Subject: [PySide] IPython Mac 10.7 QApplication instance already exists
Message-ID:
Hi all, I am new to using PySide and have been working through the novice
tutorials, which are great. One problem - I cannot re-run a script without
exiting the Python shell altogether. Re-running gives the RuntimeError: A
QApplication instance already exists.
I have searched for a solution and found an old bug tracker ticket from
someone with a similar problem. The suggested solution was to upgrade to
PySide 1.0.4 and the ticket was marked as invalid. Obviously that doesn;t
work, as I'm running the newest version of PySide and still have the
problem. Any suggestions? I am using IPython on a Mac OSX 10.7.
Thanks!
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From nathanjsmith at gmail.com Wed May 23 23:03:56 2012
From: nathanjsmith at gmail.com (Nathan Smith)
Date: Wed, 23 May 2012 16:03:56 -0500
Subject: [PySide] IPython Mac 10.7 QApplication instance already exists
In-Reply-To:
References:
Message-ID: