Make most variables, functions, slots etc. private instead of public. Also make the constructors explicit.
Use Qt Designer for the create index dialog. Change the layout of the create index dialog completely to be easier to use and more powerful. Rewrite most of the index creation code to be easier to understand and more flexible.