Re: [Interest] QTableView and deselect entries

2025-05-21 Thread Petric Frank via Interest
Sorry - this mail was meant to all not specifically to Axel Spoerl. Am 21.05.25 um 10:07 wrote Petric Frank via Interest: Hello, using clearSelection the current selected item will be unselected. But as stated in the doc for QAbstractItemView it will not invalidate the current index. The

[Interest] QTableView and deselect entries

2025-05-21 Thread Petric Frank via Interest
Hello, using clearSelection the current selected item will be unselected. But as stated in the doc for QAbstractItemView it will not invalidate the current index. The only method i found so far is QAbstractItemView::reset. This also scolls the list to top. Is there a way to reset the curre

Re: [Interest] lrelease before compiling qrc

2023-11-07 Thread Petric Frank
Hello, Am Dienstag, 7. November 2023, 15:54:07 CET schrieb Robert Hairgrove via Interest: > On 07.11.23 14:59, Petric Frank wrote: > > Hello, > > > > in my app i have translation files. I added them to the qrc-file because i > > > > want to load the translation

[Interest] lrelease before compiling qrc

2023-11-07 Thread Petric Frank
Hello, in my app i have translation files. I added them to the qrc-file because i want to load the translations from resource: app-de_DE.qm app-en_US.qm They are are generated from *.ts files. In *.pro i added CONFIG += lrelease TRANSLATIONS = app-de_DE.ts \

[Interest] Qt Installer Framework - add menu entries under Linux

2023-09-09 Thread Petric Frank
Hello, there is an example to add start menu entries for the windows platform. But how to do it for the Linux platform - here: Debian 12 (Bookworm) ? Platform: Debian 12 WM: KDE Plasma Qt 5.15.2 (by Online Installer from qt.io) Any hints ? ___ Inte

Re: [Interest] QtLocation Maps and own tile server

2023-08-15 Thread Petric Frank
Hello Am Dienstag, 15. August 2023, 22:05:17 CEST schrieb Petric Frank: > Hello, > > i've set up an own tile server according the docs from > https://switch2osm.org/ > serving-tiles/manually-building-a-tile-server-debian-12/ > > It is working well when i use leaflet too

[Interest] QtLocation Maps and own tile server

2023-08-15 Thread Petric Frank
Hello, i've set up an own tile server according the docs from https://switch2osm.org/ serving-tiles/manually-building-a-tile-server-debian-12/ It is working well when i use leaflet tool as shown in the document above. The URL is http://192.168.2.180/hot/ Now i took use the following qml to displ

[Interest] QtLocation and API key

2023-08-07 Thread Petric Frank
Hello, i compiled the example "minimal_map". It runs well except there is a watermark "API Key Required" at the picture. By reading some web pages (here: https://uxper.gitbook.io/wp-golo/faqs/how-to-create-an-api-key-for-openstreetmap) it seems you can obtain one from MapBox. But how to integra

[Interest] QBluetoothDeviceDiscoveryAgent address

2023-02-13 Thread Petric Frank
Hello, If i understand the docs correctly QBluetoothDeviceDiscoveryAgent allows to pass an address on creation to select a local device to be used. Given there is more than one local bluetooth device - what is the result of omitting the address ? Are all devices used or only the first one ? kin

[Interest] Print Preview with different page orientations in one document

2022-11-02 Thread Petric Frank
Hello, i try to print a document mixed Portait/Landscape pages. Platform ist Linux Qt is at version 5.15.5 The first page should be shown in portait, the second in landscape. But here all pages are shown in landscape. The preview always uses the same page height (here: the one of landscape). Wh

[Interest] DB Nested Transactions and SQLite driver

2019-08-05 Thread Petric Frank
Hello, does the SQLite driver support nested transactions ? I looked at the docs. What i found so far: SQLite itself supports transactions, but no nested ones using the "BEGIN TRANSACTION" SQL statement. Instead you have to use the SQL statements - SAVEPOINT - RELEASE - ROLLBACK TO as docume

Re: [Interest] Using Postgres Views

2017-06-18 Thread Petric Frank
Hello, don't know what happened - rebooting the machine running the SQL-server got it working again ... regards Petric Am Sonntag 18 Juni 2017, 05:45:29 schrieb Petric Frank: > Hello, > > i want to use PostgrSQL views from QSqlTableModel. Here this does not wor

[Interest] Using Postgres Views

2017-06-17 Thread Petric Frank
Any hints ? kind regards Petric Frank ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Writing big pictures to file

2017-04-05 Thread Petric Frank
Hello, i have an application which writes pictures to *.png files. Some of them are getting rather big - width becomes in the range on 15 pixels. If the width grows above about 32k the file is somehow corrupt. Symptom here is that all drawings with x coordinates > 32K are cutted in the gene

[Interest] QGraphicsScene and writing to file

2016-09-28 Thread Petric Frank
Hello, i have a QGraphicsScenewhich i want to write to a file (*.png, ...). As documrmtation states i use the following: --- cut --- QGraphicsScene[1] scene; // previously filled QRectF rect = scene->sceneRect (); QImage img (rect.width () + 1, rect.height

[Interest] Code for creating Excel documents

2016-09-01 Thread Petric Frank
Hello, some time ago i asked for code/libs to write Excel documents. Now i came across this project: https://github.com/dbzhang800/QtXlsxWriter It seems to be able to create *.xlsx documents. This for anyone who is looking also for such a thing. If someone has already used this i would like

[Interest] QAxWidget and Winword

2014-02-14 Thread Petric Frank
Hello, i use QAxWidget/QAxObject to automate a mailmerge process. The Mailmerge works well, but at end i find three Winword.exe processes in the task manager left over. A subsequent run adds 3 additional Winword processes and so on. At the end i get an interval error dialog box from Winword. T

Re: [Interest] QGraphicsWidget and custom QToolTip

2014-01-22 Thread Petric Frank
--- Hope that helps someone. regards Petric P.S.: Sorry for top-posting Am Mittwoch, 22. Januar 2014, 18:40:43 schrieb Petric Frank: > Hello Oliver, > > Am Mittwoch, 22. Januar 2014, 08:21:11 schrieb Till Oliver Knoll: > > Am 21.01.2014 um 20:25 schrieb Petric Frank : > >

Re: [Interest] QGraphicsWidget and custom QToolTip

2014-01-22 Thread Petric Frank
Hello Oliver, Am Mittwoch, 22. Januar 2014, 08:21:11 schrieb Till Oliver Knoll: > Am 21.01.2014 um 20:25 schrieb Petric Frank : > > ...QGraphicsWigdet. Only texts (w/ reduced HTML) can be > > passed to the setTooltip method. The class i meant QGraphicsItem, not QGraphicsWidg

[Interest] QGraphicsWidget and custom QToolTip

2014-01-21 Thread Petric Frank
Hello, i want to extend the QTooltip class to embed a dynamically created picture also. It is placed in a QPixmap instance (or alike) but not on disk. The idea is to derive QTootip (handling this picture) and pass it as tool tip in a QGraphicsWidget (or a derivation of it). But there is no pub

Re: [Interest] Qt builds

2013-03-20 Thread Petric Frank
Hello, answering my own question ... Am Mittwoch, 20. März 2013, 23:22:09 schrieb Petric Frank: > Hello, > > Am Mittwoch, 20. März 2013, 09:54:35 schrieb Алексей Павлов: > > Hi! > > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded > > with MinG

Re: [Interest] Qt builds

2013-03-20 Thread Petric Frank
Hello, Am Mittwoch, 20. März 2013, 09:54:35 schrieb Алексей Павлов: > Hi! > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded with > MinGW-w64 toolchains. > Links: > Qt-5.0.2-preview-x32.7z xternal-binary-packages/Qt-Builds

[Interest] Buildiing SQL plugins using Qt5-SDK

2013-02-04 Thread Petric Frank
Hello, i want to create the MySQL plugin for the Qt5 SDK (Qt 5.0.1 + QtCreator 2.6.2) deivered a week ago. I earlier versions there was an package manager tool (i can't remember the exact name). This tool was able to download the pre-configured Qt sources (matching to the Qt libs in the SDK).

Re: [Interest] QSqlTableModel and transactions

2013-01-05 Thread Petric Frank
Hello Mark, Am Freitag, 4. Januar 2013, 13:23:59 schrieb Petric Frank: > > > NB.: If i do a revert or select call on QSqlDatabase having > > > un-submitted data after the rollback i get a 'Vector index out of > > > range' trap from inside the qt-lib. This mig

Re: [Interest] QSqlTableModel and transactions

2013-01-04 Thread Petric Frank
Hello Mark, Am Freitag, 4. Januar 2013, 12:03:22 schrieb Mark Brand: > > i ran into an issue using transactions together with QSqlTableModel. > > > > Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal > > buffer is not updated to reflect this. So it still shows the data befor

[Interest] QSqlTableModel and transactions

2013-01-03 Thread Petric Frank
Hello, i ran into an issue using transactions together with QSqlTableModel. Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal buffer is not updated to reflect this. So it still shows the data before the rollback. Is there a signal or other method to detect a rollback ? Thi

Re: [Interest] Problem compiling Qt5 on Windows using MinGW64

2012-12-20 Thread Petric Frank
Hello, Am Freitag, 21. Dezember 2012, 01:28:02 schrieb Petric Frank: > Hello, > > sorry - the file is really existing is the source > > Am Freitag, 21. Dezember 2012, 01:13:31 schrieb Petric Frank: > > Hello, > > > > due the release does not have a Windows

Re: [Interest] Problem compiling Qt5 on Windows using MinGW64

2012-12-20 Thread Petric Frank
Hello, sorry - the file is really existing is the source Am Freitag, 21. Dezember 2012, 01:13:31 schrieb Petric Frank: > Hello, > > due the release does not have a Windows version for the MinGW compiler i > tried it myself. > > The qt source is located at C:\qt-everywhere-op

[Interest] Problem compiling Qt5 on Windows using MinGW64

2012-12-20 Thread Petric Frank
Hello, due the release does not have a Windows version for the MinGW compiler i tried it myself. The qt source is located at C:\qt-everywhere-opensource-src-5.0.0 The build directory is at C:\Qt\qt-5.0.0-build And is should install the compile results to C:\Qt\qt-5.0.0 Additionally i renamed Qt

Re: [Interest] Problem using mariadb client lib (LGPL) when compiling Qt5

2012-12-19 Thread Petric Frank
Hello Bo, Am Mittwoch, 19. Dezember 2012, 12:58:21 schrieb Bo Thorsen: > Hi Petric, > > Den 19-12-2012 07:55, Petric Frank skrev: > > i tried to compile Qt5 (platform: Windows) using mingw with mysql plugin > > enabled. > > > > But it fails telli

[Interest] Problem using mariadb client lib (LGPL) when compiling Qt5

2012-12-18 Thread Petric Frank
Hello, i tried to compile Qt5 (platform: Windows) using mingw with mysql plugin enabled. But it fails telling that the preprocessor variable MAX_BIGINT_WIDTH is not defined. The last lines of the compile output looks like this: -- cut ---

[Interest] Provide MariaDB client lib bundled with Qt

2012-12-02 Thread Petric Frank
Hello, as i've seen an announcment at http://www.skysql.com/blogs/jean-jerome-schmidt/skysql-monty-program- release-mariadb-client-library-c-and-mariadb-client-l releasing a MySQL/MariaDB client lib as LGPL. Could it be bundled with future Qt deliveries ? kind regards Petric ___

Re: [Interest] QLIneEdit Bug still valid ?

2012-07-16 Thread Petric Frank
Hello René, so patching this location to pass false as additional third parameter should fix the issue, right ? regards Petric Am Dienstag, 17. Juli 2012, 01:06:43 schrieb Constantin Makshin: > It works incorrectly only when the validator changes the text. > > The cause is QLineControl::fixu

Re: [Interest] QLIneEdit Bug still valid ?

2012-07-15 Thread Petric Frank
nion a crude solution. If you have more than a couple of line edits in your applications you have a lot mode "uneccessary code" in your application. But wouldn't it better to be fixed the library itself ? regards Petric > On Sun, Jul 15, 2012 at 5:45 AM, Petric Frank wrote: >

[Interest] QLIneEdit Bug still valid ?

2012-07-15 Thread Petric Frank
Hello, developing an application using Qt 4.8.2 (Linux) i stumbled over a bug with QLineEdit. I used the signal textEdited(const QString &). According to the documentation this signal should not be emitted when i change the item using setText(const QString &). Despite the spec it is emitted at

Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Petric Frank
Hello, http://xlslib.sourceforge.net/ may be a solution. regards Petric Am Donnerstag, 5. Juli 2012, 10:45:51 schrieb Fabio Giovagnini: > Hi all, > I'd like to study how to write a .xls file using a qt program. > > Thanks in advance for help > > Fabio Giovagnini > > ___

Re: [Interest] [Qt-interest] Any Qt wrapper to access Open-/LibreOffice ?

2011-12-29 Thread Petric Frank
Hello, At Thursday, 29. December 2011, 23:58:44 you wrote: > On Wed, Dec 28, 2011 at 11:27 PM, Petric Frank wrote: > > Hello, > > > > are there Qt wrapper classes to access Open-/LibreOffice via its UNO API > > ? > > > > I did some google and Qt forum/m