button.clicked.connect(this, name + "Clicked()");
return button;
}
// New Editor Button
private QToolButton newToolButton(String name, String toolTip) {
QToolButton button = new QToolButton();
// QIcon icon = new QIcon(iconPath + name + ".gif");
QIcon icon = new QIcon(iconPath + name + ".png");
button.setIcon(icon);
button.setToolTip(toolTip);
button.clicked.connect(this, name + "Clicked()");
return button;
}