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
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
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
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
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
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
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
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
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
___
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
___
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
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
: 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
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/
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
___
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
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
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
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
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,
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
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..
> 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
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
>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
>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
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
thon-ish. I get a RuntimeError stating 'wrong types
for slot'.
That's strange, because my slot function can handle strings.
Thanks!
--david
28 matches
Mail list logo