This makes it compile (even though I'm not sure about the implications), but it doesn't help me: there is no Show event handled in editorEvent ever (tested with printf-debugging - yes, before the test for QLineEdit), I'm only getting Mouse events.
Something like completer->popup()->show(); should do what you want.
Nope, does not help.
I figured (using qDebug, again), the place where I should put my popup-opening call is setEditorData. In there, I receive the QLineEdit and it's QCompleter: But I cannot make it show the popup. I tried now:
@yxlee Hi! Did I get this right: You've got a window. To that window you've added a QScrollArea with some content. You also added some other widgets to that window. Now you want these other widgets to move when you scroll inside the scroll area?
@SGaist Yes. I managed to do using a Grid, since it was not possible to make the tableview. Now I have my view, but i was looking at the GridView doc, but dont know... if is better keep the current code or try something different.
This is my actual qml code:
@SGaist That's pretty close to what I like to achieve. Unfortunately I am using a QML TableView. The only difference to the FrozenColumnExample is that my Frozen Rows have a dynamic count. A binary role in my table model determines to which section the entry belongs to. I will try to adapt the FrozenColumnExample to my case in QML. That was my idea anyway, but I was hoping for more simple solution ;) Substituting the sections with seperate TableViews and using a QSortFilterProxyModel to simulate the section behavior is the way to go I guess. Thx for your tip.