Re: [PyKDE] Editable QComboBox in QTable problem ?

2003-03-19 Thread david
Le mer 19/03/2003 à 15:13, Hans-Peter Jansen a écrit : > Hi David, > > please have a look into the smalltable.py example, and you will see, > what's wrong. Also reading the docs for QTableItem will help you here. > > Pete Hello Pete, Thank you for your help. I looked

Re: [PyKDE] Editable QComboBox in QTable problem ?

2003-03-19 Thread david
a = QApplication(sys.argv) QObject.connect(a,SIGNAL('lastWindowClosed()'),a,SLOT('quit()')) w = Form() a.setMainWidget(w) w.show() a.exec_loop() Thanks for your help. David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

[PyKDE] Editable QComboBox in QTable problem ?

2003-03-17 Thread david
other cell. I don't know why, I'm using PyQt 3.5 and Qt 2.3.0 Thank you. David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

[PyKDE] qt, pyqt license

2003-02-18 Thread david
Dear all, I don't understand the licence for qt and pyqt. On X11, it's GPL and on Microsoft Windows, it's what ? Commercial licenses and a free-as-in-free-beer for older version. That's very disorder ! I have not a good idea for the future... which choice pyqt or pygtk

Re: [PyKDE] Re: [C++-sig] Can boost.python and PyQt be usedtogether?

2002-12-11 Thread David Abrahams
the right conclusion... or at least, it masks something much deeper. I would very much appreciate it if someone could get me a simple test case I where can easily reproduce this problem (preferably, but not neccessarily on a Windows machine). Thanks, Dave -- David Abrahams

[PyKDE] Re: [C++-sig] Can boost.python and PyQt be used together?

2002-12-10 Thread David Abrahams
ow relatively little about Python threading, except that only one thread may be executing core Python code at any given time. That means that if your C++ code is being called from multiple threads it must acquire something called the global interpreter lock (GIL) before it touches any Python objects

Re: [PyKDE] Re: [C++-sig] Can boost.python and PyQt be usedtogether?

2002-12-10 Thread David Abrahams
Phil Thompson <[EMAIL PROTECTED]> writes: > Another possible conflict, perhaps more likely, is the two modules > fighting over the Qt API. Could you be a little more specific about what this might mean? Thanks, Dave -- David Abrahams [EMAIL PROTE

[PyKDE] Changing Color in QTable entries

2002-11-11 Thread David Sathiaraj
can run changeColor.py to test it. The button 'show changes' should ideally color the items. Regards, David S. from qt import * from qttable import * from table import Form1 import sys class changeColor(Form1): def __init__(self,parent=None): Form1.__init__(s

[PyKDE] setCellWidget and signal

2002-11-08 Thread david
Dear everybody, I'm using setCellWidget() to put several buttons on cells in a table. When I capture the signal, I would like to check the button whom(row,column) the signal belongs to. Thank you for your help. David Florkin ___

Re: [PyKDE] Problem with German characters

2002-10-15 Thread david
txt = str(sys.exc_info()[1]) > return > > Here I get the error message > > ASCII encoding error: ordinal not in range(128) > > -- > Janos Blazi > I'm using this : blah = textedit.text().latin1() It works fine. David Florkin ___

[PyKDE] QButton in QTableItem

2002-10-15 Thread david
Hello all !, I'm experimenting with QTable, I would like to put a QButton in a cell. Is it possible ?, have you an example ? Thank you ! David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

[PyKDE] #ifdef and sip

2002-10-09 Thread David Douard
r.sip file alaways declare this function. How is it managed when disabled in the Qt library ? Thanks. David Douard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

pykde@mats.gmd.de

2002-10-05 Thread David Douard
: how to show te little "ok" button in the toolbar) etc. Thanks for any tip (Michael Lauer maybe ?). David Douard ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

Re: [PyKDE] PyQt on iPAQ

2002-06-05 Thread David Boddie
On Monday 03 Jun 2002 11:58 pm, Joe Chott wrote: > I guess one of the most awesome things to me about tcl/tk was > that a code example like: > > button .b -text "Exit Program" -command exit > pack .b > > is a complete, self contained program, in two lines, which shows > how a button works in tcl/

Re: [PyKDE] Converting QStrings to Python strings

2002-05-07 Thread David Boddie
value edit.text() is a > QString. (I also get a segmentation fault, who knows, why?) > > So how can I convert the QString to a Python string? I have naively used this in the past: print int(edit.text().latin1()) David ___

[PyKDE] PyQt 3.1 qtsql build problem

2002-03-26 Thread David Boddie
aving directory `/usr/src/PyQt-3.1' make: *** [all] Error 2 Have I missed something obvious? -- David Boddie This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a p

[PyKDE] PyQt and Qt3 in WIndows, how?

2002-02-27 Thread David Garcia
Hi, How can I get a working version of PyQt for use with qt3? The binaries in thekompany requires qt223, the source files don't compile (link error) and the pre versions don't have a Makefile for Windows (MS C++). Any idea? Thanks in advanced, David -- David Garcia TSS

[PyKDE] PyQt-3.0pre6 compilation error in W2000

2001-11-09 Thread David Garcia
ied the Makefile.win32-msvc to include the defines: -DQT_DLL -DQT_THREAD_SUPPORT I'm linking it using python 2.1 and QT 3.0 final. Any idea? Thanks, David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

RE: [PyKDE] deleting the result of sipMapCppToSelf

2001-10-31 Thread David Garcia
th cases the same class in the sipMapCppToSelf call (either sipClass_AKBase or sipClass_AKLeft) produces not leaks too. Well, I suppose that is not important but is quite curious :) Best regards, David -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En no

[PyKDE] deleting the result of sipMapCppToSelf

2001-10-31 Thread David Garcia
Hi, I'm using sipMapCppToSelf to convert a C++ object to a PyObject that will be a parameter in a PyObject_CallFunction call. My question is, what I should do with the returned PyObject when is no longer needed? Delete it? How? Thanks,

[PyKDE] PyKDE or DCOP?

2001-07-12 Thread David Hugh-Jones
Hi I'm a newbie to KDE development - well, I haven't started yet! I am looking for a way to write a plugin for Konqueror, but as I am ignorant of C++, I'd like to start using Python or another simple language. My questions: is PyKDE suitable for scripting Konqueror? could I script Konqueror u

[PyKDE] PyQt not compiling

2001-05-20 Thread David Blair
I couldn't find a more appropriate place for this question. When I try to compile PyQt, I get this message: PyQt-2.4 > make make all-recursive make[1]: Entering directory `/home/rick/PyQt-2.4' Making all in qt make[2]: Entering directory `/home/rick/PyQt-2.4/qt' c++ -DHAVE_CONFIG_H -I. -I. -I..

RE: [PyKDE] subclassing in pyqt

2000-12-23 Thread David Berner
> On Fri, 22 Dec 2000, David Berner wrote: > > > i found a problem while subclassing pyqt-classes in python. > > > > e.g. > > > > >>> class Mylistview(QListView): > > >>> (...) > > >>> > > >>> class Mylis

[PyKDE] subclassing in pyqt

2000-12-22 Thread David Berner
ype(x) is not Mylistitem but QListViewItem, i can not access MyVar: >>> print x.MyVar >>> (...) AttributeError: MyVar AFAIK there are no type-conversions in python (in C a simple cast would do), so i see no way to solve this. all comments are welcome, David ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde

[PyKDE] Problem with both parent() method and QListViewItem

2000-03-03 Thread David C. Morrill
>Time for a progress report I think... >I hope to release v0.11pre1 in the "next few days" - within a week >anyway (depends on how I get on painting the music room goes, and if I >can shake this cold). This will not support Qt 2. The purpose of this >release is for people to check that I haven

[PyKDE] Problem with both parent() method and QListViewItem

2000-03-03 Thread David C. Morrill
>I've started coding again today - slightly delayed by the unavailability>of public nameservers (www.valdyas.org is no longer reachable) - and I've>been trying to get around the problem. One solution would be to use>a dictionary mapping the standard objects and the extended objects, but>that

[PyKDE] Problem with both parent() method and QListViewItem

2000-03-01 Thread David C. Morrill
Hello all: I've been writing a Python program using PyKDE for the last month or so (and luvin' every minute of it...thanks Phil). I was just wrapping up some loose ends prior to releasing it to the world, when I decided to upgrade one of my other systems to Linux Mandrake 7.0 (and download Phil's

[PyKDE] type for SIGNAL("textChanged(?)")

1999-11-16 Thread David Eller
thon-ish. I get a RuntimeError stating 'wrong types for slot'. That's strange, because my slot function can handle strings. Thanks! --david