Changes in src/UIElements/Dialog.cpp [cd8e55:36166d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Dialog.cpp
rcd8e55 r36166d 10 10 #include "Dialog.hpp" 11 11 12 #include "verbose.hpp" 12 13 #include "atom.hpp" 13 14 #include "element.hpp" 14 15 #include "molecule.hpp" 15 16 #include "vector.hpp" 17 #include "Matrix.hpp" 18 #include "Box.hpp" 16 19 17 20 using namespace std; … … 128 131 } 129 132 130 // Strings Queries131 132 Dialog::StringsQuery::StringsQuery(string title,vector<string> *_target, std::string _description) :133 Query(title, _description), target(_target)134 {}135 136 Dialog::StringsQuery::~StringsQuery() {};137 138 void Dialog::StringsQuery::setResult() {139 *target = tmp;140 }141 142 133 // Double Queries 143 134 … … 185 176 // Vector Queries 186 177 187 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target, const double *const _cellSize,bool _check, std::string _description) :178 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,bool _check, std::string _description) : 188 179 Query(title, _description), 189 cellSize(_cellSize),190 180 check(_check), 191 181 target(_target) … … 205 195 // Box Queries 206 196 207 Dialog::BoxQuery::BoxQuery(std::string title, double ** const_cellSize, std::string _description) :197 Dialog::BoxQuery::BoxQuery(std::string title, Box* _cellSize, std::string _description) : 208 198 Query(title, _description), 209 199 target(_cellSize) … … 218 208 219 209 void Dialog::BoxQuery::setResult() { 220 for (int i=0;i<6;i++) { 221 (*target)[i] = tmp[i]; 222 } 210 (*target)= ReturnFullMatrixforSymmetric(tmp); 223 211 } 224 212
Note:
See TracChangeset
for help on using the changeset viewer.