[Interest] QMessageBox copy to clipboard

2014-06-03 Thread Hamish Moffatt
Hi, We're displaying an error message with QMessageBox and we'd like to make it easy for the user to copy the detailed text to the clipboard. I'd like to add a button to do this, but I don't want to dismiss the dialog at the same time. It looks like I can add any button with QMessageBox::addBu

[Interest] Non-zero exit code from QSKIP()-ed tests

2014-06-03 Thread Matt.Bolger
Is there any way to detected skipped tests and return a non-zero exit code? For example rather than using QTEST_MAIN maybe it's possible to call QTest::qExec yourself and then something like QTest::numSkipped() to then return your own exit code. This is needed to flag skipped tests on a CDash

[Interest] mousearea question

2014-06-03 Thread Damian Ivanov
Hello all :) I have a program which has few mousearea's which are partly overlapping. One mousearea fills the whole application window. I want to do function foo() {} if the mouse leaves the window and function bar() {} when I enter the window. Can I prevent onExited getting called (frome the mo

Re: [Interest] terrible font rendering with QtQuick

2014-06-03 Thread Ian Monroe
On Tue, Jun 3, 2014 at 12:16 AM, Koehne Kai wrote: >> -Original Message- >> From: interest-bounces+kai.koehne=digia@qt-project.org >> [...] >> > I tried openGL version, I also tried ANGLE which i think is the >> > DirectX version, but later i just find out that "Windows XP and ANGLE >>

[Interest] QWindowsMime or replacement in Qt 5

2014-06-03 Thread Adam Light
Our application makes extensive use of QWindowsMime and QMacPasteboardMime to allow us to handle various clipboard formats properly. For Qt 5, the QtMacExtras module provides the necessary functionality that was in Qt 4. But I still don't see anything equivalent in QtWinExtras. Without QWindowsMi

Re: [Interest] terrible font rendering with QtQuick

2014-06-03 Thread Alan Ezust
Why are you still using Qt 5.2.1? I know some serious font rendering issues from QML were fixed in Qt 5.3. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Николай Шатохин
import QtQuick 2.0 import QtWebKit 3.0 import QtWebKit.experimental 1.0 Item { width: 640 height: 480 signal closeWindow(); WebView { anchors.fill: parent url: address experimental.preferences.privateBrowsingEnabled: true } } 2014-06-03 19:27 GMT

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Николай Шатохин
I just tried it. Not working. 2014-06-03 19:10 GMT+03:00 Jan Kundrát : > On Tuesday, 3 June 2014 18:03:32 CEST, Николай Шатохин wrote: > >> When you start this app you will see white window. Click on window and you >> will see browser with Twitter. Click again and browser will be hide and >> des

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Николай Шатохин
Is it safe to use experimental functions in production? 2014-06-03 19:10 GMT+03:00 Jan Kundrát : > On Tuesday, 3 June 2014 18:03:32 CEST, Николай Шатохин wrote: > >> When you start this app you will see white window. Click on window and you >> will see browser with Twitter. Click again and brows

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Jan Kundrát
On Tuesday, 3 June 2014 18:03:32 CEST, Николай Шатохин wrote: > When you start this app you will see white window. Click on window and you > will see browser with Twitter. Click again and browser will be hide and > destroyed. As Olivier already told you, activate the private browsing mode. You can

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Николай Шатохин
Looks. Here is the simplest code: https://www.dropbox.com/s/ctdcgrk0eqgq3a3/webview_test.tar.gz When you start this app you will see white window. Click on window and you will see browser with Twitter. Click again and browser will be hide and destroyed. So, please login to Twitter, than destroy b

Re: [Interest] How to reset QML WebView?

2014-06-03 Thread Jan Kundrát
On Monday, 2 June 2014 19:59:11 CEST, Николай Шатохин wrote: > if(_socialWindow == NULL) Please note that identifiers that start with an underscore are reserved in C++. You are not supposed to use them for your own purposes in your code. > _socialWindow->setSource(QUrl(source)); // source is

Re: [Interest] Listen to MySQL database change

2014-06-03 Thread Olivier Austina
Hi André, I think he said to post the question again to the interest list. What I have done. His suggestion is very helpful. Regards Olivier 2014-06-03 11:59 GMT+02:00 André Somers : > Olivier Austina schreef op 3-6-2014 11:56: > > Hi, > > > > Is there a way to listen for MySQL database upda

Re: [Interest] Listen to MySQL database change

2014-06-03 Thread André Somers
Olivier Austina schreef op 3-6-2014 11:56: > Hi, > > Is there a way to listen for MySQL database updating. I have a program > and I want to know when the database change (for insert and update > event). Any suggestion is welcome. Thank you. > Regards You already were given a reply on this questi

[Interest] Listen to MySQL database change

2014-06-03 Thread Olivier Austina
Hi, Is there a way to listen for MySQL database updating. I have a program and I want to know when the database change (for insert and update event). Any suggestion is welcome. Thank you. Regards Regards Olivier ___ Interest mailing list Interest@qt-pro

[Interest] Fwd: QtCreator, non-Qt project, GCC and C++11 - Apologies for sending to wrong list

2014-06-03 Thread William Hallatt
Hi everybody, Trying to set up a non-Qt project compatible with C++11 and using GCC, but QtCreator keeps highlighting C++11 syntax with messages such as "auto' is a C++11 extension". I am confident that my kits are set up correctly (building Qt applications that use C++11 works fine). For the non

Re: [Interest] terrible font rendering with QtQuick

2014-06-03 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=digia@qt-project.org > [...] > > I tried openGL version, I also tried ANGLE which i think is the > > DirectX version, but later i just find out that "Windows XP and ANGLE > > is not a supported combination. "[1] > > > > > > Well