//toolBar.addWidget(new QLabel(" "));
//toolBar.addSeparator();
//toolBar.addWidget(new QLabel(tr(" Search:")));
//toolBar.addWidget(searchField);
QSizePolicy sizePolicy = new QSizePolicy();
sizePolicy.setHorizontalPolicy(Policy.MinimumExpanding);
QLabel spacer = new QLabel("");
spacer.setSizePolicy(sizePolicy);
toolBar.addWidget(spacer);
//searchField.setInsertPolicy(InsertPolicy.InsertAtTop);