Results 1 to 4 of 4

Thread: QMainWindow::addDockWidget: invalid 'area' argument

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: QMainWindow::addDockWidget: invalid 'area' argument

    Ok, I understand that QDockWidget cannot be added to all sides at the same time :P But why I cannot move QDockWidget to for example right side of QMainWindow when it was attached at first to the left side?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QMainWindow::addDockWidget: invalid 'area' argument

    That should work indeed.

    Both the default for allowed areas (all) as well as features (movable) are OK with that.

    Are you asking for a user triggered move or doing it programmatically?

    Cheers,
    _

Similar Threads

  1. Replies: 7
    Last Post: 8th November 2012, 11:26
  2. QMainWindow with fixed area + Dockarea
    By trallallero in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2012, 09:25
  3. Why? Invalid type argument of unary *
    By progman in forum Newbie
    Replies: 4
    Last Post: 21st March 2011, 19:31
  4. Building static Qt. Error 126 invalid argument
    By kea_ in forum Installation and Deployment
    Replies: 2
    Last Post: 20th March 2011, 07:58
  5. GLib-WARNING **: poll(2) failed due to: Invalid argument.
    By December in forum Qt Programming
    Replies: 4
    Last Post: 17th February 2009, 05:10

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.