Port from IconButton to ToolButton and drop IconButton class.
IconButton was still from the early times of QtQuickControls 2, when it didn't support icons natively.