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. QDockWidget Splitter Icon not visible in QMainWindow
Qt 6.11 is out! See what's new in the release blog

QDockWidget Splitter Icon not visible in QMainWindow

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

    Hello,
    I`ve added a QDockWidget to QMainWindow. In Designer i see the Splitter icon to change size of DockWidget.
    When i run the application the Splitter icon is not visible. Any suggestions?
    I use Qt 5.1.0 with Qt Creator 2.8.1 on Windows.

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

      Hi,

      Do you mean the mouse cursor ?

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

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Do you mean the mouse cursor ?

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

        Hello!
        Yes, i mean the mouse cursor!

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          are you sure you don't mean the handle?
          you can set the style of it (so make it show) with the stylesheet http://doc.qt.io/qt-4.8/stylesheet-examples.html#customizing-qsplitter

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          K 1 Reply Last reply
          1
          • VRoninV VRonin

            are you sure you don't mean the handle?
            you can set the style of it (so make it show) with the stylesheet http://doc.qt.io/qt-4.8/stylesheet-examples.html#customizing-qsplitter

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

            No. I mean the mouse cursor!
            When i run the application can resize the dock window on the corresponding position, but the Qt::SplitHCursor or Qt::SplitVCursor doesn`t appear. Mouse cursor is always Qt::ArrowCursor.
            In Qt Creator Design the Qt::SplitHCursor and Qt::SplitVCursor become visible.
            Hmm, what can i do wrong here? Lines of code = 0.

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

              Not the best answer but are you locked to that old version of Qt ? The current being 5.7, you should rather test your application with it.

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

              K 1 Reply Last reply
              0
              • SGaistS SGaist

                Not the best answer but are you locked to that old version of Qt ? The current being 5.7, you should rather test your application with it.

                K Offline
                K Offline
                km22
                wrote on last edited by
                #7

                Thank you !
                No, i`m not locked to that version. Maybe i should try a newer one.

                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