Our user interface has been quite static until now. In this section, we will add a simple animation to our calculator. When the user selects the factorial operation, the second (unused) text field will fade out. It will fade in when another operation is selected. Let's see how QML allows us to implement that.