Hi,
i'm writing a PyQT program. I've set up a Qtoolbar with a QtoolButton,
which shows a menu of 3 buttons with 3 different icons. The problem is that
the QToolButton shows *always* the icon of the first button (this if I
click on the second and on third...).
If I click on the qtoolbutton, the
Hi,
I have a QtableView.
What's the simplest way to find the column index of a QString in the
horizontalHeader() ?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
07 Eylül 2010 Salı günü (saat 12:32:29) Sybren A. Stüvel şunları yazmıştı:
Thanks for the workaround. However, it's not something I'd like to put
into our development manual and have every developer go through. I'll
wait for a proper fix
That's fixed in the latest snapshot, by the way.
--
On Mon, Jul 26, 2010 at 9:34 AM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson
On Mon, 13 Sep 2010 08:59:42 -0400, Darren Dale dsdal...@gmail.com
wrote:
On Mon, Jul 26, 2010 at 9:34 AM, Darren Dale dsdal...@gmail.com wrote:
On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com
Hi,
I am trying to compile SIP-exported modules using MSVC2008 instead of
GCC/mingw. A problem arises because SIP silently transforms 'unsigned int'
from my .sip files into 'uint' declarations (e.g. for a0/sipRes) in the
sip*cpp files, and MSVC chokes on that (undeclared type).
(It is
On Mon, 13 Sep 2010 15:36:01 +0200, Hans Meine
me...@informatik.uni-hamburg.de wrote:
Hi,
I am trying to compile SIP-exported modules using MSVC2008 instead of
GCC/mingw. A problem arises because SIP silently transforms 'unsigned
int'
from my .sip files into 'uint' declarations (e.g. for
On Monday 13 September 2010 12:11:48 Gökçen Eraslan wrote:
That's fixed in the latest snapshot, by the way.
Great, thanks!
--
Sybren A. Stüvel
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing
Am Montag 13 September 2010, 15:48:32 schrieb Phil Thompson:
Hmm - try adding...
typedef unsigned int uint;
to the sip.h in the siplib directory.
Actually, I considered simply putting that into my %ModuleHeaderCode, but
wouldn't that lead to problems when I start #include'ing headers
I just installed SIP 4.11.1 and PyQt x11 gpl 4.7.6 on SuSE Linux 11.2.
When I start qtdemo I get:
X Error: BadLength (poly request too large or internal Xlib length error) 16
Extension:136 (Uknown extension)
Minor opcode: 17 (Unknown request)
Resource id: 0x17
On Thu, Sep 2, 2010 at 6:48 AM, projet...@club-internet.fr wrote:
Hello,
CodeAide looks interesting.
I've two questions :
Is it to add other languages that Python ?
There is some code for QtScript syntax included.
Additionally the highlighter class is very flexible and accepts custom
syntax
Hi,
im using a QFileDialog to let the user select a path that is used later in
a command send to the shell like this:
retcode = Popen(command + + path, shell=True, stdout = PIPE, stderr =
PIPE)
The problem that occurs now is when the user selects an ugly path like
this /home/user/!
Recently I found that svg files generated by Cairo do not plot properly in
pyqt. The error comes from the use of glyphs which seem not to be shown in
pyqt (this might be wrong but I couldn't find any way of getting glyphs to
render).
I ended up writing a set of functions that will convert the
Hi all, What I'm trying to do is to have at the right click on a QGraphicsItem,
a QLineEdit . I'm trying to use the following codedef contextMenuEvent(self,
event) : #qle=QtGui.QLineEdit() menu =QtGui.QMenu();
action=menu.addAction(test);
Hi Phil et al,
here are some minor svgviewer fixes:
* the bubbles animation looks fine (again?!?)
* highQualityAntialiasingAction handling fixed
* wheel zooming works now (instead of throwing exceptions)
Could somebody explain, what the background option/action is supposed to do?
To me, it
On Monday 13 September 2010, 20:18:39 amfr...@web.de wrote:
Hi,
im using a QFileDialog to let the user select a path that is used later
in a command send to the shell like this:
retcode = Popen(command + + path, shell=True, stdout = PIPE, stderr =
PIPE)
The problem that occurs now is
On Monday 13 September 2010, 20:46:15 matteo.bosc...@boscolini.eu wrote:
Hi all, What I'm trying to do is to have at the right click on
a QGraphicsItem, a QLineEdit . I'm trying to use the following codedef
contextMenuEvent(self, event) : #qle=QtGui.QLineEdit()
menu
-Original Message-
From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-
boun...@riverbankcomputing.com] On Behalf Of amfr...@web.de
Sent: September-13-10 11:19 AM
To: pyqt@riverbankcomputing.com
Subject: [PyQt] Converting an ugly path to a shell path
Hi,
im using a QFileDialog
Thanks Pete,It was exactly what I was looking for.. Thanks This is the code
that I'm using now .. def contextMenuEvent(self, event) :
qle=QtGui.QLineEdit() menu =QtGui.QMenu();
wac=QtGui.QWidgetAction(menu) wac.setDefaultWidget(qle)
action=menu.addAction(
Hmm that doesn't work, it only seems to change things like multiple ///
to one /, but doesn't add \ for special chars.
Am 13.09.2010, 21:07 Uhr, schrieb Darryl Wallace
darryl.wall...@prosensus.ca:
-Original Message-
From: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-
I think quotes don't work always ?
For example when i have a dir like ' how do i quote it ?
Am 13.09.2010, 23:42 Uhr, schrieb projet...@club-internet.fr:
Have you try to use quotes ?
C.
Message du : 13/09/2010
De : amfr...@web.de
A :
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 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:
document().findBlockByLineNumber(lineNumber).text()
Pete
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:
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
find information about it?
On Tue, Sep 14, 2010 at 4:14 AM, Algis Kabaila akaba...@pcug.org.au 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 to a QTextDocument object and returns a
QTextBlock object QTextEdit has a
On Tuesday 14 September 2010 12:24:52 Henning Schröder wrote:
On Tue, Sep 14, 2010 at 4:14 AM, Algis Kabaila akaba...@pcug.org.au 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 to a
Hello,
I use pure python code also for my syntax highlight (not really true
as i use QSyntaxHighlighter) :
http://khertan.net/khteditor
http://gitorious.org/khteditor
It's still in developpment, but highlight is fast (it s a require as
it for maemo device).
Regards,
2010/9/13 Henning
28 matches
Mail list logo