Changeset 83afe0 for molecuilder/src/UIElements/Dialog.cpp
- Timestamp:
- May 8, 2010, 6:30:53 PM (16 years ago)
- Children:
- 7ac765
- Parents:
- 401b97
- File:
-
- 1 edited
-
molecuilder/src/UIElements/Dialog.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/Dialog.cpp
r401b97 r83afe0 51 51 52 52 // Base class 53 Dialog::Query::Query(string _title) : 54 title(_title) 53 Dialog::Query::Query(string _title, string _description) : 54 title(_title), 55 description(_description) 55 56 {} 56 57 … … 61 62 } 62 63 64 const std::string Dialog::Query::getDescription() const{ 65 return description; 66 } 63 67 // Int Queries 64 68 65 Dialog::IntQuery::IntQuery(string title,int *_target ) :66 Query(title ), target(_target)69 Dialog::IntQuery::IntQuery(string title,int *_target, std::string description) : 70 Query(title, description), target(_target) 67 71 {} 68 72 … … 75 79 // String Queries 76 80 77 Dialog::StringQuery::StringQuery(string title,string *_target ) :78 Query(title ), target(_target)81 Dialog::StringQuery::StringQuery(string title,string *_target, std::string _description) : 82 Query(title, _description), target(_target) 79 83 {} 80 84 … … 87 91 // Double Queries 88 92 89 Dialog::DoubleQuery::DoubleQuery(string title,double *_target ) :90 Query(title ), target(_target)93 Dialog::DoubleQuery::DoubleQuery(string title,double *_target, std::string _description) : 94 Query(title, _description), target(_target) 91 95 {} 92 96 … … 100 104 // Molecule Queries 101 105 102 Dialog::MoleculeQuery::MoleculeQuery(string title, molecule **_target, MoleculeListClass *_molecules ) :103 Query(title ),106 Dialog::MoleculeQuery::MoleculeQuery(string title, molecule **_target, MoleculeListClass *_molecules, std::string _description) : 107 Query(title, _description), 104 108 tmp(0), 105 109 molecules(_molecules), … … 116 120 // Vector Queries 117 121 118 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check ) :119 Query(title ),122 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description) : 123 Query(title, _description), 120 124 cellSize(_cellSize), 121 125 check(_check), … … 135 139 136 140 // Element Queries 137 Dialog::ElementQuery::ElementQuery(std::string title, const element **_target ) :138 Query(title ),141 Dialog::ElementQuery::ElementQuery(std::string title, const element **_target, std::string _description) : 142 Query(title, _description), 139 143 tmp(0), 140 144 target(_target)
Note:
See TracChangeset
for help on using the changeset viewer.
