On Tue, 2 Aug 2011 08:38:21 PM Hans-Peter Jansen wrote:
> Magnus, please keep the conversation on the ML or CC at the very least.
> Others might want to participate.
>
> My personal preference is to NOT receive personal copies.
>
> On Tuesday 02 August 2011, 11:20:15 Magnus Wirström wrote:
> > 20
On Sat, 30 Jul 2011 08:18:58 AM Jian Ma wrote:
> Hi all,
>
> I created a QMenu object in a class. When I created it with menu =
> QMenu(self) and run the program, it sometimes got the "segmentation fault"
> after exit the program. When I created the object with menu = QMenu(), it
> didn't get this
On Sat, 16 Jul 2011 12:16:13 AM Baz Walter wrote:
> On 15/07/11 07:48, Algis Kabaila wrote:
> > Currently reputable distros such as ubuntu do not package binaries of
> > PyQt with Python3. There are other "unsupported binaries" in some ppa's
> > (Personal Pa
On Fri, 15 Jul 2011 12:35:48 PM Mike Ramirez wrote:
> On Friday 15 July 2011 11:42:59 Algis Kabaila wrote:
> > If I get binaries for PyQt I can ascertain the version of PyQt and Qt
> > itself, but AFAIK there is no way of ascertaining which breed of python,
> > 2.x or 3.x, Py
On Thu, 14 Jul 2011 08:25:42 PM Arfrever Frehtes Taifersar Arahesis wrote:
> 2011-07-14 11:35:55 Phil Thompson napisał(a):
> > On Thu, 14 Jul 2011 19:28:46 +1000, Algis Kabaila
> >
> > wrote:
> > > On Thu, 14 Jul 2011 06:28:48 PM Phil Thompson wrote:
> > &
On Thu, 14 Jul 2011 06:28:48 PM Phil Thompson wrote:
> On Thu, 14 Jul 2011 14:26:40 +1000, Algis Kabaila
>
> wrote:
> > 1. How to tell which Python version a given PyQt is bound to?
>
> sys.hexversion?
I don't think that answers the (reformatted) question. From idl
1. Is it possible to detect which Python version PyQt has been built/compiled?
Just as the version of PyQt can be seen from PYQT_VERSION_STR and Qt from
QT_VERSION_STR, it would be handy to be able to see version of Python (perhaps
it is possible :)
2. I do not know if it is intended to minim
On Fri, 8 Jul 2011 11:52:17 PM Baz Walter wrote:
>
> but to users it can look like a bug if they are running a non-kde app.
>
> i re-installed the libkde.so plugin and ran this pure pyqt test script:
>
> ##
>
> import sys
>
> from PyQt4.QtGui import QApplication, QFileDialog, QPushButton
>
On Fri, 8 Jul 2011 07:22:04 PM Raoul Snyman wrote:
> On Fri, 8 Jul 2011 19:00:52 +1000, Algis Kabaila wrote:
> > I think it is time to give it rest, unless someone can suggest antother
> > lead.
> > The fun of it begins to feel like bashing one's head against a wall.
>
On Fri, 8 Jul 2011 06:18:53 PM Hans-Peter Jansen wrote:
> On Friday 08 July 2011, 08:07:16 Algis Kabaila wrote:
> > On Fri, 8 Jul 2011 01:37:35 PM Baz Walter wrote:
> > > On 08/07/11 02:36, Algis Kabaila wrote:
> > > > On Fri, 8 Jul 2011 03:36:40 AM Baz Walter wrote:
On Fri, 8 Jul 2011 01:37:35 PM Baz Walter wrote:
> On 08/07/11 02:36, Algis Kabaila wrote:
> > On Fri, 8 Jul 2011 03:36:40 AM Baz Walter wrote:
>
> you would need to reboot for it to have an effect, as the plugin would
> still be loaded in memory.
>
> in any case, it&
On Fri, 8 Jul 2011 03:36:40 AM Baz Walter wrote:
> On 07/07/11 13:00, Algis Kabaila wrote:
> > On Thu, 7 Jul 2011 09:03:47 PM Hans-Peter Jansen wrote:
> >>> On opening a file dialog, I get this warning:
> >>>
> >>> KGlobal::locale::Warning your global
On Fri, 8 Jul 2011 08:46:24 AM David Boddie wrote:
> On Thu, 7 Jul 2011 16:04:29 +0200, Hans-Peter Jansen wrote:
> > On Thursday 07 July 2011, 14:00:28 Algis Kabaila wrote:
> > > The message does occur exactly the same way when the scripts are
> > > fired from CLI.
On Thu, 7 Jul 2011 09:03:47 PM Hans-Peter Jansen wrote:
> Dear Al,
>
> On Thursday 07 July 2011, 11:22:34 Algis Kabaila wrote:
> > This bothersome warning message probably has nothing to do with PyQt.
> > However, it does occur whenever I use PyQt. No great harm seems
This bothersome warning message probably has nothing to do with PyQt.
However, it does occur whenever I use PyQt. No great harm seems to occur and
the programs function normally, except for that message. Is there something
wrong with my setup or should I just forget all about it?
I attach a
On Wed, 29 Jun 2011 02:52:08 AM Phil Thompson wrote:
> On Tue, 28 Jun 2011 21:53:21 +1000, Algis Kabaila
>
> wrote:
> > Hi,
> >
> > Attempting to move to Python3 turned up a problem with resource
> > compilation
> > and/or installation into program. In my
On Wed, 29 Jun 2011 12:20:25 AM James Polk wrote:
> Thanks for the responses,...
>
> I'll send an example UI later today, but I do use Layouts...of all kinds..
>
> I'll take a look at the tutorials, but I doubt it'll address what I'm
> seeing,.. which appears to me to be more of a versioning issu
Hi,
Attempting to move to Python3 turned up a problem with resource compilation
and/or installation into program. In my multi-partition box there are two
kubuntu 11.04 "natty" os's. Their names according to the desktop images are
"Red Leaves" for Python3
"Winter Swans" for Python2
The same sma
-- Forwarded Message --
Subject: Re: [PyQt] Image doesn't show up
Date: Mon, 27 Jun 2011, 05:57:20 AM
From: Yaşar Arabacı
To: Algis Kabaila
Wow, this mail groups are really helpfull. Thanks a lot for all the
information :)
2011/6/26 Algis Kabaila
> On Sat, 25 Jun
On Sat, 25 Jun 2011 09:49:26 PM Hans-Peter Jansen wrote:
> On Saturday 25 June 2011, 06:57:05 Algis Kabaila wrote:
> > But how to change the old style signal/slot statement to the new
> > style?...
>
> exit.triggered.connect(self.close)
&g
On Sat, 25 Jun 2011 09:49:26 PM Hans-Peter Jansen wrote:
> On Saturday 25 June 2011, 06:57:05 Algis Kabaila wrote:
> > But how to change the old style signal/slot statement to the new
> > style?...
>
> exit.triggered.connect(self.close)
>
> perhaps?
>
>
On Sat, 25 Jun 2011 10:50:42 AM Yaşar Arabacı wrote:
> Hi,
>
snip...
> My icon doesn't show up at the menu. And I am not getting any error
> messages from the console. My icon file is 12x12 png file. Does it
> supposed to be something else maybe?
I've copied your program to the clipboard, put it
On Thu, 23 Jun 2011 10:08:50 PM Hans-Peter Jansen wrote:
> Dear Al,
>
> On Thursday 23 June 2011, 13:26:02 Algis Kabaila wrote:
> > On Thu, 23 Jun 2011 07:06:49 PM Hans-Peter Jansen wrote:
[snip...]
Following Pete's advise, I've installed 23 new packages that appeared to
On Thu, 23 Jun 2011 10:08:50 PM Hans-Peter Jansen wrote:
> Dear Al,
>
> On Thursday 23 June 2011, 13:26:02 Algis Kabaila wrote:
> > On Thu, 23 Jun 2011 07:06:49 PM Hans-Peter Jansen wrote:
> > > On Thursday 23 June 2011, 08:28:06 David Townshend wrote:
> > &g
On Thu, 23 Jun 2011 07:06:49 PM Hans-Peter Jansen wrote:
> On Thursday 23 June 2011, 08:28:06 David Townshend wrote:
> > If it vanishes, it implies a segfault which you will probably see if
> > you run idle form the command line. You should be able to get a
> > backtrace by running idle through gdb
On Thu, 23 Jun 2011 03:23:36 PM David Townshend wrote:
> On Thu, Jun 23, 2011 at 6:14 AM, Algis Kabaila wrote:
> > On Thu, 23 Jun 2011 08:17:04 AM Baz Walter wrote:
> > > On 22/06/11 20:49, David Townshend wrote:
> > > > On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter
On Thu, 23 Jun 2011 08:17:04 AM Baz Walter wrote:
> On 22/06/11 20:49, David Townshend wrote:
> > On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote:
> >> according to the qt docs, only one application object should be created
> >> at a time, and there is a global qApp pointer which refers to the
>
On Wed, 22 Jun 2011 02:04:25 AM David Townshend wrote:
> Hi
>
> I'm not sure of the appropriate place to file a PyQt bug report, so I hope
> its ok to send it to this mailing list.
>
> The problem is that creating (and quitting) multiple QApplications in
> succession causes a segfault. This situ
On Wednesday 15 June 2011 15:45:08 Hans-Peter Jansen wrote:
> On Wednesday 15 June 2011, 03:04:32 Algis Kabaila wrote:
> > After long trepidation, I started moving my python scripts from python
> > 2.x to python 3.2.
> >
> > Pleasant surprise - sip-4.12.3 and PyQt-x11
After long trepidation, I started moving my python scripts from python 2.x to
python 3.2.
Pleasant surprise - sip-4.12.3 and PyQt-x11-gpl-4.8.4 compiled without
problems!
Python 3.2 IDLE does not work well with this version of PyQt. Anyway, eric 5.x
would be better, so it is necessary to in
On Saturday 05 March 2011 13:48:18 Algis Kabaila wrote:
> On Friday 04 March 2011 20:04:31 Phil Thompson wrote:
> > On Fri, 4 Mar 2011 15:16:56 +1100, Algis Kabaila
snip...
>
> Will report what transpires to the list.
>
> Once again, many thanks for Phil for his genero
On Friday 04 March 2011 20:04:31 Phil Thompson wrote:
> On Fri, 4 Mar 2011 15:16:56 +1100, Algis Kabaila
>
>
> wrote:
> > Hi,
> >
> > I want to upgrade from Python 2.6 to Python 3.2, including
> > PyQt. So far I used PyQt installed as binaries from ubuntu
&
Hi,
I want to upgrade from Python 2.6 to Python 3.2, including PyQt.
So far I used PyQt installed as binaries from ubuntu 10.10
repositories as well as Qt4 : 4.7.0ubuntu4.2.
I did not re-install Qt, available from nokia as source package:
qt-everywhere-opensource-src-4.7.2.tar.gz. If that is
On Sunday 21 November 2010 04:55:18 David Boddie wrote:
> On Sat Nov 20 07:18:02 GMT 2010, Algis Kabaila wrote:
>
> > Thank you for your valuable advice and encouragement to write a
> > tutorial. The tutorial presents a simple plain text editor in
stages
> > of devel
On Sunday 21 November 2010 04:55:18 David Boddie wrote:
> On Sat Nov 20 07:18:02 GMT 2010, Algis Kabaila wrote:
>
> > Thank you for your valuable advice and encouragement to write a
> > tutorial. The tutorial presents a simple plain text editor in
stages
> > of devel
, Pete. I also hope to get some
feedback from persons for whom this tutorial was intended.
OldAl.
--
Algis Kabaila
http://akabaila.pcug.org.au/
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> Mine include some kinetic scrolling as it s mainly for Maemo device,
> so the kinetic scrollbar already inform user for the text not show
as
> not wrapped :)
>
>
> 2010/11/13 Algis Kabaila :
> > On Thursday 02 September 2010 12:42:02 Henning Schröder wrote:
> >
> >
urns a
QTextDocument instance.
> This object contains QTextBlock instances (normally each row is a
QTextBlock).
> To hide a row for folding you call the method setVisible(False)
>
> Regards
> Henning
So the QTextEdit and QPlainTextEdit handle the QTextDocum
gain
considerably by studying your code. I have not noticed if it is GPL
or similar. Would you please clarify.
Thank you for the fine piece of work - a pleasure to browse it!
OldAl.
--
Algis Kabaila
http://akabaila.pcug.org.au/
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Monday 20 September 2010 19:02:07 Phil Thompson wrote:
> On Mon, 20 Sep 2010 10:07:30 +0200, Cyril Giraudon
>
>
> > The code seems correct but it terminates with a segmentation fault when
>
> > the QUIT button is pressed :
> BTW, it works fine for me.
>
It works fine for me too, *if* the pr
On Monday 20 September 2010 04:03:44 Andreas Pakulat wrote:
> >
> > That's true, but what happens if the slot does not handle the signal?
>
> This cannot happen. A signal-slot connection is a direct (or indirect)
> function call. So if you emit a signal _all_ connected slots will be
> executed, a
On Sunday 19 September 2010 19:54:54 Andreas Pakulat wrote:
> > Ch 10 does not talk about Signals-Slots directly, but it tells the
> > details about the lower level events. It is the same and one mechanism
> > as Signals- Slots, it is just that it is looked at from a different
> > perspective. I
On Sunday 19 September 2010 17:41:59 Von wrote:
> Hi,Algis,
> I have looked through this chapter "Events, the Clipboard, and Drag and
> Drop", and I couldn't find anything about signal/slot mechanism.
>
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#new-style-
signal-and-slot-
On Sunday 19 September 2010 17:41:59 Von wrote:
> Hi,Algis,
> I have looked through this chapter "Events, the Clipboard, and Drag and
> Drop", and I couldn't find anything about signal/slot mechanism.
>
Just another note: in the book on p.129 older style syntax signal/slot
representation is state
On Sunday 19 September 2010 17:41:59 Von wrote:
> Hi,Algis,
> I have looked through this chapter "Events, the Clipboard, and Drag and
> Drop", and I couldn't find anything about signal/slot mechanism.
>
> Best Regards
Ch 10 does not talk about Signals-Slots directly, but it tells the details
abo
On Sunday 19 September 2010 12:17:54 Von wrote:
> Hi,
> There are three Objects related to one signal to slot event.
> 1, the signal generator
> 2,the slot trigger
> 3,qtObject who connect these two together.
>
> I am wondering how things happening behind the scene.
> Where does the signal first
On Friday 17 September 2010 19:02:05 Hans-Peter Jansen wrote:
>
> Of course I do, and as written the other day, I'm willing to review them.
> Just point me to the wiki page.
>
> Pete
Pete,
Ive written the first few pages and placed them in a semi-private wiki on the
Canberra PCUG (TIP) server:
On Friday 17 September 2010 19:02:05 Hans-Peter Jansen wrote:
> Dear Al,
>
> On Friday 17 September 2010, 02:55:08 Algis Kabaila wrote:
> > IMO, more tutorial material could be useful. Pete, would you encourage
> > tutorials written by newbies for newbies?
>
> Of cour
On Tuesday 14 September 2010 19:08:23 Hans-Peter Jansen wrote:
> Just a few words on methology:
>
> Searching for some functionality of QTextEdit, e.g. how to get at a
> specific line via line number:
> * Look up QTextEdit in assistant
>We read: The QTextEdit class provides a widget that is u
> On Tuesday 14 September 2010, 01:54:01 Algis Kabaila wrote:
> > Is it possible to access lines of text in a textEdit? If so how can I
> > find information about it?
On Tuesday 14 September 2010 10:09:10 Hans-Peter Jansen wrote:
> Depending on document type, try this:
&
On Tuesday 14 September 2010 12:24:52 Henning Schröder wrote:
> On Tue, Sep 14, 2010 at 4:14 AM, Algis Kabaila wrote:
> > Alas, I was not able to use or find findBlockByLineNumber.
>
> If you enter findBlockByLineNumber in Qt Assistant you will see that
> this method belongs
On Tuesday 14 September 2010 11:01:57 Algis Kabaila wrote:
> On Tuesday 14 September 2010 10:09:10 Hans-Peter Jansen wrote:
> > On Tuesday 14 September 2010, 01:54:01 Algis Kabaila wrote:
> > > Is it possible to access lines of text in a textEdit? If so how can I
> > >
On Tuesday 14 September 2010 10:09:10 Hans-Peter Jansen wrote:
> On Tuesday 14 September 2010, 01:54:01 Algis Kabaila wrote:
> > Is it possible to access lines of text in a textEdit? If so how can I
> > find information about it?
>
> Depending on document type, try this
Is it possible to access lines of text in a textEdit? If so how can I find
information about it?
There is a rather clumsy work around, but there may be a direct and simpler
way - I would appreciate any information about it.
Al.
--
OldAl
akaba...@pcug.org.au
__
On Saturday 11 September 2010 22:04:59 Alexander Nestorov wrote:
> I wrote a small test/example to show the bug. Here it is:
>
> ##
> from PyQt4 import *
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
>
> print PyQt4.QtCore.PYQT_VERSION_STR
>
'explode' - in
> > the vertical direction. I just want a QTextEdit sized about 3 or 4
> > times the height of a QLineEdit.
> >
> > Thanks for the suggestion
> > Peter
> >
> > On Thu, Sep 9, 2010 at 1:58 PM, Algis Kabaila wrote:
> >&
On Thursday 09 September 2010 13:03:14 Peter Milliken wrote:
> I cannot work out how to (re)size a QTextEdit widget. I have tried various
> methods, without success. I show one method in the following code snippet,
> I would appreciate it if somebody could point out my error :-)
>
> Thanks
> Peter
On Tuesday 07 September 2010 04:57:17 Hans-Peter Jansen wrote:
> Dear Al,
>
> On Saturday 21 August 2010, 03:42:22 Algis Kabaila wrote:
> > > Not exactly, but who cares. AFAICS, all you need is the Signals and
> > > Slots chapter. Unfortunately, it misses the new style
On Saturday 21 August 2010 20:28:28 Phil Thompson wrote:
> On Fri, 20 Aug 2010 20:38:30 +0530, Vikas Mahajan
>
> wrote:
> > Hello to all.
> > I have compiled python-2.6.5, qt-4.6.3 and PyQt-x11-gpl-4.7.4 on my
> > RHEL5 linux machine. I am trying to run any PyQt program, program
> > exists with E
On Saturday 21 August 2010 17:48:32 Vikas Mahajan wrote:
> On 21 August 2010 12:54, Algis Kabaila wrote:
> > So as not to clutter the mailing list, I attach a quick redraft of your
> > code:
> >
> > test.ui is the Qt Designer output (it can be opened in QtDesigner
On Saturday 21 August 2010 01:08:30 Vikas Mahajan wrote:
> Hello to all.
> I have compiled python-2.6.5, qt-4.6.3 and PyQt-x11-gpl-4.7.4 on my
> RHEL5 linux machine. I am trying to run any PyQt program, program
> exists with Error: "Segmentation fault".
> Please tell me the reason of this error and
> Not exactly, but who cares. AFAICS, all you need is the Signals and Slots
> chapter. Unfortunately, it misses the new style signals (because Phil
> invented them later), but you should get hold of them from the beginning.
> Much less to type, better type checking, and no silly Qt types anymor
Thanks for posting it to the list - I've learned something from it!
OldAl.
On Thursday 12 August 2010 19:22:01 Detlev Offenbach wrote:
> Hi,
>
> thanks. That was the solution.
>
> Detlev
>
> On Donnerstag, 12. August 2010, 机械唯物主义 : linjunhalida wrote:
> > It works!
> >
> > from PyQt4.QtCore i
On Thursday 12 August 2010 02:28:45 Detlev Offenbach wrote:
> Hi,
>
> In my old code I have QTimer code like
>
> QTimer.singleShot(0, self, SIGNAL("metaDataChanged()"))
>
> How do I convert this to the new style signals code? I tried
>
> QTimer.singleShot(0, self.metaDataChanged)
>
> but this
On Thursday 05 August 2010 14:36:17 Raoul Snyman wrote:
>
> And once again, you need to run this on a real Windows box. WINE *might*
> work, but PyInstaller tracks various Windows dependencies that might not be
> in WINE. You cannot build Windows packages on Linux.
Raoul,
This is valuable advice
On Thursday 05 August 2010 10:57:25 Juan Manuel Santos wrote:
> From: Algis Kabaila
> To: pyqt@riverbankcomputing.com, gm...@henning-schroeder.de
> Date: Wednesday 04 August 2010
>
> > Haerzlichen Dank! Many thanks for writing!
> >
> > I am somewhat confused and I
On Thursday 05 August 2010 03:19:09 Henning Schröder wrote:
> On Tue, Aug 3, 2010 at 12:39 PM, Algis Kabaila wrote:
> > On Tuesday 03 August 2010 17:53:29 Raoul Snyman wrote:
> >> On Tue, 3 Aug 2010 17:21:48 +1000, Algis Kabaila
> >>
> >> wrote:
> >&g
On Tuesday 03 August 2010 17:53:29 Raoul Snyman wrote:
> On Tue, 3 Aug 2010 17:21:48 +1000, Algis Kabaila
>
> wrote:
> > On Tuesday 03 August 2010 15:07:28 Raoul Snyman wrote:
> > Actually, I was asking if Pyinstaller should preferably be run whilst on
>
> a
>
&g
On Tuesday 03 August 2010 15:07:28 Raoul Snyman wrote:
> On Tue, 3 Aug 2010 15:05:31 +1000, Algis Kabaila wrote:
> > On which platform is best to use PyInstaller? The porting is from Linux
> > to Windows.
>
> I use PyInstaller for packaging my PyQt4 app for Windows and OS X
On Tuesday 03 August 2010 14:30:33 Raoul Snyman wrote:
> On Tue, 3 Aug 2010 13:56:19 +1000, Algis Kabaila wrote:
> > I do have a VM (Virtual Machine) with Win2000 on my PC, so will use it
>
> to
>
> > find out what Qt installation will allow the script to run there. I
&g
On Tuesday 03 August 2010 11:24:17 Juan Manuel Santos wrote:
> From: Algis Kabaila
> To: pyqt@riverbankcomputing.com
> Date: Monday 02 August 2010
>
> > Hi,
> >
> > To help my 24 yr old grandson to plan his finances, I wrote a little
> > Python script. It ap
Hi,
To help my 24 yr old grandson to plan his finances, I wrote a little Python
script. It appears that the CLI is not acceptable to a modern MS Window user.
So I've added a simple PyQt GUI to it in my Linux platform (kubuntu 10.04).
I now need to port it to MS Windows, probably to the Win XP
dn't be made to work...
> > >
> > > @QtCore.pyqtSignature("on_pushButton1_clicked()")
> > > @QtCore.pyqtSignature("on_pushButton2_clicked()")
> > >
> > > def on_pushButton_clicked(self):
> > >
tered.
Highly recommended to anyone interested in Python!
Disclaimer: I have no fiscal or other interest in the book, other than as a
reader. I am a retired uni. NSW prof. and author in my own area (Civil
Eng.).
OldAl.
--
Algis Kabaila (Dr)
http://akabaila.pcug.org.au/StructuralAnalysis/
_
een repeated references
that "PyQt comes with examples" -- where exactly are those examples? It
seems that "everybody knows", except me...
I use suse10.3 on a 64 bit PC and yes, I am slow - most people will be at my
age...
OldAl.
--
Algis Kabaila (Dr)
http://akabail
m the Qt version.
Ah well, write it down to old age...
Thanks again,
Al.
On Mon, 28 Jan 2008 09:55:26 Andreas Pakulat wrote:
> On 28.01.08 09:21:20, Algis Kabaila wrote:
> > On Mon, 28 Jan 2008 07:11:21I another thread Hans-Peter Jansen wrote:
> > > Am Sonntag, 27. Janua
thon
programs? Or is that an impossible dream?
If that is possible, how can I achieve that aim with the latest (?) QtDesigner
version 3.3.8?
Your suggestions on this topic will be gratefully received.
Yours sincerely,
OldAl
from Canberra, the capital of Down Under.
--
Algis Kabaila (Dr)
77 matches
Mail list logo