Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    rcd8e55 r36166d  
    1010#include "Dialog.hpp"
    1111
     12#include "verbose.hpp"
    1213#include "atom.hpp"
    1314#include "element.hpp"
    1415#include "molecule.hpp"
    1516#include "vector.hpp"
     17#include "Matrix.hpp"
     18#include "Box.hpp"
    1619
    1720using namespace std;
     
    128131}
    129132
    130 // Strings Queries
    131 
    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 
    142133// Double Queries
    143134
     
    185176// Vector Queries
    186177
    187 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description) :
     178Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,bool _check, std::string _description) :
    188179  Query(title, _description),
    189   cellSize(_cellSize),
    190180  check(_check),
    191181  target(_target)
     
    205195// Box Queries
    206196
    207 Dialog::BoxQuery::BoxQuery(std::string title, double ** const _cellSize, std::string _description) :
     197Dialog::BoxQuery::BoxQuery(std::string title, Box* _cellSize, std::string _description) :
    208198  Query(title, _description),
    209199  target(_cellSize)
     
    218208
    219209void Dialog::BoxQuery::setResult() {
    220   for (int i=0;i<6;i++) {
    221     (*target)[i] = tmp[i];
    222   }
     210  (*target)= ReturnFullMatrixforSymmetric(tmp);
    223211}
    224212
Note: See TracChangeset for help on using the changeset viewer.