Home > other >  Questions about Qt Qtreeview selected by default in the first line
Questions about Qt Qtreeview selected by default in the first line

Time:11-05

I now use Qtreeview controls, and set up a few buttons, one of the add button in the open without the selected pages, increase the root node, could you tell me how the judgment condition

Qt4 before time by index. The row ()==1, but in the qt5 print index. The row () is 0, the first line is selected by default
To try the following method at present, the infeasible, UI - & gt; TreeView - & gt; Selectnode index. Isvalue () index. The row ()



Hope everybody can help
  • Related