Re: [PyQt] Camelot 13.04.13 released

2013-04-16 Thread Sibylle Koczian
Am 12.04.2013 12:03, schrieb Erik Janssens: Hello, Camelot 13.04.13 has been released. Camelot provides components to build business applications on top SQLAlchemy and PyQt. For screenshots, see : http://www.python-camelot.com/ An overview of the changes can be found here :

Re: [PyQt] Win 7, 64 bit, latest PyQt installer: importing QtGui fails

2013-04-03 Thread Sibylle Koczian
Am 02.04.2013 10:31, schrieb Phil Thompson: As I have said, I (and presumably most other people) cannot reproduce the problem. One possibility is a missing DLL - try installing a DLL dependency checker to see if that identifies it. Thank you, yes, it did. Installing the DirectX9 end user

[PyQt] Win 7, 64 bit, latest PyQt installer: importing QtGui fails

2013-04-01 Thread Sibylle Koczian
Hello, I've just installed the latest PyQt4 with this installer: http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10/PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe Installation seemed to work normally, but now I can't import QtGui: Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC

Re: [PyQt] Win 7, 64 bit, latest PyQt installer: importing QtGui fails

2013-04-01 Thread Sibylle Koczian
Am 01.04.2013 13:43, schrieb Sibylle Koczian: Hello, I've just installed the latest PyQt4 with this installer: http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10/PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe Installation seemed to work normally, but now I can't import QtGui: Python 3.3.0

[PyQt] Model/view: values of type Decimal not shown

2012-07-26 Thread Sibylle Koczian
Hello, I don't know how to get numeric data from my model to my GUI, if they aren't floats but decimal.Decimal. In the following example the last column of the view and the last QLineEdit of the form both stay empty. The model data are printed to the console and it can be seen that the model

[PyQt] QStandardItemModel: problems with non-string data

2012-07-04 Thread Sibylle Koczian
Hello, I want to show records containing a numeric field and a date field in a QTableView connected to a QStandardItemModel. The numeric field: if that gets its value from a floating point literal, this value is displayed in the view. If the value comes from a database table the view

Re: [PyQt] PyQt4.QtCore not a valid Win32 application - with windowsinstaller

2010-01-10 Thread Sibylle Koczian
Hello, I posted this a week ago, but didn't get any answer at all. So I'm trying again, because I really would like to use PyQt again, and I'd definitely prefer the Windows installer, if at all possible. Sibylle Koczian schrieb: Hello, trying to import PyQt4.QtCore I get this: Python

[PyQt] PyQt4.QtCore not a valid Win32 application - with windows installer

2010-01-03 Thread Sibylle Koczian
to be installed - but it's there, in C:\Python31, and afterwards it was found without manual intervention. What's the matter here? Thank you, Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] Subclassing QSqlQueryModel, making one column checkable

2009-08-16 Thread Sibylle Koczian
=QtCore.Qt.EditRole): ##if index.column() == 1 and role == QtCore.Qt.CheckStateRole: ##chk = value.toBool() ##if chk: ##??? (check item, but how?) Thank you for all hints, Sibylle -- Sibylle Koczian ___ PyQt

[PyQt] Re: Pressing enter in QLineEdit clicks QPushButton?

2009-06-24 Thread Sibylle Koczian
Message: 1 Date: Tue, 23 Jun 2009 14:41:20 +0200 From: V. Armando Sol? s...@esrf.fr Subject: Re: [PyQt] Pressing enter in QLineEdit clicks QPushButton? To: Mads Ipsen m...@comxnet.dk Cc: Sibylle Koczian sibylle.kocz...@t-online.de,PyQt-Liste pyqt@riverbankcomputing.com Mads

Re: [PyQt] Pressing enter in QLineEdit clicks QPushButton?

2009-06-23 Thread Sibylle Koczian
Mads Ipsen schrieb: projetmbc wrote: 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

Re: [PyQt] Pressing enter in QLineEdit clicks QPushButton?

2009-06-22 Thread Sibylle Koczian
Mads Ipsen m...@comxnet.dk schrieb: Sibylle Koczian wrote: Hello, I've got a dialog with a QLineEdit and a QPushButton. The QLineEdit is connected to a method which takes its text and appends it to a QTextBrowser (that's taken from the first GUI example in the PyQt book by M

[PyQt] Pressing enter in QLineEdit clicks QPushButton?

2009-06-20 Thread Sibylle Koczian
. With setAutoDefault(false) for this button and for the exit button which follows in tab order I can prevent this behavior, but that isn't really very comfortable. And it shouldn't be necessary, should it? All this on openSUSE with Python 2.6, PyQt 4.4.4. Thank you for help, Sibylle -- Sibylle

Re: [PyQt] QSqlTableModel: how to check the UPDATE statement inside the model?

2008-03-17 Thread Sibylle Koczian
Am Dienstag, 11. März 2008 23:11:31 schrieb Hans-Peter Jansen: Am Dienstag, 11. März 2008 schrieb Sibylle Koczian: Hello, somewhere in the QSqlTableModel code there must be SQL statements for UPDATE, INSERT and DELETE, to make the model editable. Right? I can't find methods to view

[PyQt] QSqlTableModel: how to check the UPDATE statement inside the model?

2008-03-11 Thread Sibylle Koczian
either. INSERT works as expected. If I could execute the UPDATE statement used by the model in the command line client, I might find out what happens - a bug in my trigger is quite probable. But for this I have to know this statement. Can anybody help me? Thank you, Sibylle -- Dr. Sibylle

Re: [PyQt] Standard font in PyQt applications (Eric included)

2008-02-14 Thread Sibylle Koczian
apps. Many thanks, that did it. Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Standard font in PyQt applications (Eric included)

2008-02-13 Thread Sibylle Koczian
information would be useful? No change of fonts in other applications, including KDE itself. Regards, Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] problem in variable usage in sql statement

2008-02-09 Thread Sibylle Koczian
prepare and bindValue? -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] View made updatable by trigger - no update in QTableView

2008-01-28 Thread Sibylle Koczian
) if not connection_fb.createConnection(): sys.exit(1) editor = TableEditor(phone_list) editor.show() sys.exit(app.exec_()) What is wrong? I will try to reproduce the problem on SQLITE, but that may take a little time. Thank you, Sibylle -- Dr. Sibylle Koczian

Re: [PyQt] How to communicate with mysql?

2008-01-27 Thread Sibylle Koczian
you had created a QApplication or a QCoreApplication object? That won't work and the error messages aren't very helpful for this case. I can't test your code, because I don't have MySQL installed. HTH Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing

Re: [PyQt] Creating an action with a verbose signal

2008-01-25 Thread Sibylle Koczian
has been called. Any hint's how to solve this? QObject.sender() or QSignalMapper or Connect to a lambda function that calls blubb with the action as an argument. or import functools ... connect to functools.partial(blubb, filename) -- Dr. Sibylle Koczian

[PyQt] QSqlQuery / Firebird: alternating two prepared queries

2008-01-23 Thread Sibylle Koczian
() print data # Transaction use 2 #QSqlDatabase.database().commit() except DatabaseError, e: print e finally: QSqlDatabase.database().close() print 'Ready.' if __name__ == '__main__': main(sys.argv) -- Dr. Sibylle Koczian

[PyQt] PyQt book: problem with database example

2008-01-09 Thread Sibylle Koczian
, all queries will cease to work. I have had this message in my own programs - it went away, when I didn't define a main funktion, but put its content directly under if __name__ == '__main__':. But I never understood why this should be so. Thank you for hints, Koczian -- Dr. Sibylle Koczian

Re: [PyQt] QSqlQuery: one parameter in two different places?

2008-01-02 Thread Sibylle Koczian
IS NULL AND ausg_datum ? Again '?' in place of values for the parameters, but this time it works. Should I send a little more code to make a complete example? Or does this tell enough about the problem? Thank you, Sibylle -- Dr. Sibylle Koczian

[PyQt] QDateEdit keeps me strictly in current month

2008-01-02 Thread Sibylle Koczian
) form = TestDateDlg() form.show() app.exec_() -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] QSqlQuery: one parameter in two different places?

2008-01-01 Thread Sibylle Koczian
parameter name in two different places of the query, if I want to use the same value twice? Thank you, Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] qtable data source

2007-12-23 Thread Sibylle Koczian
Am Sonntag, 23. Dezember 2007 06:50:44 schrieb nishith datta: hi all, I wish to show the output of my sql query in a table. I am unable to do that. Can someone point out some resource / example or documentation to help me out. thanks in advance http://doc.trolltech.com/4.0/sql.html

Re: [PyQt] QDataWidgetMapper

2007-12-03 Thread Sibylle Koczian
Am Montag, 3. Dezember 2007 08:45:43 schrieben Sie: On Sun, 2007-12-02 at 12:00 +0100, Sibylle Koczian wrote: Did you solve your problem? I've tried several variations, but the only one that did help was putting your data into a QStandardItemModel. Yes, sorry for not getting back here

Re: [PyQt] QDataWidgetMapper

2007-12-02 Thread Sibylle Koczian
Hello, Daniel, Am Montag, 26. November 2007 13:59:52 schrieb Daniel Lundqvist: Hey, I've been struggling to get the above to work correctly. I've looked around but haven't found a solution to my problem yet. The issue I'm having is I can't get the mapper to update the widgets at all. Not

Re: [PyQt] QDataWidgetMapper

2007-11-27 Thread Sibylle Koczian
using a QDataWidgetMapper in the same window? Looks very strange. Just replacing one riddle by a new one, I'm afraid. -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How to use QButtonGroup?

2007-11-27 Thread Sibylle Koczian
Am Sonntag, 25. November 2007 23:58:52 schrieb David Boddie: On Sun Nov 25 14:05:39 GMT 2007, Sibylle Koczian wrote: I'm reading the documentation about QButtonGroup and QGroupBox and I don't quite understand the relationship between them. I think the relationship between them in Qt 3

Re: [PyQt] QDataWidgetMapper

2007-11-27 Thread Sibylle Koczian
Am Dienstag, 27. November 2007 20:02:51 schrieb Sibylle Koczian: I'm just playing with the QDataWidgetMapper myself, so I looked at your project and tried some changes. Changing the model to a QStandardItemModel, QSqlQueryModel, QSqlTableModel (with a SQLite memory database) didn't help

[PyQt] How to use QButtonGroup?

2007-11-25 Thread Sibylle Koczian
and the QButtonGroup. I have to put each of my radio buttons into the box _and_ into the buttongroup. Right, or did I overlook something? Thank you, Koczian -- Dr. Sibylle Koczian Fasanenstraße 12 82293 Mittelstetten ___ PyQt mailing listPyQt

Re: [PyQt] How to close QSqlDatabase connection?

2007-11-18 Thread Sibylle Koczian
Am Mittwoch, 14. November 2007 16:13:43 schrieb Sibylle Koczian: I will try to find out more: can I put part of the code into main(), but not all of it? Can I use such a function, if I don't call it main()? And I will certainly use another database backend (firebird), but at the moment I

Re: [PyQt] How to close QSqlDatabase connection?

2007-11-14 Thread Sibylle Koczian
Am Montag, 12. November 2007 20:55:20 schrieb Hans-Peter Jansen: Am Montag, 12. November 2007 schrieb Sibylle Koczian: So I looked around and saw that I had this: def main(args): app = QtGui.QApplication(args) if not visa_conn(): sys.exit(1) visa_mf = VisaMF

Re: [PyQt] How to close QSqlDatabase connection?

2007-11-12 Thread Sibylle Koczian
with. And I've not used PyQt3 beyond a little playing around with the tutorial. Am Sonntag, 11. November 2007 schrieb Sibylle Koczian: Hello, I'm trying to write a very small database application, but I can't get rid of this error message when I close the main window: QSqlDatabasePrivate

[PyQt] How to close QSqlDatabase connection?

2007-11-11 Thread Sibylle Koczian
additional info should I give? Using qt-4.3.1, PyQt4-4.3.1, Python 2.5.1, Gentoo Linux. Thanks for every hint, Sibylle -- Dr. Sibylle Koczian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Sibylle Koczian
Tina I schrieb: pyuic4 produces this line in my 'gui file': MainWindow.setWindowIcon(QtGui.QIcon(../log.png)) The icon is stored in the same directory as the application it self. I guess I'm missing something, I just don't have any idea what. So if somebody could provide me with a

Re: [PyKDE] QLayout parent

2007-01-28 Thread Sibylle Koczian
says addChildLayout is called from addLayout - and I suppose addLayout does more than just this call. Trying your example with this change worked for me, at all events. HTH, Sibylle -- Dr. Sibylle Koczian Fasanenstrasse 12 D-82293 Mittelstetten

Re: [PyKDE] Model-View application: view not updated

2006-12-19 Thread Sibylle Koczian
-- Dr. Sibylle Koczian Fasanenstraße 12 D-82293 Mittelstetten ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] Model-View application: view not updated

2006-12-17 Thread Sibylle Koczian
could try out the SQL models with this. The cachedtable example should be a good start. Thank you for your help, Sibylle -- Dr. Sibylle Koczian Fasanenstraße 12 D-82293 Mittelstetten ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http

Re: [PyKDE] Model-View application: view not updated

2006-12-16 Thread Sibylle Koczian
Andreas Pakulat [EMAIL PROTECTED] schrieb: On 15.12.06 16:17:21, Sibylle Koczian wrote: The problem is with the cancel button: the changed records are only changed back after the window lost focus - the view isn't updated directly after clicking the button. It _is_ updated after changing

Re: [PyKDE] Small database application - best way?

2006-11-28 Thread Sibylle Koczian
Matt Newell [EMAIL PROTECTED] schrieb: On Monday 27 November 2006 00:50, Sibylle Koczian wrote: snipped... Double clicking, pressing F2 or Enter in a cell in one of the editable columns doesn't select the text of this cell, as it does in the example programs with editable models. Instead

Re: [PyKDE] Small database application - best way?

2006-11-27 Thread Sibylle Koczian
Very sorry: that should have gone to the list! Koczian David Boddie [EMAIL PROTECTED] schrieb: On 21 Nov 2006 10:29 GMT, Sibylle Koczian wrote: David Boddie [EMAIL PROTECTED] schrieb: Have you put the QTableView in a layout, or did you use QMainWindow for the window and set

[PyKDE] Small database application - best way?

2006-11-19 Thread Sibylle Koczian
Hello, I'm trying to migrate a small database application originally written in Delphi 6.0 to Python. It's for my own use, so it needs a GUI only for some parts. For these parts I'd like to use PyQt, but at the moment I don't really see my way. The first problem I'm trying to solve: The main

[PyKDE] Re: sender info in Python slot

2006-11-12 Thread Sibylle Koczian
of the ButtonWidget example in the C++ docs to run, there I'd made quite a simple error. Sibylle -- Dr. Sibylle Koczian Fasanenstrasse 12 D-82293 Mittelstetten ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de

[PyKDE] Re: sender info in Python slot

2006-11-11 Thread Sibylle Koczian
Hello, I'm choosing this post to answer, because it contains the other possibilities. Jeremy Sanders wrote: On Thu, 9 Nov 2006, Andreas Pakulat wrote: On 09.11.06 16:43:00, Sibylle Koczian wrote: hopefully the subject line isn't too misleading. This is my problem: I would like

[PyKDE] sender info in Python slot

2006-11-09 Thread Sibylle Koczian
? Using PyQt 4 with Python 2.4. Thank you, Koczian -- Dr. Sibylle Koczian Fasanenstrasse 12 D-82293 Mittelstetten ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[PyKDE] Python und GUI-Toolkits

2004-06-02 Thread Sibylle Koczian
under SuSE Linux 9.1. I hear SIPv4 should solve both problems, but I don't see how that update can get round the fact of the circular reference. Koczian Dr. Sibylle Koczian Universitaetsbibliothek, Abt. Naturwiss. D-86135 Augsburg Tel.: (0821) 598-2400, Fax : (0821) 598-2410 e-mail : [EMAIL