Important: Please read the Qt Code of Conduct -

How to use modelData without one element?

  • I'm using modelData as a model which contains the names of the sections. Further, I implement a Sidebar for every section with a Repeater, but I want to omit one section and leave it without sidebar, just blank. How can I exclude specified element from modelData?