Michaël Lemaire
06b170e0f5
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@219 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
24 lines
318 B
C++
24 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();
|
|
}
|