Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Including MessageDialog

$
0
0
HI, I am using Qt5.2, i have a user input QML screen in which the user will fill form and submit. On Submit, i want to do the validations using the javascript function and if there is any error then show it as a popup. Can anyone please give a sample of how i can trigger the MessageDialog from the javascript function. And also i am not able to create a MessageDialog component even after including import QtQuick 2.2 import QtQuick.Dialogs 1.1 Is there anything else i need to include? Thanks in advance

Viewing all articles
Browse latest Browse all 4972

Trending Articles