Simple dictionary written in C++/Qt, stores data into SQLite database