#include <FormSchemaView.hxx>
Definition at line 25 of file FormSchemaView.hxx.
◆ FormSchemaView()
| FormSchemaView::FormSchemaView |
( |
QWidget * |
parent = 0 | ) |
|
Definition at line 29 of file FormSchemaView.cxx.
30{
31 setupUi(this);
32
33 vboxLayout->removeWidget(gv_schema);
34 delete gv_schema;
36 gv_schema->setObjectName(QString::fromUtf8("gv_schema"));
37 vboxLayout->insertWidget(0, gv_schema);
38
40 dial->setWrapping(true);
41 dial->setRange(0, 359);
42 dial->setValue(0);
43
45 hs_position->setRange(0, 999);
46 hs_position->setValue(500);
47
49 vs_position->setRange(0, 999);
50 vs_position->setValue(500);
51
53 vs_zoom->setRange(-100, 100);
54 vs_zoom->setValue(0);
55
56}
References _prevHsPos, _prevRotate, _prevVsPos, and _prevZoom.
◆ ~FormSchemaView()
| FormSchemaView::~FormSchemaView |
( |
| ) |
|
|
virtual |
◆ on_dial_valueChanged
| void FormSchemaView::on_dial_valueChanged |
( |
int |
val | ) |
|
|
slot |
◆ on_hs_position_valueChanged
| void FormSchemaView::on_hs_position_valueChanged |
( |
int |
val | ) |
|
|
slot |
◆ on_vs_position_valueChanged
| void FormSchemaView::on_vs_position_valueChanged |
( |
int |
val | ) |
|
|
slot |
◆ on_vs_zoom_valueChanged
| void FormSchemaView::on_vs_zoom_valueChanged |
( |
int |
val | ) |
|
|
slot |
Definition at line 86 of file FormSchemaView.cxx.
87{
88 DEBTRACE(
"FormSchemaView::on_vs_zoom_valueChanged " << val);
90 double s=1;
91 if (delta>=0) s=delta/25.0;
92 else s=25/delta;
94 gv_schema->scale(s, s);
95}
References _prevZoom, and DEBTRACE.
◆ _prevHsPos
| int FormSchemaView::_prevHsPos |
|
protected |
◆ _prevRotate
| int FormSchemaView::_prevRotate |
|
protected |
◆ _prevVsPos
| int FormSchemaView::_prevVsPos |
|
protected |
◆ _prevZoom
| int FormSchemaView::_prevZoom |
|
protected |
The documentation for this class was generated from the following files: