PDA

View Full Version : How to design a dialog that like this



likaci
7th March 2014, 02:38
How to design a dialog that like this:10114
select different selections at left,and display different contents at right?

Infinity
7th March 2014, 03:42
See the Config Dialog Example: http://qt-project.org/doc/qt-4.8/dialogs-configdialog.html

Higgs
7th March 2014, 21:41
How to design a dialog that like this:10114
select different selections at left,and display different contents at right?

Look QStackedLayout header up in the Qt documentation.

tristam
8th March 2014, 04:42
How to design a dialog that like this:10114
select different selections at left,and display different contents at right?

Although it's in PyQt (a Python binding for Qt), I found the following tutorial excellent: http://www.yasinuludag.com/blog/?p=98

The end result of the tutorial is a dialog very similar to the image you show. The only differences are superficial.

hassinoss
12th March 2014, 12:19
You can use this : QDockWiget , QStackedWidget , QListWidget , QTreeView ...