Results 1 to 2 of 2

Thread: What's a 'Dock' and...

  1. #1
    Join Date
    Aug 2010
    Posts
    20
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question What's a 'Dock' and...

    Greetings everyone. Glad 2 c this forum for qt users. I'm completely new to GUI, and hope 2 learn a lot from you~ now as a newbie I have 2 very simple questions:

    1 What does 'QDockWidget' do? Once I saw a sentence saying that many people prefer 'dock' something in gui, and what does that mean

    2 Now I want 2 make a 'list': after a file is opened, its name will be added to the file list and showed. Which widget will do?

    Thanx a lot!

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: What's a 'Dock' and...

    Quote Originally Posted by Patrick Sorcery View Post
    1 What does 'QDockWidget' do? Once I saw a sentence saying that many people prefer 'dock' something in gui, and what does that mean
    A dock widget is a window inside another window. It can also be outside the main window. You can drag that window to a corner in the main window and it will stick to that corner (like a toolbar). See the documentation.

    2 Now I want 2 make a 'list': after a file is opened, its name will be added to the file list and showed. Which widget will do?
    QListWidget

    Please read the documentation.

Similar Threads

  1. forcing dock windows to dock?
    By eric_vi in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2009, 16:32
  2. Dock Nesting Problem
    By blaylockr in forum Newbie
    Replies: 4
    Last Post: 14th August 2008, 14:59
  3. sliding dock widget
    By manishkyl in forum Qt Programming
    Replies: 0
    Last Post: 28th July 2008, 15:04
  4. How to keep a floating dock visible?
    By Pieter from Belgium in forum Qt Programming
    Replies: 1
    Last Post: 23rd June 2008, 16:16
  5. How to movable dock widgets?
    By becond in forum Qt Tools
    Replies: 3
    Last Post: 21st February 2006, 20: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.