QObject::connect(spinBox, SIGNAL(valueChanged(int)), textEdit, SLOT(setFontWeight(int)));