Rob Knapp kirjoitti viestissään (lähetysaika tiistai, 28. kesäkuuta 2005
17:26):
AFAIK, QT doesn't currently have a class that allows this. You will
need to use the win32api call SHELL_NOTIFYICON to create the icon, and
then I used the winEvent (I think, it's been about 2 years) to capture
thanks for all advice. As mentioned before in this list by another smart one,
a conveniend way was this:
in designer i generate a custom widget with class QHBox and policy 'expanding'
and then use it as a placeholder. My final signal/event catching widget is
constructed 'by hand' as child of
On Thursday 30 June 2005 1:16 am, Henning Schröder wrote:
Hi!
Scribus is a free DTP application which is coded in C++ and Qt and
provides scripting
with Python.
A Python script can import the qt module and access the data from the
running application as far as it is reachable with the
On Wed, 29 Jun 2005 15:59:08 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
sip command passes without error, but I have an error when linking:
$OFILES in Makefile contains sipMyModuleMyException.o, while there is no
corresponding .cpp file generated.
BTW, when I use throw specifier in
Hi,
what are the changes to last snapshot?
Anyway, the changelog is not updated, and it's hard to determine the
changes at all...
can someone summarize the changes beginning from:
[EMAIL PROTECTED]:~/kde/pykde$ less
PyKDE-snapshot20050628/ChangeLog
2004/08/25 16:44:00 jim
Released 3.11.3;
Phil Thompson [EMAIL PROTECTED] wrote:
ignoring the extra reference to wrappers of objects owned by C++.
Thanks, I just verified that this fixes my problem!
I've had to back this out - it's the wrong fix and breaks other things.
Okie dokie. Is a different fix planned?
--
Giovanni Bajo
On Thursday 30 June 2005 12:34 pm, Giovanni Bajo wrote:
Phil Thompson [EMAIL PROTECTED] wrote:
ignoring the extra reference to wrappers of objects owned by C++.
Thanks, I just verified that this fixes my problem!
I've had to back this out - it's the wrong fix and breaks other things.
Using QTimer.singleShot() causes a segmentation fault with
sip-snapshot-20050626 and sip-snapshot-20050629.
With sip-snapshot-20050623, it worked. See the example code below.
Ulli
import sys
from qt import *
class MyWidget(QWidget):
def
Ulrich Berning schrieb:
Using QTimer.singleShot() causes a segmentation fault with
sip-snapshot-20050626 and sip-snapshot-20050629.
With sip-snapshot-20050623, it worked. See the example code below.
Ulli
Oops, mozilla has shuffled the whitespaces a little bit, I hope you can
still read the
Is there a way to instantiate pykde classes using QApplication instead
KApplication.
Thanks.
Mike
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 30.Jun 2005 - 17:33:34, Mike Tammerman wrote:
Is there a way to instantiate pykde classes using QApplication instead
KApplication.
I think so, at least most. For instance KMainWindow is derived from
QMainWindow and thus it should be possible to use
QApplication.setMainWidget
Instead of
On Thursday 30 June 2005 2:10 pm, Ulrich Berning wrote:
Using QTimer.singleShot() causes a segmentation fault with
sip-snapshot-20050626 and sip-snapshot-20050629.
With sip-snapshot-20050623, it worked. See the example code below.
Will be fixed in tonight's SIP snapshot.
Thanks,
Phil
Mostly it creates a segfault, the basic one is
---
from qt import *
from kdeprint import *
import sys
a = QApplication(sys.argv)
KPrinter()
---
Mike
On 6/30/05, Andreas Pakulat [EMAIL PROTECTED] wrote:
On 30.Jun 2005 - 17:33:34, Mike Tammerman wrote:
Is there a way to instantiate pykde
On Thursday 30 June 2005 10:25 am, Denis S. Otkidach wrote:
On Wed, 29 Jun 2005 15:59:08 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
sip command passes without error, but I have an error when linking:
$OFILES in Makefile contains sipMyModuleMyException.o, while there is
no
Hi!
Jim Bublitz [EMAIL PROTECTED]:
[..]
wrapinstance and unwrapinstance are covered in the sip docs.
Thanks I will try your C++/Python-mixed solution.
But I wonder why the following does not work:
ptr = sip.unwrapinstance(qt.qApp.mainWidget())
mainWindow = sip.wrapinstance(ptr,
On Sunday 26 June 2005 3:57 pm, Gerard Vermeulen wrote:
Here is an example where the sip specification matches exactly the
corresponding header files:
-- start header file --
#ifndef V_H
#define V_H
class A
{
public:
A();
virtual ~A();
virtual int getTypeId() = 0;
};
On Thursday 30 June 2005 04:24, Stephan Hermann wrote:
Hi,
what are the changes to last snapshot?
Anyway, the changelog is not updated, and it's hard to determine the
changes at all...
can someone summarize the changes beginning from:
[EMAIL PROTECTED]:~/kde/pykde$ less
On Thursday 30 June 2005 16:33, Mike Tammerman wrote:
Is there a way to instantiate pykde classes using QApplication instead
KApplication.
You could try, but it would be a very unwise thing to do. The KDE classes
assume that KApplication is around and correctly initialised.
--
Simon Edwards
On Thursday 30 June 2005 5:27 pm, Denis S. Otkidach wrote:
If I define single enum in module (no other entries constants), then I
have no enummembers in generated file and it's not exposed in module.
If I have other (non-anonymous) enums, then adding anonymouse one causes
segmentation fault
Jim Bublitz [EMAIL PROTECTED] wrote:
But I wonder why the following does not work:
ptr = sip.unwrapinstance(qt.qApp.mainWidget())
mainWindow = sip.wrapinstance(ptr, qt.QMainWindow)
Unfortunately mainWindow is still a QWidget.
I'm not sure - my guess is that it's because ptr is already typed
20 matches
Mail list logo