@overlord said in Using QAbstractItemModel in Models that haven't any list.:
I am invastigating proper way to use model/view pattern.
The model/view pattern in Qt is designed for cases where you have an arbitrary number of rows of data. Your sensors don't quite match this use-case. Therefore, the model/view pattern is not suitable for your sensors.
I suggest you choose the right tool for the job: Just use a data structure for your sensors, like @SGaist suggested.
If you want to investigate how to use the model/view pattern, try implementing a model with rows. For example, an address book.