Results 1 to 2 of 2

Thread: Difference between central Widget and dock Widget

  1. #1
    Join Date
    Jul 2014
    Posts
    95
    Thanks
    67

    Default Difference between central Widget and dock Widget

    Hi
    I want a real example of centralwidget and dockwidget.
    In fact,
    I know what widget and menubar and toolbar is.!!!!!!!!
    But I do not know anything about centralwidget or dockwidget.
    Please explain

    thanks.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Difference between central Widget and dock Widget

    The central widget is the main content area of a QMainWindow. A QDockWidget is an optional, possibly stackable, possibly undockable, widget that can be placed inside a QMainWindow adjacent to the top, right, bottom or left of the central widget.

    Qt has a wide range of examples:
    http://qt-project.org/doc/qt-5/qtexa...tutorials.html
    Including one specifically addressing dock widgets,
    http://qt-project.org/doc/qt-5/qtwid...s-example.html
    There is also a large amount of documentation.
    http://qt-project.org/doc/

  3. The following user says thank you to ChrisW67 for this useful post:

    rezas1000 (11th August 2014)

Similar Threads

  1. Replies: 0
    Last Post: 28th March 2013, 00:22
  2. Replies: 15
    Last Post: 8th January 2013, 14:51
  3. create dock widget from some other widget
    By Onanymous in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2011, 15:22
  4. Central Widget Max Height
    By fruzzo in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2011, 18:26
  5. Replies: 8
    Last Post: 28th June 2011, 14:57

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.