[Interest] force active qquickpopup

Damian Ivanov damianatorrpm at gmail.com
Sun Mar 24 08:52:43 CET 2019


Hi all,

Is it possible to have a custom qquickpopup which has focus and is the
active window?
class MyPopup : public QQuickPopup
{
    Q_OBJECT
public:
    MyPopup(QObject* parent=nullptr) : QQuickPopup(parent)
    {
    this->window->forceActiveFocus();//doesn't do that

};

Thanks in advanced for help!

With regards,
Damian



More information about the Interest mailing list