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. Extend table widget and tree Widget designed in Qt Designer and developed in VS

Extend table widget and tree Widget designed in Qt Designer and developed in VS

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 5.7k 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.
  • K Offline
    K Offline
    kodr_rms
    wrote on last edited by
    #1

    How to extend the table widget and tree Widget designed in Qt Designer but developed in Visual Studio. I want to open a particular table on every click event happening on the tree widget item. What file to write my code in? I am unable to co-relate them.

    Guide me through this.__

    [edit: fixed title / chetankjain]

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SteveKing
      wrote on last edited by
      #2

      Hi,

      I think you might want to change the name of the post as the use of Visual Studio doesn't affect the tree / table widgets you're using.

      After that I would suggest you look through the help on Model/View programming in Qt. It's easy to find in QAssistant. This should show you how to link model data to different views etc.

      Regards,
      Steve

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        Have a look at the various clicked/selected/current signals of the tree view/tree widget and connect them to an appropriate slot in your logic that opens the table.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          BTW - could someone of the forum mods or the original poster change the topic please, it has nothing to do with the question. TIA.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            [quote author="Volker" date="1289912273"]BTW - could someone of the forum mods or the original poster change the topic please, it has nothing to do with the question. TIA.[/quote]

            done

            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