When playing a game against the computer using a time control, if you run out of time you will see the Out of time dialog:

You are given the choice:

  • Resign the game - after all you lost the game on time
  • Continue the game by adding time to your clock