Changeset cb5231 for src/UIElements/Qt4/Query/QtQueryList.hpp
- Timestamp:
- May 8, 2017, 1:54:50 PM (8 years ago)
- Branches:
- ForceAnnealing_goodresults, ForceAnnealing_tocheck
- Children:
- d7bd62
- Parents:
- a443e1
- git-author:
- Frederik Heber <heber@…> (03/30/17 21:59:00)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/08/17 13:54:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/Query/QtQueryList.hpp
ra443e1 rcb5231 105 105 class QtQueryList<Vector> : public QtQueryListUntyped { 106 106 public: 107 QtQueryList(Parameter<std::vector<Vector> > &parentParam, QBoxLayout *parent, Dialog *_dialog, std::vector< Vector> &_temp) : QtQueryListUntyped(parent, _dialog), tempRef(_temp)107 QtQueryList(Parameter<std::vector<Vector> > &parentParam, QBoxLayout *parent, Dialog *_dialog, std::vector<std::string> &_temp) : QtQueryListUntyped(parent, _dialog), tempRef(_temp) 108 108 { 109 109 // do we have an STLVectorValidator? … … 137 137 // add item to both 138 138 addElementToListWidget(subParam->getAsString()); 139 tempRef.push_back(subParam->get ());139 tempRef.push_back(subParam->getAsString()); 140 140 onUpdate(); 141 141 } … … 151 151 } 152 152 protected: 153 std::vector< Vector> &tempRef;153 std::vector<std::string> &tempRef; 154 154 Parameter<Vector> *subParam; 155 155 };
Note:
See TracChangeset
for help on using the changeset viewer.