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. New to Qt, having trouble adding callback functions.
Forum Update on Monday, May 27th 2025

New to Qt, having trouble adding callback functions.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 290 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.
  • C Offline
    C Offline
    ChrisBaker
    wrote on last edited by
    #1

    I have created a basic GUI and dragged a tree view onto it.

    I want to and function to populate the tree view on initialisation but I can't where to add this type of function.

    Please help.

    Regards

    Chris

    jsulmJ 1 Reply Last reply
    0
    • C ChrisBaker

      I have created a basic GUI and dragged a tree view onto it.

      I want to and function to populate the tree view on initialisation but I can't where to add this type of function.

      Please help.

      Regards

      Chris

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @ChrisBaker It could be for example in the constructor of your widget/window. When and how do you get the data for the tree?
      Also, what do you mean by "callback functions" in this context?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4

      • Login

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