On Tuesday 02 September 2003 22:16, [EMAIL PROTECTED] wrote:
Hi again,
Sorry to bother you all with this, I found the bug, it's in the
example on the weg page, not a Qt bug, but a documentation bug. I
hope Trolltech will fix this, right now should do it ;)
[EMAIL PROTECTED] writes:
Your
() function, the proper
one is to have a look at QSignalMapper.
[snip]
Using sender() is not considered unclean in Qt 4, so I would feel free
to use it.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
it will be a good book.
Regards,
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On Sat 18-Nov-06 07:17, johnf wrote:
On Friday 17 November 2006 22:40, Mark Summerfield wrote:
On Wed 15-Nov-06 06:40, simon stockes wrote:
Hi,
Since few days it is not possible to reach
http://www.opendocs.org/pyqt/.
Any information ?, Is PyQt4 book on the way ?
Simon
though.)
Also, there are some errors in the docs; in section 3.4 the two SLOT
lines should be:
QtCore.QObject.connect(a, QtCore.SIGNAL(QtSig()), b,
QtCore.SLOT(QtSlot()))
QtCore.QObject.connect(a, QtCore.SIGNAL(PySig()), b,
QtCore.SLOT(QtSlot()))
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
On Fri 1-Dec-06 11:04, Giovanni Bajo wrote:
Mark Summerfield wrote:
what's the meaning of the string PyObject used within the signature of
a signal in PyQt4? I can't seem to find it in the PyQt4 documentation.
If I pass it a random python object I get core dumps and random crashes,
so I
() myself though.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
://doc.trolltech.com/4.2/stylesheet.html
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
this because as far as they're
concerned they've got qtvars.bat.
In the Appendix to the book I will explain how to add Qt to the path, so
at least readers will know:-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing list[EMAIL
or who don't want their path fiddled with can uncheck it?
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
consider a few more though:
QBitmap
QBrush
QCursor
QFont
QIcon
QImage
QPalette?
QPen
QPixmap
QPolygonF
QStringList?
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
that the PyQt4
libraries will only export things with names matching /Q[A-Z]\w+/ and
would expect anything that didn't have such a name either not to be
exported or to have a special prefix such as qt to avoid unpleasant
surprises.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
. Since you are processing
framebuffer data which I assume is just a char* of raw bytes then using
a QByteArray and converting that to a str seems like the way to go.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
be to use a QDoubleSpinBox. This will
happily take a maximum of 1000L, and you can always set it to
show no decimal digits so that it looks to the user like it only handles
whole numbers.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
Hi,
I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4
preinstalled (version 4.1).
Does anyone know if it is also preinstalled on plain Ubuntu, or on the
forthcoming Fedora 7, or indeed on any other Linux distro?
Thanks.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
On Thu 10-May-07, Douglas Soares de Andrade wrote:
Mark Summerfield escreveu:
Hi,
I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4
preinstalled (version 4.1).
Does anyone know if it is also preinstalled on plain Ubuntu, or on the
forthcoming Fedora 7, or indeed
(and therefore Kubuntu), and for
Debian. I also know the ones for Fedora Core 6, but not for Fedora 7.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Thu 10-May-07, Ismail Dönmez wrote:
On Thursday 10 May 2007 16:14:12 Mark Summerfield wrote:
Hi,
I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4
preinstalled (version 4.1).
Does anyone know if it is also preinstalled on plain Ubuntu, or on the
forthcoming Fedora 7
On Thu 10-May-07, Rex Dieter wrote:
Mark Summerfield wrote:
I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4
preinstalled (version 4.1).
Does anyone know if it is also preinstalled on plain Ubuntu, or on the
forthcoming Fedora 7, or indeed on any other Linux distro?
PyQt4
) to control whether the
user can insert HTML, e.g., by pasting HTML from elsewhere.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
connection state is: %d % mySocket.state()
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
at QApplication's API, and maybe
QWidget.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, and a brief description:
http://www.qtrac.eu/pyqtbook.html
An electronic rough cut is also due to be available soon for those who
can't wait 'til October. Initially 50% of the book then 75% will be
available---I'll email when I know about the price and availability.
--
Mark Summerfield, Qtrac Ltd
, and especially from the second half---even Phil has said
that he'd learned new things from it.
For those who prefer paper and are patient, the printed book is due out
in the US at the end of October.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
On 2007-06-19, Hans-Peter Jansen wrote:
Am Dienstag, 19. Juni 2007 17:52 schrieb Mark Summerfield:
Hi,
Just to let you know that the first half of my new book,
Rapid GUI Programming with Python and Qt
which is based on Python 2.5, PyQt 4.2 and Qt 4.2, is available online at
http
On 2007-06-19, Hans-Peter Jansen wrote:
Am Dienstag, 19. Juni 2007 17:52 schrieb Mark Summerfield:
Hi,
Just to let you know that the first half of my new book,
Rapid GUI Programming with Python and Qt
which is based on Python 2.5, PyQt 4.2 and Qt 4.2, is available online at
http
'exceptions.AttributeError': 'module' object has no attribute
'DisplayRole'
Any hints?
import PyQt4.QtCore
hasattr(PyQt4.QtCore, Qt.DisplayRole)
False
hasattr(PyQt4.QtCore.Qt, DisplayRole)
True
from PyQt4.QtCore import *
Qt.DisplayRole
0
Qt.EditRole
2
--
Mark Summerfield, Qtrac Ltd
think that your problem may solved by adding
model.submitAll()
at the end of your addRecord() method.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman
helpDialog.setWindowTitle(Test App - Help) # Added for neatness
helpDialog.show() # Changed
app = QtGui.QApplication(sys.argv)
mainWin = MainWindow()
mainWin.show()
app.exec_()
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing
On 2007-09-27, Thorsten Kampe wrote:
* Mark Summerfield (Thu, 27 Sep 2007 08:45:59 +0100)
On 2007-09-26, Thorsten Kampe wrote:
I'm trying to teach myself GUI programmming with the help of the new
PyQt book and the examples from the PyQt package. Although I've been
doing Python
= QApplication(sys.argv)
t = Tmp()
t.show()
t.worker.start()
sys.exit(app.exec_())
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
it correctly that if I need some input
(QLineEdit specifically) connected wiht the returnPressed signal
it is better to create a void dialog and then put all the controls than to
create a dialog with the standard buttons ?
Thanks
bye
Gianluca
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
layout
grid.addWidget(myWidget01, row, col) # set row, col appropriately
# ...
grid.addWidget(myWidget15, row, col)
centralWidget = QWidget()
centralWidget.setLayout(grid)
self.setCentralWidget(centralWidget)
Hope this helps!
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
:
self.connect(runConectarAction, SIGNAL(triggered()),
self.runConectar)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
as is, with fonts and typesetting exactly as I wanted them,
whereas the Safari online edition was retypeset by the publisher.)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http
supplied as is, with the fonts and typesetting as I
wanted them, whereas the publisher retypeset the online version.
Le mardi 23 octobre 2007, pyprog a écrit :
Excuse in advance for my bad english.
I forgive you. ;-)
Thanks:-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
it through Amazon---I only mention
Amazon on the book's homepage because it is so well known.
Naturally, I think the cost of the book---even with shipping---will pay
back in terms of time saved when writing PyQt applications:-)
2007/10/23, Mark Summerfield [EMAIL PROTECTED]:
Hi,
I am delighted
(usually:-) enjoy reading
them, and they often pay back in terms of time saved.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
/listinfo/pyqt
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
a copy just because there are some things in Qt4 I
still haven't found time to get on top of, and some bad habits I should
probably break.
You will certainly find some topics that aren't covered in the C++/Qt
book:-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
hightligher
(and updated README.txt regarding these)---so no need to get the updated
archive if you're not interested in SDI or python syntax highlighting.
PS On the book's Prentice Hall web page it says Format: Cloth, whereas
the format is actually hardback.
--
Mark Summerfield, Qtrac Ltd
to USD:EUR exchange rates, or maybe they
dropped the price because they calculate that the loss in cover price
will be offset by more sales?
I just hope the books arrive soon!
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
a review (assuming
it is a nice one of course:-)
Kerri
On 10/29/07, Mark Summerfield [EMAIL PROTECTED] wrote:
On 2007-10-29, kib2 wrote:
Hi,
I just wanted to buy the book on Amazon.fr, and I saw something really
amazing :
price has changed from 58 euros to about 37 since
!
I will buy the book.
I hope you enjoy it!
In amazon.de the book costs 63,99 euros! :-s
Not anymore! This morning amazon.de had dropped the price to 50 EUR:-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
or by making it an instance variable, for example
(untested):
self.model = AModel()
self.ui.tableView.setModel(self.model)
# OR
self.ui.tableView.setModel(AModel(self))
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing list
)
self.setCentralWidget(splitter)
self.setWindowTitle(Two views onto the same directory model)
app = QtGui.QApplication(sys.argv)
t = ZeTest()
t.show()
app.exec_()
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
QAbstractItemModel.reset()---this will tell any views that
they must refresh all their visible data.
Getting hierarchical models working is tricky. You might find more help
in the C++ documentation:
http://doc.trolltech.com/4.3/model-view-programming.html
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
bookshop that
claims to have it is booktopia.com.au:
http://www.booktopia.com.au/rapid-gui-programming-with-python-and-qt-the-definitive-guide-to-pyqt-programming/prod9780132354189.html
at 58.45 AUD, but I have no personal knowledge of them so don't know if
they are good or not.
--
Mark Summerfield
maybe write something like this instead (untested):
self.paperSize.setWidth(self.paperSize.width() * \
(view.logicalDpiX() / float(printer.logicalDpiX)))
self.paperSize.setHeight(self.paperSize.height() * \
(view.logicalDpiY() / float(printer.logicalDpiY)))
--
Mark Summerfield
].setMaximumHeight(height)
checkboxes[i].setMinimumHeight(height)
mainLayout . addWidget ( checkboxes [ i ] )
Note that this might fail, for example if the font is changed
dynamically. It also means that the minimum size of the widget becomes
fixed (10 * (height + (2 * margin))).
--
Mark
On 2007-11-20, Shriramana Sharma wrote:
Mark Summerfield wrote:
height = QFontMetrics(window.font()).height()
checkboxes[i].setMaximumHeight(height)
checkboxes[i].setMinimumHeight(height)
Thanks. Adding these lines corrected the problem.
Note that this might fail
hints as to why the style of the control isn't being
updated as the state changes? Am I missing something crucial?
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
On 2007-11-20, Richard Smith wrote:
Mark Summerfield wrote:
I think for styles you must call setStyle() rather than update() to
apply a new (or modified) style.
Nope, that segfaulted... It did update the style before it segfaulted
though.
Well, if you're not mixing painting with calling
and write that to your .ps file.
Off Topic:
In lout (and many other apps) the -o option says write the postscript to
the filename following; do lout -v for a summary of all the options; and
don't use the PDF option, use ghostscript for PDF.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
reparented to that
widget, so even if you remove it from the layout its parent still has a
reference to it.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo
is that existing apps may break - but, then
again, they are broken anyway.
An alternative might be to automatically make a copy under the covers so
that wrapped C++ instances are never const.
I think this second way would be easier for users and seems perfectly
Pythonic.
--
Mark Summerfield, Qtrac
regarding the
lifetime of the default connection, so I'm passing the buck to Phil on
this one.
All I can suggest is trying to upgrade to Qt 4.3.3 and PyQt 4.3.3 and
seeing if the bugs have been fixed in those versions!
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
On 2008-01-10, Phil Thompson wrote:
On Thursday 10 January 2008, Mark Summerfield wrote:
On 2008-01-09, Sibylle Koczian wrote:
Hello,
[snip]
- After leaving the application I get the error message
QSqlDatabasePrivate::removeDatabase: connection
'qt_sql_default_connection' is still
)
form.show()
app.exec_()
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
.
--
-- Ewald
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
---in other methods).
If you prefer a more rigid consistency, you could simply not use super()
at all, and always use base class calls (rather like C++).
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
the examples and exercise solutions, and the errata are here:
http://www.qtrac.eu/pyqtbook.html
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
()
quitAction.connect(quitAction, SIGNAL(triggered()), app,
SLOT(quit())) #atray.connect(tray, SIGNAL(clicked()))
tray.setToolTip(Ale czad!)
tray.showMessage(Title of the message, Body of the message)
sys.exit(app.exec_())
Regards,
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
', 6)]
win = Table(data = d)
win.show()
sys.exit(App.exec_())
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
.
Have you tried
self.ui.CHNGSPBar.setValue(int(per))
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
versions of PyQt, Qt, and Python are you using? What operating
system are you using? As I mention at the beginning of chapter 12, this
example needs PyQt 4.1 (ideally PyQt 4.2) or later and Qt 4.2 or later.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
much for me - I
only want a handle between two areas of the window that the user can
drag, I don't need crazy floating windows)
QSplitter sounds like what you need.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
()
sys.exit(app.exec_())
if __name__ == '__main__':
main()
###
I've tried using different shortcut context: WindowShortcut,
WidgetShortcut, ApplicationShortcut, but it still doesn't work.
Any help greately appreciated.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
/mailman/listinfo/pyqt
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
. PyQt
6. QScintilla bindings
7. eric4
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, but if not you'll spot
it anyway.)
The article has been heavily edited for style so it doesn't read like my
usual writing, but the content is fine:-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http
On 2008-04-24, Giovanni Bajo wrote:
On 4/24/2008 12:30 PM, Mark Summerfield wrote:
Hi,
I've written a very short introductory article on using PyQt's Undo/Redo
framework. It is available here:
http://www.informit.com/articles/article.aspx?p=1187104
(The indentation of the last
++/Qt4 it should be useful to anyone
doing GUI programming with PyQt or any other toolkit.
Accelerator is licensed under the GNU General Public License v 3 open
source license and its source is available from
http://www.qtrac.eu/accelerator.html
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
visible to the user
In a QTableView it is possible to have a selected item that is not the
current item, in other words there are two different concepts selected
item and current item.
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing
:
app = QtGui.QApplication(sys.argv)
tw = TestWidget()
tw.show()
sys.exit(app.exec_())
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
and Trolltech solved that by providing some
static methods (that accept and return Java Strings) to fill the gaps;
the same could be done in PyQt.
My 2c;-)
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt
a
QString---which makes sense because in Python a char is just a str of
length 1, but maybe this particular case could be handled more
intuitively?
--
Mark Summerfield, Qtrac Ltd., www.qtrac.eu
___
PyQt mailing listPyQt@riverbankcomputing.com
http
On 2008-06-27, Hans-Peter Jansen wrote:
Am Freitag, 27. Juni 2008 schrieb Mark Summerfield:
Hi,
I got caught by this today:
from PyQt4.QtCore import *
s = QString(X)
c = QChar(X)
s[0] == c
False
s[0] == QString(c)
True
In C++/Qt
On 2008-06-27, Phil Thompson wrote:
On Fri, 27 Jun 2008 09:38:04 +0100, Mark Summerfield [EMAIL PROTECTED]
wrote:
Hi,
I got caught by this today:
from PyQt4.QtCore import *
s = QString(X)
c = QChar(X)
s[0] == c
False
s[0] == QString(c
builtins.hex(). But I'm hoping that in PyQt4 for Python 3, the * imports
will only import objects that begin with q or Q, forcing the handful of
objects that don't meet this criterion to either be imported explicitly
or accessed fully qualified. [Any comment on this, Phil?]
--
Mark Summerfield, Qtrac Ltd
2.6 isn't officially available yet I've tested against
release candidate 2 and the PyQt 4.4.4 snapshot and used the -3 flag.
I hope that this is useful to those who want to make the move to 2.6!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
be used in PyQt subclasses just like
any other subclasses.
;-)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
C++ GUI Programming with Qt 4 - ISBN 0132354160
___
PyQt mailing listPyQt
On 2008-10-03, Paul A. Giannaros wrote:
On Fri, Oct 3, 2008 at 5:08 PM, Mark Summerfield [EMAIL PROTECTED] wrote:
On 2008-10-03, Phil Thompson wrote:
On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach
Here's my personal wish list for Python 3/PyQt4 (including those that
Phil is going
something more
explicit: PyQt25/Qt4?
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
C++ GUI Programming with Qt 4 - ISBN 0132354160
___
PyQt mailing listPyQt@riverbankcomputing.com
http
it will return False.
[snip]
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
C++ GUI Programming with Qt 4 - ISBN 0132354160
___
PyQt mailing listPyQt@riverbankcomputing.com
http
or over how it is edited or both.
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
Rapid GUI Programming with Python and Qt - ISBN 0132354187
___
PyQt mailing listPyQt@riverbankcomputing.com
http
had hit the problem and maybe had a fix they could suggest?
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
Rapid GUI Programming with Python and Qt - ISBN 0132354187
___
PyQt mailing
separators are unknow chars for my computer.
You're getting the Unicode line break character. Add this line before
you print the text:
sel = sel.replace(u\u2029, \n)
Another : I saw that Mark Summerfield recently played with the Poppler
bindings for Qt4. Is there any port of it for PyQt ? I
))
You can find out what fonts are availabe to Qt using QtGui.QFontDatabase().
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
Programming in Python 3 - ISBN 0137129297
___
PyQt mailing list
is all in code the .py version's form is a .ui file)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
C++ GUI Programming with Qt 4 - ISBN 0132354160
___
PyQt mailing listPyQt
not resize
down, so that's the only case you have to fix---but I don't think it is
easy to do!
Thanks again, and by the way: your book is great!
Thanks:-D
Wim
On Wed, Oct 29, 2008 at 4:02 PM, Mark Summerfield [EMAIL PROTECTED] wrote:
On 2008-10-29, Wim Verhavert wrote:
I already found out
.
Note: The only GUI coverage is of tkinter! (But still worth reading just
to see what a pure joy PyQt is by comparison;-)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
___
PyQt mailing listPyQt
of the name is silly...
Yes, but it has precedents in PyQt already, e.g. QApplication.exec_().
(and in my previous mail when I said David I actually meant Mark,
happy new year ;-) )
Understandable since David is a much more regular poster than I am:-)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
On 2009-01-09, Steven Woody wrote:
Hi,
I want to use PyQt but I don't get experience with Qt itself. What's
the best learning path to me? Any suggestion will be highly
appreciated!
Well obviously the first step is to buy my book:-)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C
in statement.transactions:
...
mysticism?
Hi Denis,
I get exactly the same problem as you do with Qt 4.4, so it looks to me
like a Qt (or PyQt) bug that was not present in Qt 4.3.
My preferred workaround is:
painter.setPen(Qt.NoPen)# workaround
painter.setPen(Qt.black)
--
Mark
On 2009-01-16, Frédéric wrote:
Le 16/1/2009, Mark Summerfield m...@qtrac.eu a écrit:
QPlainTextEdit is optimized for use as a log display and has
appendHtml() and appendPlainText(). For Qt 4.3 or earlier use QTextEdit
or QTextBrowser instead.
Thanks, Mark. So, you suggest I subclass
On 2009-01-16, Frédéric wrote:
On vendredi 16 janvier 2009, Mark Summerfield wrote:
If you have 100K + log lines then a list model + QListView (+ custom
delegate if you want fine control over rendering); but anything less and
QPlainTextEdit + a simple data class should be fine. (I'm
.
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
Programming in Python 3 - ISBN 0137129297
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo
1 - 100 of 163 matches
Mail list logo