- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp
ra14fe3 rf10b0c 26 26 27 27 28 VectorQtQueryPipe::VectorQtQueryPipe( Vector *_content, QtDialog *_dialog, QComboBox *_theBox) :28 VectorQtQueryPipe::VectorQtQueryPipe(Parameter<Vector> &_content, QtDialog *_dialog, QComboBox *_theBox) : 29 29 content(_content), 30 30 dialog(_dialog), … … 36 36 37 37 void VectorQtQueryPipe::updateX(double newDouble) { 38 (*content)[0] = newDouble; 38 Vector v = content.get(); 39 v[0] = newDouble; 40 content.set(v); 39 41 dialog->update(); 40 42 } 41 43 42 44 void VectorQtQueryPipe::updateY(double newDouble) { 43 (*content)[1] = newDouble; 45 Vector v = content.get(); 46 v[1] = newDouble; 47 content.set(v); 44 48 dialog->update(); 45 49 } 46 50 47 51 void VectorQtQueryPipe::updateZ(double newDouble) { 48 (*content)[2] = newDouble; 52 Vector v = content.get(); 53 v[2] = newDouble; 54 content.set(v); 49 55 dialog->update(); 50 56 }
Note:
See TracChangeset
for help on using the changeset viewer.