Qt: How to create a settings window, like in GTK

In Qt 4.8, I want to create a window that looks like this.

example window

note that my main concern is the behavior on the left icon tab + text combination.

The question is, what would you recommend me to achieve this view? QListWidget or customized QTabWidget?

thank

+5
source share
2 answers

Qt Creator - written in Qt - has a settings page that can only be what you want:

Qt Creator options dialog

I would look at the source code of this file at http://qt.gitorious.org/qt-creator/qt-creator/trees/master

[Edit] Here the corresponding class is found:

http://qt.gitorious.org/qt-creator/qt-creator/trees/master/src/plugins/coreplugin/dialogs

SettingsDialog. GUI createGUI, .

QListView a QStackedLayout QTabWidgets

+6

QListWidget , QStackedWidget . QListWidget (View) , ( ), - , , QStackedWidget.

+4

All Articles