Hey there,
I'm using a QListView to display a delegated QStringList.
Is there a way to get the height of the ListView Scrolling area ?
Printable View
Hey there,
I'm using a QListView to display a delegated QStringList.
Is there a way to get the height of the ListView Scrolling area ?
Doesn't viewport()->height() work?
I tried that but it doesn't, I guess I have to calculate height myself :/.
I'm also currently trying to set the QListView background to transparent using this :
Code:
QPalette palette; mListView->setPalette(palette); mListView->setAttribute(Qt::WA_NoSystemBackground, true);
Doesn't seem to work either.
Edit : Solved using this :