Changeset f4b6bc9 for src/UIElements/Qt4/Query/QtQuery.hpp
- Timestamp:
- Apr 4, 2018, 4:59:24 PM (7 years ago)
- Branches:
- Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
- Children:
- 0aae02
- Parents:
- 775f3f
- git-author:
- Frederik Heber <frederik.heber@…> (07/06/17 22:18:13)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/04/18 16:59:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/UIElements/Qt4/Query/QtQuery.hpp ¶
r775f3f rf4b6bc9 43 43 Dialog::TQuery<T>(_param, _title, _description) {} 44 44 // QtQueries are interactive - no need for handle(). 45 virtual bool handle(){ return true; } 45 virtual ~QtQuery() {} 46 virtual void handle(){ Dialog::TQuery<T>::handleSuccess = true; } 46 47 }; 47 48 … … 186 187 EmptyQtQuery(const std::string &_title, const std::string &description, QBoxLayout *_parent, Dialog *_dialog); 187 188 virtual ~EmptyQtQuery(); 188 virtual boolhandle();189 virtual void handle(); 189 190 private: 190 191 QBoxLayout *parent;
Note:
See TracChangeset
for help on using the changeset viewer.