How to make GridView with special zone , which would be free of delegates ?
-
Hello, How to make GridView with special zone , in right bottom corner, which would be free of delegates ? (QML)
-
S SGaist moved this topic from General and Desktop
-
There is documentation, have you looked?, you also have not mentioned which version of Qt you are using. See the link for GridView on Qt 6.9 I believe;
https://doc.qt.io/qt-6/qml-qtquick-gridview.html ~ this page even has examples to follow!
or the following link for Qt5 =>;
https://stuff.mit.edu/afs/athena/software/texmaker_v5.0.2/qt57/doc/qtquick/qml-qtquick-gridview.html
Do you have any code at all?, what have you tried?, perhaps a visual mock up of what you expect to see?
-
S SGaist referenced this topic
-
The only possibly relevant thing I can see in the documentation is the
footer
property, but it seems that that would position the footer item at the end of, but outside, the grid area.My understanding of what is needed here is a special item fixed at the the bottom right corner of the grid area, within the grid area.
It seems like this would be a tricky one to solve. If a dummy item is added at the end of the model, it is not going to be in a fixed position. On the other hand, if something is overlaid on top of the grid area, the grid layout will not know about it and will not try to avoid it.
-
The only possibly relevant thing I can see in the documentation is the
footer
property, but it seems that that would position the footer item at the end of, but outside, the grid area.My understanding of what is needed here is a special item fixed at the the bottom right corner of the grid area, within the grid area.
It seems like this would be a tricky one to solve. If a dummy item is added at the end of the model, it is not going to be in a fixed position. On the other hand, if something is overlaid on top of the grid area, the grid layout will not know about it and will not try to avoid it.
@Bob64 said in How to make GridView with special zone , which would be free of delegates ?:
The only possibly relevant thing I can see in the documentation is the
footer
property, but it seems that that would position the footer item at the end of, but outside, the grid area.My understanding of what is needed here is a special item fixed at the the bottom right corner of the grid area, within the grid area.
It seems like this would be a tricky one to solve. If a dummy item is added at the end of the model, it is not going to be in a fixed position. On the other hand, if something is overlaid on top of the grid area, the grid layout will not know about it and will not try to avoid it.
My expectation probably is too much. Using of usual footer is a way(not best because it will be in not grid area). Also i can use model customization in order always to have last delegate as dummy delegate with combination of overlaid Item on top of grid area.
Qt: 6.9