Moved away from Qt Designer