An improved pagination widget based on PYQT5
Qun Li, XianYong Deng, Haili Wu · 2022 IEEE 10th Joint International Information Technology and Artificial Intelligence Conference (ITAIC) · 2022
The Model-View framework of PyQt5 has no pagination function to display the data well, this paper separates the pagination work from the whole project, but also use the “signals and slot” to keep the parameters synchronization. So we can design forwards, backwards, records per page and other pagination functions in the widget, and then we can use “promote” function of PYQT5 to apply in our own code with simple modification only. we constructed a more powerful, easily reusable widget base on the class inheritance of Python and richly functional components of PyQt5.