const vector<VariantBase> values = opt->values();
options_[opt->id()] = def_val;
-
+
const Property::Getter get = [&, opt]() {
return options_[opt->id()]; };
const Property::Setter set = [&, opt](VariantBase value) {
popup_.well_array().setSelected(r, c);
popup_.well_array().setCurrent(r, c);
return;
- }
+ }
}
void ColourButton::set_palette(const QColor *const palette)
QPolygon poly;
const QPoint p = mapFromGlobal(point_);
- const int l = ArrowLength + ArrowOverlap;
+ const int l = ArrowLength + ArrowOverlap;
switch (pos_) {
case Right:
BOOST_CHECK_EQUAL(edges[0].second, true);
BOOST_CHECK_EQUAL(edges[1].first, 16);
BOOST_CHECK_EQUAL(edges[1].second, false);
-
+
for (int i = 1; i < Cycles; i++) {
BOOST_CHECK_EQUAL(edges[i+1].first, i * Period);
BOOST_CHECK_EQUAL(edges[i+1].second, false);