Library management system in Qt