Hello,
I am a PyQt newbye and I wanted to do some tests with QToolBar in a
QDialog (Seems multiple QMainWindow use is not recommanded in a
QApplication), so I started coding a simple example (reported below).
The code seems correct but it terminates with a segmentation fault when
the QUIT
On Mon, 20 Sep 2010 10:07:30 +0200, Cyril Giraudon
cyril.girau...@free.fr
wrote:
Hello,
I am a PyQt newbye and I wanted to do some tests with QToolBar in a
QDialog (Seems multiple QMainWindow use is not recommanded in a
QApplication), so I started coding a simple example (reported below).
On 09/20/2010 10:07 AM, Cyril Giraudon wrote:
# -*- coding: utf8 -*-
It is not the good font naming :
# -*- coding: utf-8 -*-
but even with utf8, I do not get any segt fault ...
Qt version : 4.6.2
PyQt version : 4.7.3
Mandriva-2010.1
--
Criticism is something we can avoid easily by saying
Modifications in the code don't make things nicer :-( :
Sorry for not reporting the system characteristics :
(sandbox)cy...@cgn-l: pyqt$ python example.py
Platform : Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
Machine : i686
Qt version : 4.6.2
PyQt version : 4.7.2
Just after exec_
Le 20/09/10 11:42, Cyril Giraudon a crit:
Modifications in the code don't make things nicer :-( :
Sorry for not reporting the system characteristics :
(sandbox)cy...@cgn-l: pyqt$ python example.py
Platform : Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
Machine : i686
Qt
Oh you are right, sorry
I didn't refactor the quit_action part :
dialog.connect(quit_action, SIGNAL(triggered()), app, SLOT(quit()));
quit_action.connect(quit_action, SIGNAL(triggered()), app,
SLOT(quit()));
- Segmentation Fault
quit_action.triggered.connect(quit)
- fixes the problem
Even
On Monday 20 September 2010 19:02:07 Phil Thompson wrote:
On Mon, 20 Sep 2010 10:07:30 +0200, Cyril Giraudon
cyril.girau...@free.fr
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
Hi
Is it possible to skin the title bar and window border in pyqt? I actually
just require a colour change, e.g. make the title bar, window border black,
have white text and change the colours of the close, minimize and maximize
buttons.
Thanks
___
On Mon, 20 Sep 2010 09:17:09 -0400, Phillip Cloud cpcl...@gmail.com
wrote:
Upon getting the annoying unexpected error from the latest pyuic4 I
changed
the following code after reading someone's hack to fix this problem in
an
earlier release of PyQt4. Would it be possible to make `encoding` a
Am Montag 20 September 2010, 15:23:45 schrieb Phil Thompson:
On Mon, 20 Sep 2010 09:17:09 -0400, Phillip Cloud cpcl...@gmail.com
pyfile = open(self._opts.output, 'wt', encoding='utf8')
else:
pyfile = open(self._opts.output, 'wt')
Already fixed in current
Hi. I have live build of pykde4 (just from svn) and i want to use KAuth
framework with my python application. I have trouble with implemening KAuth
helper: what arguments should be passed to KAuth.HelperSupport.helperMain?
You can look at my code at http://github.com/maksbotan/krf/
Hello,
On 09/20/2010 05:36 PM, Максим Кольцов wrote:
Hi. I have live build of pykde4 (just from svn) and i want to use KAuth
framework with my python application. I have trouble with implemening
KAuth helper: what arguments should be passed to
KAuth.HelperSupport.helperMain? You can look at my
Hi,
I tried to get icon size using
KIconLoader.IconSize(KIconLoader.Desktop) but function IconSize is not
available. It seems that it is commented out
http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/sip/kdeui/kiconloader.sip?view=markup
Why it's not available?
Regards,
--
Łukasz
On Mon, 20 Sep 2010 14:42:55 +0200, pard wrote:
Is it possible to skin the title bar and window border in pyqt? I actually
just require a colour change, e.g. make the title bar, window border black,
have white text and change the colours of the close, minimize and maximize
buttons.
This is
On Thu, Sep 16, 2010 at 3:15 PM, Erik Janssens
erik.janss...@conceptive.be wrote:
Hello Steve,
We've ran in more or less the same issues with the recent
refactoring of Camelot, here are some things I learned
(but I haven't found a decent solution yet) :
- those kind of bugs tend to appear
hi
The following is an extract from the book Foundations of Qt Development
by Johan Thelin. This explains how signal is implemented in Qt. Thanks
Mr.Johan Thelin.
Signals and slots are implemented by Qt using function pointers. When
calling emit with the signal as argument, you actually call
Hi all,
May be this is an off-topic. so kindly forgive me.
I would like to make a python gui toolkit based on FOX C++ Gui toolkit. I
had some basic knowledge in swig based on tutorials given in the
swig.orghomepage. But my knowledge is not enough to make swig files
for a whole GUI
toolkit.
So
17 matches
Mail list logo