27 using namespace YACS::HMI;
33 vboxLayout->removeWidget(gv_schema);
36 gv_schema->setObjectName(QString::fromUtf8(
"gv_schema"));
37 vboxLayout->insertWidget(0, gv_schema);
40 dial->setWrapping(
true);
41 dial->setRange(0, 359);
45 hs_position->setRange(0, 999);
46 hs_position->setValue(500);
49 vs_position->setRange(0, 999);
50 vs_position->setValue(500);
53 vs_zoom->setRange(-100, 100);
64 DEBTRACE(
"FormSchemaView::on_dial_valueChanged " << val);
65 int delta = val - _prevRotate;
67 gv_schema->rotate(delta);
72 DEBTRACE(
"FormSchemaView::on_hs_poistion_valueChanged " << val);
73 int delta = val - _prevHsPos;
75 gv_schema->translate(val,0);
80 DEBTRACE(
"FormSchemaView::on_vs_poistion_valueChanged " << val);
81 int delta = val - _prevVsPos;
83 gv_schema->translate(0, val);
88 DEBTRACE(
"FormSchemaView::on_vs_zoom_valueChanged " << val);
89 int delta = val - _prevZoom;
91 if (delta>=0) s=delta/25.0;
94 gv_schema->scale(s, s);