paysages3d/gui_qt/baseinput.cpp
2012-01-08 10:31:01 +00:00

25 lines
318 B
C++

#include "baseinput.h"
#include <QLabel>
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();
}