Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How to change that part of the UI that has been changed by the model

    Brainstorm
    1
    1
    1417
    Loading More Posts
    • 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.
    • B
      browser90 last edited by

      Dear,

      I'm complete new with -QT-- Qt-, I only read the documentation for "new with qt". I'm a college student and we had one less about -QT- Qt the basics.
      After that, we must program a game with our first user interface and it is a bord game like monopoly so it's 2D.

      My question is, I've been searching over the documentation for a full example how to make an interface and simply let the interface
      change after the model has done something and the view just updates only what has been changed.

      For example: If one player has turned a card with an action, then an action has happend so the bord only needs to change that for that player the rest of the interface musn't change.

      Maybe you can give me some advice or tutorials how to do that? I thought something with slots and signals but I'm not sure about how to implement it in my code so the view and model are completly seperated.

      Hope you can help me.

      Kind regards,

      1 Reply Last reply Reply Quote 0
      • First post
        Last post