/**
* Creates a file menu with actions. These are also added to the tool bar.
*/
private void setupFileActions(){
QToolBar tb = new QToolBar(this);
tb.setWindowTitle(tr("File Actions"));
addToolBar(tb);
QMenu fileMenu = new QMenu(tr("&File"), this);
menuBar().addMenu(fileMenu);