Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QTreeWidget - update content of specific items/positions
Forum Updated to NodeBB v4.3 + New Features

QTreeWidget - update content of specific items/positions

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    Fruwu
    wrote on last edited by
    #1

    Hi developers,

    i am working on a programm which stores periodic information frames with several informations into a QTreeWidget. The headers are separated by they're ID's and the submessages are written below the header as child's. It is no problem to create that messages and submessages for every Frame.

    I want to create a new message header only if it's ID is detected the first time. For this i created a register which stores all received ID's and counts the number of all different ID's. This way i can create a new message header only once in a runtime.

    My problem is, i would like to know how to update all frame data except the ID inside the header item, if the ID is detected the second, third... time and so on. I am only able to update (or just overwrite) the last item created, but I need to step to a specific QTreeWidgetItem which is chosen by the ID.

    Is there any possibility to update or rewrite a specific position in the QTreeWidget or does anyone have an idea for my problem?

    I'm sorry for my bad english, i hope u are able to understand my problem and can help me :)
    If my subscribing is inadequate plz tell me too.

    greetings Fruwu

    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