Results 1 to 3 of 3

Thread: Signal to dynamic object

  1. #1
    Join Date
    Jun 2018
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Signal to dynamic object

    Hey,

    I have ComboBoxes that are created dynamically, and I would like to be able to select all of them when Ctrl+a is pressed. My thought was to send a signal from main.qml to Combobox.qml when those keys are pressed. Once the signal is received, the ComboBox would get focus.

    Now I don't know if multiple objects can have focus. If it's not possible then I have to think of something else but the main problem is sending the signal upon keys pressed.

    Can anyone provide a solution?

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    503
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Signal to dynamic object

    Hi, I don't think that multiple widgets can have focus.

    I'm curious: what would you want to do with all these selected comboboxes?

    Ginsengelf

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Signal to dynamic object


Similar Threads

  1. QML Dynamic object binding
    By Wer_Bn in forum Qt Quick
    Replies: 3
    Last Post: 2nd November 2017, 11:00
  2. Replies: 1
    Last Post: 14th August 2014, 18:08
  3. Dynamic object's method.
    By kalwi in forum Newbie
    Replies: 6
    Last Post: 31st July 2013, 12:23
  4. dynamic object id
    By jovin in forum Qt Quick
    Replies: 2
    Last Post: 1st May 2012, 03:19
  5. How to drag dynamic object in Qml?
    By Franziss in forum Newbie
    Replies: 0
    Last Post: 28th May 2011, 18:07

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.