Create calculator.h

I have some questions. Why i have to include the <QWidget> and <QLineEdit> file? Line 7 and line 8 seem not to work.