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. Having splitter type functionality in qmainwindw
QtWS25 Last Chance

Having splitter type functionality in qmainwindw

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 854 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.
  • R Offline
    R Offline
    ritesh bansal
    wrote on last edited by
    #1

    Hello All
    I wanted to imitate the behavior we had in q3mainwindow in QT4 in terms of resize of the dockwindows.
    In qt3 we had a splitter moving while resize, on mouse leave event, the dock widgets gets refreshed to new sizes.
    whereas in qt4 the docwindows resize dynamically.

    Regards
    Ritesh

    Joel BodenmannJ 1 Reply Last reply
    0
    • R ritesh bansal

      Hello All
      I wanted to imitate the behavior we had in q3mainwindow in QT4 in terms of resize of the dockwindows.
      In qt3 we had a splitter moving while resize, on mouse leave event, the dock widgets gets refreshed to new sizes.
      whereas in qt4 the docwindows resize dynamically.

      Regards
      Ritesh

      Joel BodenmannJ Offline
      Joel BodenmannJ Offline
      Joel Bodenmann
      wrote on last edited by
      #2

      I think what you want is QSplitter::setOpaqueResize(false).

      Industrial process automation software: https://simulton.com
      Embedded Graphics & GUI library: https://ugfx.io

      R 1 Reply Last reply
      0
      • Joel BodenmannJ Joel Bodenmann

        I think what you want is QSplitter::setOpaqueResize(false).

        R Offline
        R Offline
        ritesh bansal
        wrote on last edited by
        #3

        @Joel-Bodenmann

        Thanks Joel
        This seems to work, But is this available for qmainwindow which has dockable widgets.
        I mean is the qmainwindow dockable widgets divided with splitter's.
        If so how can we get the splitters and apply this function over this?

        Regards
        Ritesh

        Joel BodenmannJ 1 Reply Last reply
        0
        • R ritesh bansal

          @Joel-Bodenmann

          Thanks Joel
          This seems to work, But is this available for qmainwindow which has dockable widgets.
          I mean is the qmainwindow dockable widgets divided with splitter's.
          If so how can we get the splitters and apply this function over this?

          Regards
          Ritesh

          Joel BodenmannJ Offline
          Joel BodenmannJ Offline
          Joel Bodenmann
          wrote on last edited by
          #4

          I see what you mean. My bad.
          The only other thing I found is controlling whether the dock widgets are being animated or not. However, this doesn't affect their resize behavior.

          Hopefully somebody else can help. Sorry.

          Industrial process automation software: https://simulton.com
          Embedded Graphics & GUI library: https://ugfx.io

          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