From 4feca443fb45a87fa971fe7f24c9dd3128643c19 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sun, 22 Jan 2023 15:01:29 +0100 Subject: temporary commit to show changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- examples/SQL/README | 6 +++--- examples/SQL/connect.ui.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/SQL') diff --git a/examples/SQL/README b/examples/SQL/README index 823937f..eae6761 100644 --- a/examples/SQL/README +++ b/examples/SQL/README @@ -25,12 +25,12 @@ sqltable4.py: sqlsubclass5.py: - Similar to the former, and even more deviated from its qt ancestor, + Similar to the former, and even more deviated from its TQt ancestor, because the sense escaped me. This could be related to the different database layout needed for MySQL (Trolltech used PostgreSQL sequences, while we're using the simpler, but less powerful auto_increment here). If you enter and invalid date (e.g. day: 0) in the Paid column, it is - shown as "not yet", but produces some qt warnings. + shown as "not yet", but produces some TQt warnings. runsqlex.py, sqlex.ui, sqlex.ui.h, connect.ui, connect.ui.h: @@ -63,7 +63,7 @@ DB_USERNAME = "name" DB_PASSWORD = "pass" The dbconnect.py script is generated from dbconnect.ui, which was created -with qt's designer. You can find it also in Boudewijn Rempt's book +with TQt's designer. You can find it also in Boudewijn Rempt's book "GUI Programming with Python, using the TQt Toolkit". Although you won't find the SQL widgets discussed there, for the simple reason of the book being written before they appeared, it is a valuable source for anybody new in diff --git a/examples/SQL/connect.ui.h b/examples/SQL/connect.ui.h index fd37494..685f650 100644 --- a/examples/SQL/connect.ui.h +++ b/examples/SQL/connect.ui.h @@ -10,7 +10,7 @@ void ConnectDialog::init() { from PyTQt.tqtsql import TQSqlDatabase -#qDebug("ConnectDialog init") +#tqDebug("ConnectDialog init") self.comboDriver.clear() self.comboDriver.insertStringList(TQSqlDatabase.drivers()) } -- cgit v1.2.3