Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Is it possible to conect table widgets?

Is it possible to conect table widgets?

Scheduled Pinned Locked Moved Unsolved Language Bindings
13 Posts 2 Posters 2.5k 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.
  • ReavegenR Offline
    ReavegenR Offline
    Reavegen
    wrote on last edited by Reavegen
    #1

    Hey guys

    I am new in this forum and hope that you can help me, because the search funktion could not.

    Is it possible to connect 2 or more table widgets that i can continue my selection out of the first table widget into the next one?

    Do you think I can realise this with the mouse tracking funktion?
    If i have the mouse possition i can select all columns (only need to select the columns) that are passed while the mouse is pressed? But thats just a thought I'm not shure if this is realy possible.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you mean to have several QTableView/Widget have the same columns selected when you make a selection on one of them ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ReavegenR Offline
        ReavegenR Offline
        Reavegen
        wrote on last edited by Reavegen
        #3

        No, it means if i select columns in the first table widget and i reach the end of this widget i'll continue my selection in the next table widget and colums of the first table should still be selected.

        If it'S allowed to post links in this forum i can send a link with a picture where you can see what i want to do. :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Yes it's allowed

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • ReavegenR Offline
            ReavegenR Offline
            Reavegen
            wrote on last edited by
            #5

            It should look like this

            http://fs5.directupload.net/images/160303/fynxgjn6.png

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              So doing it without releasing the mouse button between tow tables in your grid ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • ReavegenR Offline
                ReavegenR Offline
                Reavegen
                wrote on last edited by
                #7

                exactly :)

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Why do you have so many separated table views ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • ReavegenR Offline
                    ReavegenR Offline
                    Reavegen
                    wrote on last edited by
                    #9

                    Because I have no idea how i can realice it if not this way

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      What are you trying to realize ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • ReavegenR Offline
                        ReavegenR Offline
                        Reavegen
                        wrote on last edited by
                        #11

                        In the end I'll be able to display the notes of songs and select them to play.
                        and i want to display the clocks and lines in table widgets because i have no idea how i can do it other ways.

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          In that case you should rather consider using the Graphics View Framework.

                          It will be more suited for that kind of stuff.

                          Depending on what you want/need, Minuet might be of interest.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • ReavegenR Offline
                            ReavegenR Offline
                            Reavegen
                            wrote on last edited by
                            #13

                            cool thank you
                            this looks great

                            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