Results 1 to 2 of 2

Thread: How to call component after the validation in main.qml?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to call component after the validation in main.qml?

    javascript Code:
    1. Login {
    2. id: login
    3.  
    4. property bool authenticated: false
    5.  
    6. onSomething: authenticated = true
    7. }
    8.  
    9. ListItems {
    10. visible: login.authenticated
    11. }
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following 2 users say thank you to wysota for this useful post:

    Mathan (20th September 2016), pdoria (1st October 2016)

Similar Threads

  1. How to call member function from int main()
    By GussieBartlett in forum Qt Programming
    Replies: 3
    Last Post: 5th January 2012, 20:06
  2. Replies: 3
    Last Post: 5th August 2011, 22:39
  3. Replies: 2
    Last Post: 11th May 2009, 16:50
  4. Replies: 11
    Last Post: 11th August 2008, 09:14
  5. Replies: 1
    Last Post: 28th May 2008, 16:52

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.