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. Qt side menu with different window QtWidgets
Qt 6.11 is out! See what's new in the release blog

Qt side menu with different window QtWidgets

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.8k Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    zibetto
    wrote on last edited by
    #1

    Hello,

    I want to create a tree menu that when I click an Item, a different set of widgets will appear on the right side. (see images below).

    I already know how to create a tree widget.

    !http://s29.postimg.org/5k7nnke7b/image.jpg(1)!
    !http://s11.postimg.org/wtl5mf137/image.jpg(2)!

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      what is the issue you are facing ? Is it just one level tree on the left side ? Horizontal layout with signal and slot mechanism should help you here. You need to have click signal on the tree element connected to slot. Inside this slot you can create different widgets. For widgets section you can use stacked widget as well.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zibetto
        wrote on last edited by
        #3

        Hello, Dheerendra

        Thank you very much, I did what you said and it worked for me, I just didn't know where to begin.

        Elimelec

        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