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
    Posts
    370
    Thanks
    9
    Thanked 46 Times in 44 Posts
    Qt products
    Qt4
    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,410
    Thanked 256 Times in 251 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, 10:00
  2. Replies: 1
    Last Post: 14th August 2014, 17:08
  3. Dynamic object's method.
    By kalwi in forum Newbie
    Replies: 6
    Last Post: 31st July 2013, 11:23
  4. dynamic object id
    By jovin in forum Qt Quick
    Replies: 2
    Last Post: 1st May 2012, 02:19
  5. How to drag dynamic object in Qml?
    By Franziss in forum Newbie
    Replies: 0
    Last Post: 28th May 2011, 17: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.