Re: [Interest] Raise QML window on top

2018-07-20 Thread Igor Mironchik
mainWindow.flags &= ~Qt.WindowMinimized mainWindow.flags |= Qt.WindowActive These two lines are absolutely wrong... On 21.07.2018 07:45, Igor Mironchik wrote: Hi, How can I raise QML window on top? I load window with QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qm

[Interest] Raise QML window on top

2018-07-20 Thread Igor Mironchik
Hi, How can I raise QML window on top? I load window with QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); I tried following in the main.qml function raiseWindow() {     mainWindow.flags &= ~Qt.WindowMinimized     mainWindow.flags |= Qt.WindowActive    

Re: [Interest] QCamera resolution problem

2018-07-20 Thread Alexander Carôt
see below - as a first acceptable temporary solution I am constantly detecting the actual resolution and if it does not match the one I adjusted I simply restart the cam. So - at least for now the issue is fixed. Best Alex -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177 571

Re: [Interest] DBus Notifications and clicks

2018-07-20 Thread Thiago Macieira
On Friday, 20 July 2018 03:06:36 PDT Igor Mironchik wrote: > Amazing. It works. But is it possible to distinguish somehow if > notification was closed, clicked, timeouted? Only if the notification sender sends you that information. If you want the protocol to be changed, you need to ask in the xd

Re: [Interest] New QObject::connect syntax should be avoided??

2018-07-20 Thread Alexander Dyagilev
Yes, this was the problem. Moving interfaces to shared lib and exporting them helped. Thanks. On 7/14/2018 3:19 AM, Thiago Macieira wrote: That static lib is probably the problem. ___ Interest mailing list Interest@qt-project.org http://lists.qt-p

[Interest] DBus Notifications and clicks

2018-07-20 Thread Igor Mironchik
Hello, I use DBus to push desktop notifications. DBus interface is "org.freedesktop.Notifications", method is "Notify". Amazing. It works. But is it possible to distinguish somehow if notification was closed, clicked, timeouted? Thank you. ___ In