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. [Mac] QColumnView - Resize grips and separation lines not visible
Forum Updated to NodeBB v4.3 + New Features

[Mac] QColumnView - Resize grips and separation lines not visible

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 3 Posters 3.8k Views 3 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.
  • R Offline
    R Offline
    rtfa
    wrote on last edited by rtfa
    #1

    Hi,

    After porting my application from PyQt4 to PyQt5, the column separation lines and resize grips are not visible. Please refer the screenshot alt text
    I've tried setting the resize grips visible property to True but didn't work. I've attached the python example source code to reproduce the issue. https://www.dropbox.com/sh/8tfc5txj3lq35pv/AADi4dCq2CKd_o-tOwiQn7HRa?dl=0. Any help would be appreciated.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rtfa
      wrote on last edited by
      #2

      I hope you'll be able to reproduce the issue in Qt, by just changing the view as QColumnView in this example.

      K 2 Replies Last reply
      0
      • R rtfa

        I hope you'll be able to reproduce the issue in Qt, by just changing the view as QColumnView in this example.

        K Offline
        K Offline
        kenchan
        wrote on last edited by kenchan
        #3

        @rtfa I tried the example program on my mac and see no problem. I can see the separators and manipulate them fine.
        Qt 5.9.2 clang 64bit (default)
        macOS High Sierra 10.13.3

        It is not PyQt5 though it is pure C++, so the problem lies in the PyQt5 stuff?

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

          Hi,

          You should add which version of Qt 5 and PyQt 5 you are using, how you installed them, which version of macOS you are running.

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

          R 1 Reply Last reply
          0
          • R rtfa

            I hope you'll be able to reproduce the issue in Qt, by just changing the view as QColumnView in this example.

            K Offline
            K Offline
            kenchan
            wrote on last edited by
            #5

            @rtfa I think they are not visible by default. You must set them with the setResizeGripsVisible (bool) function.

            1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              You should add which version of Qt 5 and PyQt 5 you are using, how you installed them, which version of macOS you are running.

              R Offline
              R Offline
              rtfa
              wrote on last edited by
              #6

              @SGaist Python v3.6.3, Sip v4.19.5, PyQt5-commercial v5.8.2. I'm running MacOS X Version 10.9.5(Mavericks). The Sip and PyQt versions are installed through pip3.

              @kenchan I've tried setting setResizeGripsVisible property to true. The result is the same. Thanks!

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

                For the size grip, they are not visible on all versions of macOS but that's unrelated to Qt.

                As for the separation line, I don't see them either with Pyqt5-5.10.1 nor PyQt5-5.9.1 on macOS 10.12.6 installed in a virtual environment with python 3.6.4.

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

                R 1 Reply Last reply
                1
                • SGaistS SGaist

                  For the size grip, they are not visible on all versions of macOS but that's unrelated to Qt.

                  As for the separation line, I don't see them either with Pyqt5-5.10.1 nor PyQt5-5.9.1 on macOS 10.12.6 installed in a virtual environment with python 3.6.4.

                  R Offline
                  R Offline
                  rtfa
                  wrote on last edited by
                  #8

                  @SGaist So can we conclude that the issue with PyQt5 version of Mac and not with Qt5? As far as I know there will be no functional or UI & UX differences between Qt and PyQt. PyQt is just a Python Wrapper around Qt.

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

                    I'm not sure whether it's Qt or macOS related.

                    @kenchan Can you check if you have the same issue with a 5.10 version of Qt on your machine as it runs a more recent version of macOS ?

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

                    R 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      I'm not sure whether it's Qt or macOS related.

                      @kenchan Can you check if you have the same issue with a 5.10 version of Qt on your machine as it runs a more recent version of macOS ?

                      R Offline
                      R Offline
                      rtfa
                      wrote on last edited by
                      #10

                      @SGaist I tried running the same example with Qt5.8.0 in my Mac machine(10.9.5). The result is the same. Please check alt text

                      cc: @kenchan

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

                        Looks like there's a rendering issue on macOS then. Did you check the bug report system on that matter ?

                        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

                        • Login

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