added toolbar to mainqmltemplate