Results 1 to 4 of 4

Thread: How to manage Focus with States in my custom QML component?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to manage Focus with States in my custom QML component?

    Mybe reverse the dependency, i.e. make the focus depend on the state, not the state depend on the focus?

    So events like click, double, escape, change the state and the state changes focus if necessary.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    Dharkael (3rd September 2016)

Similar Threads

  1. GroupItems in two states
    By Andre008 in forum Qt Programming
    Replies: 2
    Last Post: 11th March 2016, 11:40
  2. Replies: 0
    Last Post: 18th November 2014, 04:39
  3. Replies: 0
    Last Post: 1st February 2012, 17:34
  4. Replies: 1
    Last Post: 30th September 2011, 19:54
  5. Replies: 1
    Last Post: 3rd November 2009, 22:26

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.