Source code for Tools > Options window



  • Hello,

    I am developing a UI for a work project. We would like the interface to have similar aesthetics as the Qt > Tools > Options window. I have downloaded the QT source code as well as the QT Creator source code. I can't seem to find what I'm looking for. For reference, I'm currently using QT 5.7. Any help is appreciated, thanks!



  • The left pane is a QListView with probably a QStandardItemModel behind it whose selection controls the index of a QStackedWidget (the right part). Inside each page of the stack there is a QLabel with the title and a QTabbedWidget.

    The most difficult thing to implement is the filter QLineEdit at the top, you'll need a custom QSortFilterProxyModel for that


  • Moderators

    @Sh1gs
    something like this example?



  • @raven-worx

    Yes, this is exactly what I was looking for. I didn't realize there was an example on it, silly mistake on my part. Thank you very much!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.