Re: What's a 'Dock' and...
Quote:
Originally Posted by
Patrick Sorcery
1 What does 'QDockWidget' do? Once I saw a sentence saying that many people prefer 'dock' something in gui, and what does that mean:confused:
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.
Quote:
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.