How to use QStackWidget with Treeview

  • Hi,
    I am developing an application which has treeview and labels.
    The layout is like this :

    | Left side having treeview | right side labels |

    Now if parent node is clicked then i want to display some parent related information on labels
    and if child node is clicked then i want to display child related information on labels.
    I am planning to use QStackwidget for same but don't know how to connect it with Tree View.

    What you mean by connect QStackedwidget with Treeview?
    If i understood, show one widget for parent item and another for child?

  • yes qxoz.. u r correct..

  • how to compare the strings in Qt

Log in to reply