43#include "IntegerWidget.hh"
45#include "ACG/Utils/ColorCoder.hh"
46#include "ACG/Utils/LinearTwoColorCoder.hh"
47#include <ACG/Utils/ColorConversion.hh>
49IntegerWidget::IntegerWidget(QWidget * parent)
61 if (intColorCoder->isChecked()) {
62 return ptr::make_unique<ACG::ColorCoder>();
64 return ptr::make_unique<ACG::LinearTwoColorCoder>(
65 ACG::to_Vec4f(intMin->color()),
66 ACG::to_Vec4f(intMax->color()));
71void IntegerWidget::showEvent ( QShowEvent* ) {