Made the periodic table widget resizeable

It can be useful to make the widget larger or smaller, currently the
text scales too.

Change-Id: I47a89671c9df0c32de59993b834abf9009db45b9
Keep periodic table visible in the widget.

Scale to height or width, depending on which is smaller.
Fixed some shadowed variable warnings, too.

Change-Id: I881c94bcb066a8abc8fac9986bc31abd7099af13
Just fit the width for now, remove Qt::Tool flag

The Qt::Tool flag seems a little broken - the dialog appears in random
spots when opened even though it is parented correctly.

Change-Id: I83f4c1d6e8502d08c80e06980cc4396b1baaa99c
Merge topic 'resizable-periodic-table' into master

c3bca335 Just fit the width for now, remove Qt::Tool flag
94fc2347 Keep periodic table visible in the widget.
165fed7f Made the periodic table widget resizeable