#include "baseinput.h" #include BaseInput::BaseInput(QWidget* form, QString label): QObject(form) { _label = new QLabel(label); } void BaseInput::updatePreview() { } void BaseInput::applyValue() { updatePreview(); emit(valueChanged()); } void BaseInput::revert() { updatePreview(); }