Am 22.05.2012 00:15, schrieb Erik Janssens:
you could give Camelot a try ...
http://www.python-camelot.com/
Is Camelot usable with Python 3? I can't find out for sure from the
website, but I suspect it's not (Windows installer only for Python 2.7).
Thank you,
Sibylle
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 column
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
.3.1-36.5, running 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.:
nd I suspect
the problem might lie here.
Using PyQt 3.12, sip 4.0, Python 2.3.3 on SuSE Linux 9.1.
How can I set the number of columns in a listbox to a fixed value greater
than 1?
Thank you,
Koczian
Dr. Sibylle Koczian
Universitaetsbibliothek, Abt. Naturwiss.
D-86135 Augsburg
Tel.: (0821
2.6, PyQt 4.4.4.
Thank you for help,
Sibylle
--
Sibylle Koczian
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
"Mads Ipsen" 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
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 ev
> Message: 1
> Date: Tue, 23 Jun 2009 14:41:20 +0200
> From: "V. Armando Sol?"
> Subject: Re: [PyQt] Pressing enter in QLineEdit clicks QPushButton?
> To: Mads Ipsen
> Cc: Sibylle Koczian ,PyQt-Liste
>
>
> Mads Ipsen wrote:
>> rom the manual
role=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
___
w saying Python 3.1. "doesn't seem 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
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 ge
bility, but is
there a simpler way?
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
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.
ing it down should help, thanks
for the tip. In the meantime I got a python translation 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
___
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 wind
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 layou
"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
Hello,
I'm slowly progressing with my small database application, which means
that I've got a new question.
In its present state the application contains a QTableView with a model
subclassed from QAbstractTableModel. I used the sqlcursorview.py example
from the EuroPython 2006 examples and extend
"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
, as far as I
can see (Synaptic says "PostgreSQL, MySQL, SQLite"). Qt4's configure:
that would be the configure step as in "configure / make / make
install", right?
At the moment I'm playing with a SQLite database containing part of my
data. So I could try out the SQL mo
ill take time. I've
learnt the basics years ago, but then I got a Delphi 1 Demo CD and that
was that (Python came much later).
Sibylle
--
Dr. Sibylle Koczian
Fasanenstraße 12
D-82293 Mittelstetten
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
dLayout. The documentation 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
Fasa
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
emoveDatabase, but that doesn't change anything. What's wrong? Or what
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
ataTable to start 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
> >
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 vi
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 (f
QGroupBox 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 li
eEdit controls using a QDataWidgetMapper. That works.
Could it be that you can't mix controls using a model directly and controls
using a QDataWidgetMapper in the same window? Looks very strange.
Just replacing one riddle by a new one, I'm afraid.
--
Dr. 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
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 &
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.
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,
d I subscribe to the Eric mailing list for such questions?
Thank you,
Sibylle
--
Dr. Sibylle Koczian
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Am Mittwoch, 12. Dezember 2007 08:46:48 schrieb jul:
> Hi,
> In the project browser, select the form tab and you should directly
> compile ui files by selecting "Compile form" in the contextual menu.
> This will add a "you_form_name.py" in Python source files browser.
> ++
> Jul.
>
Thanks to you
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.htm
ry.exec()
the update works as expected. Can't I use the same 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
which is correct)
lastQuery: UPDATE ausgaben SET abrech_datum = :a_datum
WHERE abrech_datum IS NULL AND ausg_datum < :b_datum
executedQuery: UPDATE ausgaben SET abrech_datum = ?
WHERE abrech_datum IS NULL AND ausg_datum < ?
Again '?' in place of values fo
#x27;).arg(newdate))
if __name__ == '__main__':
app = QApplication(sys.argv)
form = TestDateDlg()
form.show()
app.exec_()
--
Dr. Sibylle Koczian
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ion' is still in use, 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 t
7;total_value) VALUES (:po_number, :cust_no, '
':sales_rep, ':total_value)')
new_custno = QVariant()
for data in newData:
# Transaction use 1
#QSqlDatabase.database().transaction()
if data.startswith('C'):
ct 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 mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
database "test"
exist? And is Qt configured with MySQL support?
Or did you perhaps call these methods before you had created a QApplication or
a QCoreApplication object? That won't work and the error messages aren't very
helpful for
app = QtGui.QApplication(sys.argv)
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
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
;%s'
> """ % chosen)
>
Why not use prepare and bindValue?
--
Dr. Sibylle Koczian
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
can have happened? Which 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
hen you can set
> fonts for all qt4 apps.
>
Many thanks, that did it.
Sibylle
--
Dr. Sibylle Koczian
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
any error messages, but no updates 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?
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. Righ
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
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:
Py
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 runt
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 :
http://www.pytho
54 matches
Mail list logo