Archive book and registration diary in Qt C++