Results 1 to 7 of 7

Thread: QDockWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Cool Re: QDockWidget

    Well I have copied the code onto a Windows box and it works fine in Windows XP. But I still have problems getting the dock widgets to correctly move in Solaris 9. Here is a compilable piece of code that I have run on both Solaris and Windows. It works very nice and easy in Windows, but in Solaris I have no luck. Can somebody else try the code out in Solaris and see if they have the same problem as me? Thanks!
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QDockWidget

    Which style are you using, eg. what does qApp->style()->objectName() output? Does it work better if you launch the app with command line option "-style windows"?
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QDockWidget

    I thought the exaxt same thing as you so I have tried not using the -style flag, I have tried "-style cde" and "-style windows" but to no avail they all behave the same way. I could only get one dock widget on a side when I tried to move them there. They all line up on the right side when I run the program since the code tells it to go there. But after that I cannot move them to a side with multiple docks. Even using the Windows style, where you can tab the dock widgets, it would not allow me to do that. Thanks again!

  4. #4
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QDockWidget

    Has anybody gotten a chance to try this on a Solaris box to see if they have the same problem? Thanks!

Similar Threads

  1. QDockWidget Size
    By kiker99 in forum Qt Programming
    Replies: 9
    Last Post: 31st March 2007, 16:15
  2. Replies: 8
    Last Post: 4th February 2007, 00:42
  3. QDockWidget flicker
    By fellobo in forum Qt Programming
    Replies: 1
    Last Post: 28th April 2006, 20:42
  4. QTableWidget -> QDockWidget,
    By ogre in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2006, 06:51
  5. QDockWidget: Debugging crash
    By carsten in forum Qt Programming
    Replies: 10
    Last Post: 7th January 2006, 10:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.