Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Map widget to variable?
QtWS25 Last Chance

Map widget to variable?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 250 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dan203
    wrote on last edited by
    #1

    I'm working on porting an MFC app to Qt. One of the features of MFC is that you can map a dialog control to a member variable so that if the control changes the variable is updated automatically, and if the variable is set when the dialog is displayed the control automatically displays that value. Is there a similar mechanism in Qt? Or do you have to use signals/slots to do this manually?

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      differnt IO models..use the signals to alert if something is updated.

      D 1 Reply Last reply
      2
      • Kent-DorfmanK Kent-Dorfman

        differnt IO models..use the signals to alert if something is updated.

        D Offline
        D Offline
        Dan203
        wrote on last edited by
        #3

        @Kent-Dorfman said in Map widget to variable?:

        differnt IO models..use the signals to alert if something is updated.

        I figured as much, just wanted to make sure I wasn’t missing something obvious

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved