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. MainWindow Like Qt Creator
Qt 6.11 is out! See what's new in the release blog

MainWindow Like Qt Creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 950 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
    Shiv
    wrote on last edited by Shiv
    #1

    I would like to create a desktop application like the qt creator ide with a treeview upon clicking the treeview corresponding window as to be viewed in the right model like qt creator.

    raven-worxR 1 Reply Last reply
    0
    • S Shiv

      I would like to create a desktop application like the qt creator ide with a treeview upon clicking the treeview corresponding window as to be viewed in the right model like qt creator.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Shiv
      compose your application using (eventually nested) layouts using a QTreeView and Q TabWidget (for example)
      Listen to the QTreeView's clicked() signal. In the connected slot decide upon the clicked model index which view to open.

      Sorry, but this is a very generic answer to a generic question.

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Shiv
        wrote on last edited by
        #3

        Thanks for your kind suggestion I am working on it

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Shiv
          wrote on last edited by
          #4

          Some what I have managed to do a stacked widget .In one of my widget I have a qtreeviewwidget and tabwidget arranged in a horizontal splitter layout, on execution my treeview widget width is more than the tab widget .Any idea how to set it I need my tabwidget width should be more than the treeview widget.

          1 Reply Last reply
          0

          • Login

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