Hello,
I'm intesresting to see how you use VTK with PyQt. Is your code visible
somewhere on the web ?
Best regards and sorry for not ansewering your question.
Christophe
My Windows application uses PyQt and VTK. When I try to build an executable
with py2exe, the following modules appear to be
Hello,
I would like to build QScintilla on my Mac Book Pro Snow Leopard. What I have
to do ?
I'have already build pyqt for Python 3, with Python 2-6 still existing on my
Mac, using the following commands :
--
Hello,
I would like to use WebKit so as to work with dynamic JavaScript HTML page.
For exemple, I would like to have an HTML page in the WebKit, the HTML page
havine a JavaScript that could load and send a string for example.
My problem is that I do not know how to communicate from PyQt with the
Hello,
>>> you would do well to take a look at the experimental pyjd pyqt4,
>>> ...
>>> you have a couple of source code bundles to choose from:
>>> http://pyjamas-dev.googlegroups.com/web/pyjamas_pyqt.tgz
>>> or http://sf.net/projects/pyjamas and go to the git repository.
Thanks I'll take a look a
Hello,
>>> QtWebKit, not PyQt, provides the bridge between C++ and JavaScript. PyQt
>>> integrates Python with Qt's meta-object system
>>> which gives you the bridge between Python and JavaScript for free.
Are there simple and not so simple examples of this kind of functionnalities
somewhere ?
C
Thanks for all.
There is a very simple example here :
http://pysnippet.blogspot.com/2010/01/calling-python-from-javascript-in-pyqts.html
I think it could be helpfull.
Christophe
Message du : 07/06/2010
De : "David Boddie "
A : pyqt@riverbankcomputin
Hello,
is there some chance that PyQt to have a spelling tool one day ? It could be
very usefull to have such a library which could work similarly to pyenchant for
example.
Best regards.
C.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://w
>>> It's easy to make pyenchant work with pyqt. Check this out:
>>> http://code.google.com/p/marave/source/browse/#svn/trunk/marave/editor
The problem is that this project is a small one and doesn't work on Snow
Leopard, even after enchant has been installed via MacPort.
>>> It's a generic "edit
>>> It's easy to make pyenchant work with pyqt. Check this out:
>>> http://code.google.com/p/marave/source/browse/#svn/trunk/marave/editor
The problem is that this project is a small one and doesn't work on Snow
Leopard, even after enchant has been installed via MacPort.
>>> It's a generic
Hello,
Daniele Esposti, do you know how to compile Scintilla and QScintilla for a Mac ?
>>> I wrote some instructions to compile SIP and PyQt4 under Mac OS X Snow
>>> Leopard, here the link
>>> http://www.expobrain.net/2010/06/22/install-pyqt4-in-snow-leopard .
That's a good thing.
You could add
Hello.
The official doc. gives the following instructions to install
QScintilla. This works well with PyQt4 installed for Python 3.
= 1ST STEP =
cd path_dir_Qt4_in_unzipped_Qscintilla_source
qmake qscintilla.pro -spec macx-g++
make
sudo mak
where to download dip?
Maybe here : http://www.riverbankcomputing.com/
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hello,
I would ike to have infos about the future new version for Python 3 of this
great book. Is there a publication date ?
C.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hello,
>>> I would very much like to do a new edition of the PyQt book,
>>> but it will probably not be for another year or two due
>>> to other commitments.
I'll be patient... :-( I hope that the new edition will show new feature like
playing with WebKit and JavaScript.
>>> I want the next edi
Hello,
>>> I certainly hope to cover WebKit.
You'll make an happy man... ;-)
>>> You mean a binary package I guess... that's one for Phil:-)
Yes.
Christophe
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailm
Hello,
I would lik to know if there are risks to install pySide and PyQt on the same
computer.
I'm developing with PyQt but pySide proposes a package, so I will propose it to
users on Mac so as to have an easy way to install my freeware.
Any information is welcome.
Christophe.
Hello,
CodeAide looks interesting.
I've two questions :
Is it to add other languages that Python ?
How do you treat the line numbering and the folding ?
>>> auto-complete
You can find a method here :
http://www.developpez.net/forums/d921494/autres-langages/python-zope/general-python/naturel-
Hello,
I've build PyQt on my mac and do not know where to look for the official
examples proposed by PyQt if there are ones.
Christophe
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Envoyé depuis Ma Messagerie SFR. 10 Go de stockage - en savoir plus.
Message du : 07/10/2010
De : projet...@club-internet.fr
A : "Hans-Peter Jansen"
Copie à :
Sujet : Re: Re: [PyQt] Mac OS-Looking for the official examples
Thanks. I've found the C+
Hello.
Sorry for this 142345th version about this feature , but I'm
looking for "folding" and also "line numbering" usable with QtextEdit.
Regards.
Christophe.
PS : I know how to do that with QScintilla, but I would like to also have the
possibility to see pictures and at the same
Hello,
>>> I tried installing PyQT 4.8 unsuccessfully. I think the main problem is
>>> that I am using Python(x,y) (Windows XP).
pythpn(xy) uses PyQt so this can be a reason of your problem. You can try to
post your problem here to have some informations about possible conflicts.
Regards.
C.
_
Hello,
elif construct(Even...) had no effect.
You could try some uggly thing like the following one :
==
def onTrayIconActivated(self, reason):
clickDetected = 0
if reason == QSystemTrayIcon.DoubleClick:
clickDetected
Hello,
I know that the author of this project
http://www.henning-schroeder.de/codeaide/ is on this list.
I would like to know the method used for implementing FOLDING in a
QPlainTextEdit. I'm just interested with the way to hide-show some special
lines, and not with the way to find the line to
Title: Flashmail
Hello,
I do not know how to have the same size for a QGraphicsScene and the graphicsView that contains the QGraphicsScene.
When I launch my code there is two scroll bares and I just want the QGraphicsScene exactly in the graphicsView.
Sommeone can help me.
Best regards.
I
Title: Flashmail
Hello,
I would to know how to do a Splash Screen with PyQT.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hello,
I would like to add some informations in a TextEdit or a Label in QFileDialog
to
help the users to know what it must searchs. How can I do that ?
Best regards.
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverba
Title: Flashmail
>Something like this? > > self.upgfile = QFileDialog.getOpenFileName(\ > None, > self.trUtf8("Select the UPG file"), > self.upgfile, > self.trUtf8("*.upg"), > None) > >>> Thanks but indeed I would like to embed a QFileDialg in a pesronnal Dialog with a TextEdit just upon the QF
Title: Flashmail
Hello,I'm looking for examples of little PyQt applications embending MatplotLib.Best regards.Christophe
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Title: Flashmail
Hello,I'm looking for examples of little PyQt applications embending Mayavi.Best regards.Christophe
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> Hello,
>> I'm looking for examples of little PyQt applications embending MatplotLib.
>>
>
>Here is a good example:
>http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_q
t4.html.
>The matplotlib mailing list is probably a better place to follow up if
>you
>have additional qu
>>I once addapted the QVTKRenderWindowInteractor to work with the latest
release of pyqt. Unfortunately it's not perfect yet and it does work only on my
windows machine.
>>I'll look at your code and then try to understand what's wrong. If I
find the answer, I'll send it here.
>>So should y
>> Hello,
>> I'm looking for examples of little PyQt applications embending Mayavi.
>
>ETS from Enthought integrates Mayavi, VTK and PyQt (and wx).
>
>Phil
Thanks but the problem is that there is no simple example in the official
documentation of a very simple application embending Mayavi. That's
Title: Flashmail
>>> Here's a relatively advanced example featuring many things you may want from the integration of PyQT and matplotlib: >>> * Using the maplotlib navigation toolbar >>> * Adding data to the plot dynamically >>> * Dynamically modifying the plotâ??s properties >>>
Hello,
is it possible to define a ContextMenu for a TreeView ?
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> Hello,
>> is it possible to define a ContextMenu for a TreeView ?
>Yes, just override QWidget.contextMenuEvent for the view.
>Doug.
Thanks but then I have a problem.
How can I know that the mouse is over the TreeView ?
Christophe.
___
PyQt m
>> Hello,
>> is it possible to define a ContextMenu for a TreeView ?
>Yes, just override QWidget.contextMenuEvent for the view.
>Doug.
Thanks but then I have a problem.
How can I know that the mouse is over the TreeView ?
Christophe.
___
PyQ
Hello,
I would like to know if the pygments patch of the software Eric could be add
to the standard PyQt distribution because the real weakness of QScintilla is
the impossibilty to define particular lexer.
Best regards.
Christophe
___
PyQt mailing l
Title: Flashmail
Thanks for the answer.
Best regards.
Christophe.
PS for Phil : my proposition is to a future new release of PyQt. I know that you have a lot of works.
>> > Hello, >> > I would like to know if the pygments patch of the software Eric could be >> > add >> > to the standard P
I'm under Windows XP with PyQt for Python 2-6 and your example works very
well. I see the icon in the SysTray with the message.
Christophe.
>Hi,
>
>I am having problem to get QSystemTrayIcon to work. I am running on
>windows XP and I never see any notification messages.
>
>My setup: windows XP,
Title: Flashmail
Hello,when I copy a text twice in a QTextEdit and I use CTRL+Z to use UNDO, I would like to go back just after the first copy and not before the first copy.So I would like to subclass the method UNDO of a QTextEdit but I don't know how to do that, how to catch a change.Best reg
Hello,
I would like to know if there is a signal sended by the SyntaxHiglighter when
it
catches a change in the text ?
Best regards.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>> I would like to know if there is a signal sended by the SyntaxHiglighter
>>> when it catches a change in the text ?
> That class is designed to be subclassed rather than connected up with
signals
> and slots, but you could emit your own signals when you handle the
changes in
> format.
>
Hello,
I would like to go for example to the fourth line in a QTextEdit. Is-it
possible
to do that directly or must I have to walk along the three first lines so as to
go
to the start of the fourth one ?
Best regards.
Christophe
___
PyQt mailing li
The first method works very well.
Thanks a lot !
Christophe.
>> I would like to go for example to the fourth line in a QTextEdit. Is-it
possible
>> to do that directly or must I have to walk along the three first lines so
as to go
>> to the start of the fourth one ?
>>
>
>Use either:
> 1
Title: Flashmail
Hello, I would like to draw for example a 3D triangle in an OpneGL.Best regards.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hello,
I would like to draw for example a 3D triangle with OpenGL. I've tried to play
with the example Hello GL proposed by PyQt.
In the following code I would like to draw a red triangle and then a blue one.
I also would like to set the xMin, xMax, yMin, yMax, zMin, zMax, for the point
of vie
>>> Your problem is with your OpenGL syntax. Simply change GL.GL_QUADS
(which draw quadrilaterals) with GL.GL_TRIANGLES (self evident). Also,
it would be better to move those declarations into your triangle routine
as follows
Thanks and sorry for this simple problem but I'm a real newbie with
e your accessing OpenGL through PyOpenGL, you should look at:
http://pyopengl.sourceforge.net/documentation/
for other links and examples. Enjoy - jaime
On Sat, Apr 4, 2009 at 9:35 AM, projetmbc <mailto:projet...@club-internet.fr>> wrote:
>>> Your problem is with
That seems to be very good.
Thanks a lot.
Christophe
David Boddie a écrit :
On Sat Apr 4 17:43:29 BST 2009, Jamie Riotto wrote:
OpenGL Tutorial:
http://cs.uccs.edu/~semwal/indexGLTutorial.html
Also NeHe productions does a realy great job breaking down OpenGL into
"lessons": My favorite!
Hello,
I would like to show a text or a little picture (and why not the both at
the same time) when the mouse is over a node of a TreeWidget. How can I
try to do that ?
Thanks a lot.
Christophe.
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Program Files\Eas
Thanks a lot.
I will look at that but it seems that there is no Windows version for
Python 2-6.
Christophe.
There are also the QGLViewer/PyQGLViewer couple.
Basically QGLViewer is build on top of the Qt4 OpenGL widget and
PyQGLViewer is its python bindings.
http://www.libqglviewer.com/
htt
Hello,
I would like to show just a picture upon my window. I've find the
following method.
pixmap = QtGui.QPixmap("Collines.jpg")
splash = QtGui.QSplashScreen(pixmap)
splash.setMask(pixmap.mask())
splash.show()
splash.showMessage(u'')
t = time.sleep(1)
=
Hello,
I would like to make a frame that contains a QTextEdit and a picture,
and then I would like to show it. Is-it possible ?
Best regards.
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/l
projetmbc a écrit :
Hello,
I would like to close a splashscreen if the user clicks on it. I
decide to subclass QtGui.QSplashScreen to do that but the following
code doesn't catch the mouse press event. Why ?
Best regards.
Christophe
==
The code
==
class mySplashS
Hello,
I would like to close a splashscreen if the user clicks on it. I decide
to subclass QtGui.QSplashScreen to do that but the following code
doesn't catch the mouse press event. Why ?
Best regards.
Christophe
==
The code
==
class mySplashScreen(QtGui.QSplashScreen):
def __init
, you may need to kill it afterwards)
from PyQt4 import QtGui
import sys
app = QtGui.QApplication(sys.argv)
pixmap = QtGui.QPixmap("splash.png")
splash = QtGui.QSplashScreen(pixmap)
splash.show()
app.exec_()
On 4/8/09 7:56 AM, "projetmbc" wrote:
Hello,
I would like t
window.
To place it you can get the mouse’s x,y position when right clicking
on the tree node and create the frame (with the appropriate images
inside) and then place it appropriately.
Brian
On 4/8/09 8:41 AM, "projetmbc" wrote:
Ok. Thanks a lot for the informations. I'v
Christian Aubert a écrit :
I currently have a context menu for the whole QTreeWidget but I need
finer-grained control on a per item basis. Has anyone implemented
context menus for QTreeWidgetItems? Any pointers?
Christian
___
PyQt mailing listPy
mapTo(parent(), p));
raise();
if (_hidden)
show();
else
update();
_hidden = false;
}
}
On 4/8/09 11:40 AM, "projetmbc" wrote:
Brian Kelley a écrit :
> You can have the same effect using a timer:
>
> class MyFrame(QFrame):
Christian Aubert a écrit :
I currently have a context menu for the whole QTreeWidget but I need
finer-grained control on a per item basis. Has anyone implemented
context menus for QTreeWidgetItems? Any pointers?
Christian
___
PyQt mailing listPy
Hello. Finaly here is the solution to have a frame where the cursor is.
We have to use setGeomtry and not setRectangle.
Best regards.
Christophe.
==
THE CODE
==
class MyFrame(QtGui.QFrame):
def __init__(self, parent, titre, pixmapfile):
QtGui.QFrame.__init__(self, pare
Hello,
I would like to catch the events when my frame has the focus or losts
it. I don't understand why the following code doesn't work. Indeed, I
would like the frame to have a 0.5 opacity when the focus is out and 1.0
when it is in the frame.
Every tip or clue is welcome.
Christophe.
=
Sorry for the indentation of the code but the problem is not there.
My problem is that nothing is printed when the focus of the frame changes.
Christophe.
Hello,
I would like to catch the events when my frame has the focus or losts
it. I don't understand why the following code doesn't work.
Hello,
the fllowing code doesn't work.
Best regards.
class MyFrame(QtGui.QFrame):
def __init__(self, parent, titre, pixmapfile):
QtGui.QFrame.__init__(self, parent, QtCore.Qt.Tool)
self.setWindowTitle(titre)
rect = QtCore.QRect(QtGui.QCur
Hello,
I would like to know when the user uses at the same time the left button
of the mouse and the key CTRL for example.
Is-it possible ?
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/li
V. Armando Solé is right. With this solution the tooltips come quickly
in my computer. The corresponding PyQt code is :
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtCore, QtGui, uic
class MainWindow(QtGui.QWidget):
def __init__(self, parent=None):
super
This is normal. When the menu is activated ther is no reason to give a
tooltip about it because we know wath is in.
Christophe.
Wolfgang Rohdewald a écrit :
this code works here too - but not always.
First place the mouse over the menu and wait until the
tooltip "Click here..." appears
now
Hello,
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
All kind of information is welcome.
Christophe.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/
Simon Edwards a écrit :
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
I also found a whitepaper of QT. I'll try to test that.
Thanks for showing me the directi
Simon Edwards a écrit :
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
Indeed I'm looking for a simple example rather than an abstract o
Wolfgang Rohdewald a écrit :
let me restate what I observed:
if the tip click here... appears, the tips "tooltip 0" etc will never appear
unless
the program is restarted
if the tip click here... does not appear, the tips "tooltip 0" etc will appear
this is inconsistent behaviour.
You're
David Boddie a écrit :
The porting of the C++ Qt examples to Python has fallen behind since Qt 4.3
so there aren't any simple WebKit examples included with PyQt.
I'm not lucky... :-\
David Boddie a écrit :
The recent Monster Evolution experiments on Qt Labs include a Python version
of a p
Marcell Mars a écrit :
the simplest example of loading jquery.js (geti it from
http://jqueryjs.googlecode.com/files/jquery-1.3.2.js and put it in the
same directory with the snippet below) after loading html and then
using jquery syntax to change the background color into red:
run it in python i
I've forgot the gui file. Here is it.
Christophe.
:
Marcell Mars a écrit :
the simplest example of loading jquery.js (geti it from
http://jqueryjs.googlecode.com/files/jquery-1.3.2.js and put it in the
same directory with the snippet below) after loading html and then
using jquery syntax to ch
Hello,
I would like to know if it is possible to know when the
QSyntaxHighlighter does some chnages in the coloration of a text. Is-it
possible or not ?
C.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailma
Hello, I give a very simple HTML page with a very little Javascript. I
would klike to do two things :
1) Read in a PyQt application the javascript variable nom.
2) Define a slot wich will tell to the PyQt application that the
function affiche() has been called.
Best regards and sorry for
Marcell Mars a écrit :
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
myWebKit = QWebView()
myWebKit.show()
myWebKit.setUrl(QUrl("http://www.google.com";))
myWebKit.page().mainFrame().evaluateJavaScript(open('jquery.js').read())
myWebKit.page().mainFrame().e
Hello,
here is an example for using the clipboard of Tkinter :
from Tkinter import *
root = Tk()
root.clipboard_clear()
root.clipboard_append('A text in the clipboard...')
root.withdraw()
I would like to do the same with PyQt. Is it possible ?
Christophe
I've already try that but I have the following message :
QWidget: Must construct a QApplication before a QPaintDevice
Christophe.
Demetrius Cassidy a écrit :
from PyQt4.QtGui import QApplication
clipboard = QApplication.clipboard()
clipboard.setText('mytext')
see http://doc.trolltech.com/4.5
argv)
clipboard = app.clipboard()
clipboard.setText('texte')
app.exec_()
=
Darren Dale a écrit :
Have you tried constructing a QApplication first?
On Sat, Apr 25, 2009 at 8:24 PM, projetmbc <mailto:projet...@club-internet.fr>> wrote:
I've already tr
The clipboard will empty when your program exits. Afaik this is normal
behavior with Qt and clipboard access.
I know if I use wxWindows the text in the clipboard stays even if I close my
app, however I am not sure if it's possible to do this in Qt.
And use sys.exit(app.exec_()) instead.
Thanks a lot, your solution works fine. :-) Here is the complete
minimal code :
#!/usr/bin/env python
#coding=utf-8
import sys
from PyQt4 import QtGui, QtCore
app = QtGui.QApplication(sys.argv)
clipboard = app.clipboard()
clipboard.setText('The text that mu
Giovanni Bajo a écrit :
On lun, 2009-04-27 at 18:42 +0200, projetmbc wrote:
Thanks a lot, your solution works fine. :-) Here is the complete
minimal code :
#!/usr/bin/env python
#coding=utf-8
import sys
from PyQt4 import QtGui, QtCore
app
I really appreciate that kind of simple examples. This is the best way
to learn how to use PyQt.
Thanks a lot.
Christophe
Darryl Wallace a écrit :
Hello Everyone,
Since I was interested in the FetchMore example (included in Qt4.5)
and extending it for myself, I just decided to port the Fetc
Hello,
I would like to know if the patch of Eric Software which allows to use
pygments with QScintilla will be with this new release.
Best regards.
Christophe
Phil Thompson a écrit :
I plan to release new versions of SIP, PyQt3, PyQt4 and QScintilla at the
end of the week based on the curre
That's very cool. I hope that there will be a simple example showing how
to use it.
Christophe.
Phil Thompson a écrit :
On Tue, 26 May 2009 11:48:52 +0200, projetmbc
wrote:
Hello,
I would like to know if the patch of Eric Software which allows to use
pygments with QScintilla wi
For your point of view but none for mine. Indeed I'd like examples which
are very small.
Why don't you give this kind of example ?
Best regards.
Christophe
Detlev Offenbach a écrit :
Hi,
the simple example is eric. ;-)
Detlev
On Dienstag, 26. Mai 2009, projetmbc wrote:
T
Hello,
I would like to know what is planed about JavaScript and PyQt. I know
that for the moment it is possible to call a JS program from PyQt, but
what about the use of a JS constant in a web page in a PyQt application.
I also would like if the use of applet is, or will be, possible in a
QWe
Hello,
I would like to use QsciLexerCustom so as to define my own lexer. The
documentation says :
"All that is necessary to implement a new lexer is to
define appropriate
styles and to re-implement the styleText()
method."
This sounds very abstract to me. How can I col
Phil Thompson a écrit :
On Wed, 10 Jun 2009 15:12:03 +0200, projetmbc
wrote:
Hello,
I would like to use QsciLexerCustom so as to define my own lexer. The
documentation says :
"All that is necessary to implement a new lexer is to
define appropriate
styles a
15:12:03 +0200, projetmbc
wrote:
Hello,
I would like to use QsciLexerCustom so as to define my own lexer. The
documentation says :
"All that is necessary to implement a new lexer is to
define appropriate
styles and to re-implement the styleText()
method.&
Hello,
I'm always trying to make my own lexer but I don't have enough
informtaion to start easily.
I have to implement some methods but what have I to do with the method
description.
=== My code ===
class monLexer(Qsci.QsciLexerCustom):
# Obtenu patr tatons :
http://
Phil Thompson a écrit :
On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
wrote:
Hello,
I'm always trying to make my own lexer but I don't have enough
informtaion to start easily.
I have to implement some methods but what have I to do with the method
description.
Wh
Indeed I've typed the code given with this message. I have the folowing
Error :
" QsciLexerCustom.description() is abstract and must be overridden. "
What's wrong ?
I don't think the error message can be clearer - you need to reimplement
description() in your sub-class as described in t
I've tired to implement that :
=
def description(self, style):
print '(style)'
print (style)
return ''
=
Then numbers from 0 to 30 has been catched by the method. What is the
meaning of this numbers ? Sorry for beeing such a newb
Phil Thompson a écrit :
Indeed, I've understood that this number are the default lexers. The
following seems to work :
===
def description(self, style):
if style == 7:
return 'myLexer'
return ''
===
Is-it what I'm supposed to d
Gabriel Hahmann a écrit :
Hi,
I'm new to the list and new to programming in python QT and I'm having
a little problem dealing with accent characters.
I have a little program that have the text sent to the user interface
using something like this:
QtGui.QPushButton(self.tr('&Next >'))
self.set
Gabriel Hahmann a écrit :
On Wed, Jun 17, 2009 at 11:33 AM, projetmbc wrote:
Gabriel Hahmann a écrit :
Hi,
I'm new to the list and new to programming in python QT and I'm having
a little problem dealing with accent characters.
I have a little program that have the text s
projetmbc a écrit :
dial_project_2 is just my GUI class. For example, the example that I
give comes frome something like that
class dial_Projet2(QtGui.QDialog, Ui_dial_Projet2):
Ui_dial_Projet2 is a Python file created from a Dialog built with Qt
Designer.
I hope that I'm
Mads Ipsen a écrit :
If you change 'QDialog' to 'QWidget' the problem disappears. But I
have no idea why. Anybody?
Best regards,
Mads
In the first example proposed that did not work, you can see that the
button has the focus even if the cursor is in the lineedit. I think that
the problem com
1 - 100 of 136 matches
Mail list logo