On mercredi 11 février 2009, Arthur Pemberton wrote:
> I am aware of [1] but I am not clear on how treats resources like
> images. I currently have them in the simplest/laziest form -- images
> are directly on the filesystem and linked to from within Qt Designer.
> So I was hoping for someone to p
On Wed, Feb 11, 2009 at 2:04 AM, Phil Thompson
wrote:
>
> > The file c:\programs\Python26\include\Python.h does exist, with read
> > permissions enabled, so I assumed that the inability to find it was
> either
> > an error in the build scripts, or my own misunderstanding of how to use
> > them.
>
Hi all,
So after a little bit of digging I saw that Qt itself allows for some
other open source licenses
(http://doc.trolltech.com/4.4/license-gpl-exceptions.html) including
MIT License, which is my favourite no nonsense license. I'm
maintaining a couple of open source python scripts under the MIT
On Wednesday 11 February 2009 17:41:46 Doug Bell wrote:
> Kovid Goyal wrote:
> > On Wednesday 11 February 2009 12:06:13 Doug Bell wrote:
> > > I like that idea in general, but how do you deal with translations of
> > > strings that are internal to Qt (in file dialogs, etc.)?
> >
> > Qt provides .mo
Kovid Goyal wrote:
> On Wednesday 11 February 2009 12:06:13 Doug Bell wrote:
> > I like that idea in general, but how do you deal with translations of
> > strings that are internal to Qt (in file dialogs, etc.)?
>
> Qt provides .mo files with translations of all the internal strings. Just add
> t
On Wednesday 11 February 2009 14:58:16 Giovanni Bajo wrote:
> On mer, 2009-02-11 at 12:32 -0800, Kovid Goyal wrote:
> > On Wednesday 11 February 2009 12:05:13 you wrote:
> > > On 2/11/2009 8:14 PM, Kovid Goyal wrote:
> > > You'll be hard-pressed to find a Windows translation program better
> > > th
On mer, 2009-02-11 at 12:32 -0800, Kovid Goyal wrote:
> On Wednesday 11 February 2009 12:05:13 you wrote:
> > On 2/11/2009 8:14 PM, Kovid Goyal wrote:
> > You'll be hard-pressed to find a Windows translation program better than
> > Linguist. Do you have any suggestion? Did you personally evaluate
>
I am aware of [1] but I am not clear on how treats resources like
images. I currently have them in the simplest/laziest form -- images
are directly on the filesystem and linked to from within Qt Designer.
So I was hoping for someone to point me to docs on including them
properly in a Qt resource fi
On Wednesday 11 February 2009 12:05:13 you wrote:
> On 2/11/2009 8:14 PM, Kovid Goyal wrote:
> You'll be hard-pressed to find a Windows translation program better than
> Linguist. Do you have any suggestion? Did you personally evaluate
> Linguist and are aware of its features?
>
> (OK, Linguist can
On Wednesday 11 February 2009 12:06:13 Doug Bell wrote:
> I like that idea in general, but how do you deal with translations of
> strings that are internal to Qt (in file dialogs, etc.)?
Qt provides .mo files with translations of all the internal strings. Just add
them to your app in your build s
Kovid Goyal wrote:
> Ditch the whole Qt translation infrastructure. Simply postprocess the
> output of pyuic4 to replace the calls to
> QtCore.QCoreApplication.translate() with _()
>
> Then you can use gettext and the nice translation infrastructure in
> launchpad. This has the additional advanta
On 2/11/2009 8:14 PM, Kovid Goyal wrote:
Ditch the whole Qt translation infrastructure. Simply postprocess the output
of pyuic4 to replace the calls to QtCore.QCoreApplication.translate() with _()
Then you can use gettext and the nice translation infrastructure in launchpad.
You'll be hard-p
Ditch the whole Qt translation infrastructure. Simply postprocess the output
of pyuic4 to replace the calls to QtCore.QCoreApplication.translate() with _()
Then you can use gettext and the nice translation infrastructure in launchpad.
This has the additional advantage of not tying in your transl
Giovanni Bajo wrote:
> On 2/11/2009 5:58 PM, Doug Bell wrote:
>> Frédéric wrote:
>>> On mercredi 11 février 2009, Doug Bell wrote:
>>>
> Are there some tips, for example, to bind the _() method I use with
> gettext and PyGTK? Something to help me migrate my code without having
> to modi
On Wednesday 11 February 2009, Giovanni Bajo wrote:
> On 2/11/2009 6:49 PM, David Boddie wrote:
> > On Wednesday 11 February 2009, Giovanni Bajo wrote:
> >> On 2/11/2009 6:24 PM, David Boddie wrote:
> >
> >>> To avoid problems, I have previously defined a helper method in
subclasses
> >>> where I
On 2/11/2009 6:49 PM, David Boddie wrote:
On Wednesday 11 February 2009, Giovanni Bajo wrote:
On 2/11/2009 6:24 PM, David Boddie wrote:
To avoid problems, I have previously defined a helper method in subclasses
where I thought it was necessary, like this:
class ActionEditorWidget(QLabel):
On Wednesday 11 February 2009, Giovanni Bajo wrote:
> On 2/11/2009 6:24 PM, David Boddie wrote:
> > To avoid problems, I have previously defined a helper method in subclasses
> > where I thought it was necessary, like this:
> >
> > class ActionEditorWidget(QLabel):
> >
> > def tr(self, text)
On 2/11/2009 6:24 PM, David Boddie wrote:
On Wed Feb 11 14:57:59 GMT 2009, Frédéric wrote:
Are there also some tools to migrate a .po file to a Qt i18n stuff?
Qt 4.5 will come with a version of Qt Linguist that may help with this:
http://doc.trolltech.com/4.5/qt4-5-intro.html#qt-linguist-i
On 2/11/2009 6:24 PM, David Boddie wrote:
On Wed Feb 11 14:57:59 GMT 2009, Frédéric wrote:
Does anybody could point me on example how to use i18n in PyQt?
Here's an example of an application that uses i18n:
http://qt-apps.org/content/show.php/PyPI+Browser?content=52389
It's not necessaril
On 2/11/2009 5:58 PM, Doug Bell wrote:
Frédéric wrote:
On mercredi 11 février 2009, Doug Bell wrote:
Are there some tips, for example, to bind the _() method I use with
gettext and PyGTK? Something to help me migrate my code without having
to modify it everywhere...
Here's how I do it:
d
On Wed Feb 11 14:57:59 GMT 2009, Frédéric wrote:
> Does anybody could point me on example how to use i18n in PyQt?
Here's an example of an application that uses i18n:
http://qt-apps.org/content/show.php/PyPI+Browser?content=52389
It's not necessarily a good example. ;-)
> Riverbank documenta
Frédéric wrote:
> On mercredi 11 février 2009, Doug Bell wrote:
>
> > > Are there some tips, for example, to bind the _() method I use with
> > > gettext and PyGTK? Something to help me migrate my code without having
> > > to modify it everywhere...
> >
> > Here's how I do it:
> >
> > def tran
On Wed, 11 Feb 2009 18:21:29 +0200, "Ville M. Vainio"
wrote:
> On Wed, Feb 11, 2009 at 5:38 PM, Phil Thompson
> wrote:
>
>> The selection of a language happens much earlier than the selection of a
>> GUI toolkit. A GUI toolkit is (or at least should be) a relatively minor
>
> Sometimes, the gui
On mercredi 11 février 2009, Doug Bell wrote:
> > Are there some tips, for example, to bind the _() method I use with
> > gettext and PyGTK? Something to help me migrate my code without having
> > to modify it everywhere...
>
> Here's how I do it:
>
> def translate(text, comment=''):
>
On Wed, Feb 11, 2009 at 5:38 PM, Phil Thompson
wrote:
> The selection of a language happens much earlier than the selection of a
> GUI toolkit. A GUI toolkit is (or at least should be) a relatively minor
Sometimes, the gui toolkit is selected for you. This may not be true
for pc software, but my
Frédéric wrote:
> Does anybody could point me on example how to use i18n in PyQt?
>
> Riverbank documentation says that one should not use tr() method, but
> insteead QtCore.QCoreApplication.translate(). As the object must be
> passed to this method, this not improves the readability :o/
>
> Are
On Wed, 11 Feb 2009 17:09:17 +0200, "Ville M. Vainio"
wrote:
> On Wed, Feb 11, 2009 at 3:30 PM, Giovanni Bajo wrote:
>
>> I doubt that any company on earth would save £350 and change
programming
>> language. This kind of decision is made by amateur programmers that just
>> want to play around wi
On 2/11/2009 4:09 PM, Ville M. Vainio wrote:
On Wed, Feb 11, 2009 at 3:30 PM, Giovanni Bajo wrote:
I doubt that any company on earth would save £350 and change programming
language. This kind of decision is made by amateur programmers that just
want to play around with Qt, but those can alread
If you are not doing threading, you can just embed a normal python interpreter
and go to town or you can simply link to PythonQt which already has a nice
python console.
http://pythonqt.sourceforge.net/
It has an interpreter pre-loaded and ready to go that does nice thinks like
giving you the
On Wed, Feb 11, 2009 at 3:30 PM, Giovanni Bajo wrote:
> I doubt that any company on earth would save £350 and change programming
> language. This kind of decision is made by amateur programmers that just
> want to play around with Qt, but those can already use the GPL version.
Not necessarily ch
Does anybody could point me on example how to use i18n in PyQt?
Riverbank documentation says that one should not use tr() method, but
insteead QtCore.QCoreApplication.translate(). As the object must be
passed to this method, this not improves the readability :o/
Are there some tips, for example,
On 2/11/2009 7:57 AM, Ville M. Vainio wrote:
On Tue, Feb 10, 2009 at 11:10 PM, Knapp wrote:
Comes down to if pyQT is LGPL then I write in my fav lang python, if
not then I go back and relearn C++ and face the brackets that I hoped
never to face again. :-)
As said many times before, *nothing
On 2/11/2009 4:32 AM, Brian Kelley wrote:
What are the alternative options so PyQt can be LGPLd? I can see three:
1. PyQt is LGPL’d but support costs money. (I would still pay for
support, not that I actually have needed it, mind you, Phil is
usually on top of the ball as far a
On Wed, 11 Feb 2009 14:12:57 +0100, Markus Feldmann
wrote:
> At this moment i am trying the example:
> http://doc.trolltech.com/4.4/widgets-imageviewer.html
>
> But i have trouble to convert the class-method .
>
> There is a Qt Method which is not listed in the Qt API
> Library. It is named .
h
At this moment i am trying the example:
http://doc.trolltech.com/4.4/widgets-imageviewer.html
But i have trouble to convert the class-method .
There is a Qt Method which is not listed in the Qt API
Library. It is named .
How should my PyQt4 Code looks like for this Class-Method?
I doesn't know
Hey guys, is there a way to easly embed PyQt with a C++ Qt Application?
I already know about boost::python, swig and the normal procedure. But I am
wondering if there is an easy way to do that with PyQt.
Felipe Ferreri Tonello
felipe.tone...@felipetonello.com
http://felipetonello.com
On Wed, Feb 11, 2009 at 4:43 AM, Jim Bublitz wrote:
> On Tuesday 10 February 2009 14:41:02 pm Knapp wrote:
>> > Oh, btw what implications it has for your application/development
>> > to use Qt or PyQt licensed under GPL or LGPL or commercial is
>> > something you should discuss with a lawyer.
>> >
* Jim Bublitz (Tue, 10 Feb 2009 15:13:51 -0800)
> I've never minded people using my software for free - even
> commercially. I just hate it when they whine about software being
> free, but not on terms where they can profit enormously from other
> people's work. It's the whining, not the profiting,
On Tue, 10 Feb 2009 16:45:45 -0600, Dave Doty wrote:
> On Tue, Feb 10, 2009 at 4:19 PM, Phil Thompson
> wrote:
>
>> > make[1]: Entering directory
>> > `/cygdrive/c/Users/ddoty/Downloads/python/sip-4.7.9/siplib'
>> > gcc -c -O2 -w -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
>> > -Ic:\programs\Python26\in
39 matches
Mail list logo