Results 1 to 8 of 8

Thread: Signal and Slots with QML confusion with QML items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    47
    Thanks
    10

    Default Re: Signal and Slots with QML confusion with QML items

    I see, I didn't realize that's the proper way of doing things. It seems like that would make a ton of global objects, and everyone is simply modifying the global objects

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Signal and Slots with QML confusion with QML items

    Quote Originally Posted by technoViking View Post
    I see, I didn't realize that's the proper way of doing things.
    It's not a "proper" way, it's one of the ways that is more declarative than using signals and slots directly (which is imperative).

    It seems like that would make a ton of global objects, and everyone is simply modifying the global objects
    You don't need to modify any global objects, you can create a local alias to a property of another object. Or maybe I don't understand what you mean by those global objects... hmm...

    It would be best if you explained what do you need all this for and maybe then we'll be able to find a solution tailored for the specific situation.
    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.


  3. The following user says thank you to wysota for this useful post:

    technoViking (10th November 2010)

  4. #3
    Join Date
    Oct 2009
    Posts
    47
    Thanks
    10

    Default Re: Signal and Slots with QML confusion with QML items

    Thanks for the response. I will get a better description in a few!

Similar Threads

  1. Signal/Slots, Where can i use it?
    By Tio in forum Newbie
    Replies: 2
    Last Post: 25th May 2010, 01:36
  2. Confusion about events posted from slots
    By elizabeth.h1 in forum Qt Programming
    Replies: 1
    Last Post: 29th September 2009, 10:05
  3. signal slot confusion
    By mstegehu in forum Qt Programming
    Replies: 6
    Last Post: 31st August 2009, 11:41
  4. Signal and slots
    By villy in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2007, 10:10
  5. QSortFilterProxyModel signal and selection confusion
    By pascal123 in forum Qt Programming
    Replies: 1
    Last Post: 1st April 2006, 16:25

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.