Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Source code for Tools > Options window
QtWS25 Last Chance

Source code for Tools > Options window

Scheduled Pinned Locked Moved Solved General and Desktop
user interfacesource codetools
4 Posts 3 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sh1gs
    wrote on 10 Jan 2017, 18:12 last edited by
    #1

    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!

    R 1 Reply Last reply 10 Jan 2017, 19:50
    0
    • V Offline
      V Offline
      VRonin
      wrote on 10 Jan 2017, 18:42 last edited by VRonin 1 Oct 2017, 19:38
      #2

      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

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0
      • S Sh1gs
        10 Jan 2017, 18:12

        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!

        R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 10 Jan 2017, 19:50 last edited by
        #3

        @Sh1gs
        something like this example?

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        S 1 Reply Last reply 11 Jan 2017, 15:28
        2
        • R raven-worx
          10 Jan 2017, 19:50

          @Sh1gs
          something like this example?

          S Offline
          S Offline
          Sh1gs
          wrote on 11 Jan 2017, 15:28 last edited by
          #4

          @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!

          1 Reply Last reply
          0

          4/4

          11 Jan 2017, 15:28

          • Login

          • Login or register to search.
          4 out of 4
          • First post
            4/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved