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