Changeset 4cf323d for src/UIElements/Qt4/QtDialog.hpp
- Timestamp:
- Oct 25, 2010, 12:08:39 PM (14 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 379b7e, 9784cf
- Parents:
- 81126a
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/QtDialog.hpp
r81126a r4cf323d 1 1 /* 2 * Q TDialog.hpp2 * QtDialog.hpp 3 3 * 4 4 * Created on: Jan 18, 2010 … … 32 32 33 33 // Forward declarations for plumbing 34 template<typename T> class Q TQueryListPipe;35 class BooleanQ TQueryPipe;36 class BoxQ TQueryPipe;37 class StringQ TQueryPipe;38 class StringsQ TQueryPipe;39 class IntQ TQueryPipe;40 class DoubleQ TQueryPipe;41 class DoublesQ TQueryPipe;42 class AtomQ TQueryPipe;43 class AtomsQ TQueryPipe;44 class MoleculeQ TQueryPipe;45 class MoleculesQ TQueryPipe;46 class EmptyQ TQueryPipe;47 class ElementQ TQueryPipe;48 class ElementsQ TQueryPipe;49 class VectorQ TQueryPipe;50 class VectorsQ TQueryPipe;51 class FileQ TQueryPipe;52 53 class Q TDialog : public QDialog, public Dialog34 template<typename T> class QtQueryListPipe; 35 class BooleanQtQueryPipe; 36 class BoxQtQueryPipe; 37 class StringQtQueryPipe; 38 class StringsQtQueryPipe; 39 class IntQtQueryPipe; 40 class DoubleQtQueryPipe; 41 class DoublesQtQueryPipe; 42 class AtomQtQueryPipe; 43 class AtomsQtQueryPipe; 44 class MoleculeQtQueryPipe; 45 class MoleculesQtQueryPipe; 46 class EmptyQtQueryPipe; 47 class ElementQtQueryPipe; 48 class ElementsQtQueryPipe; 49 class VectorQtQueryPipe; 50 class VectorsQtQueryPipe; 51 class FileQtQueryPipe; 52 53 class QtDialog : public QDialog, public Dialog 54 54 { 55 55 Q_OBJECT 56 56 public: 57 Q TDialog();58 virtual ~Q TDialog();57 QtDialog(); 58 virtual ~QtDialog(); 59 59 60 60 virtual void queryEmpty(const char*, std::string); … … 82 82 83 83 protected: 84 class IntQ TQuery : public Dialog::IntQuery {85 public: 86 IntQ TQuery(std::string _title,QBoxLayout *_parent,QTDialog *_dialog);87 virtual ~IntQ TQuery();84 class IntQtQuery : public Dialog::IntQuery { 85 public: 86 IntQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog); 87 virtual ~IntQtQuery(); 88 88 virtual bool handle(); 89 89 private: … … 93 93 QSpinBox *inputBox; 94 94 95 IntQ TQueryPipe *pipe;96 }; 97 98 class IntsQ TQuery : public Dialog::IntsQuery {99 public: 100 IntsQ TQuery(std::string _title,QBoxLayout *_parent,QTDialog *_dialog);101 virtual ~IntsQ TQuery();95 IntQtQueryPipe *pipe; 96 }; 97 98 class IntsQtQuery : public Dialog::IntsQuery { 99 public: 100 IntsQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog); 101 virtual ~IntsQtQuery(); 102 102 virtual bool handle(); 103 103 void IntegerEntered(const QString&); … … 110 110 QLabel *titleLabel; 111 111 112 Q TQueryListPipe<int> *pipe;113 }; 114 115 class DoubleQ TQuery : public Dialog::DoubleQuery {116 public: 117 DoubleQ TQuery(std::string title,QBoxLayout *_parent,QTDialog *_dialog);118 virtual ~DoubleQ TQuery();112 QtQueryListPipe<int> *pipe; 113 }; 114 115 class DoubleQtQuery : public Dialog::DoubleQuery { 116 public: 117 DoubleQtQuery(std::string title,QBoxLayout *_parent,QtDialog *_dialog); 118 virtual ~DoubleQtQuery(); 119 119 virtual bool handle(); 120 120 private: … … 124 124 QDoubleSpinBox *inputBox; 125 125 126 DoubleQ TQueryPipe *pipe;127 }; 128 129 class DoublesQ TQuery : public Dialog::DoublesQuery {130 public: 131 DoublesQ TQuery(std::string title,QBoxLayout *_parent,QTDialog *_dialog);132 virtual ~DoublesQ TQuery();126 DoubleQtQueryPipe *pipe; 127 }; 128 129 class DoublesQtQuery : public Dialog::DoublesQuery { 130 public: 131 DoublesQtQuery(std::string title,QBoxLayout *_parent,QtDialog *_dialog); 132 virtual ~DoublesQtQuery(); 133 133 virtual bool handle(); 134 134 private: … … 138 138 QDoubleSpinBox *inputBox; 139 139 140 Q TQueryListPipe<double> *pipe;141 }; 142 143 class StringQ TQuery : public Dialog::StringQuery {144 public: 145 StringQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);146 virtual ~StringQ TQuery();140 QtQueryListPipe<double> *pipe; 141 }; 142 143 class StringQtQuery : public Dialog::StringQuery { 144 public: 145 StringQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 146 virtual ~StringQtQuery(); 147 147 virtual bool handle(); 148 148 private: … … 152 152 QLineEdit *inputBox; 153 153 154 StringQ TQueryPipe *pipe;155 }; 156 157 class StringsQ TQuery : public Dialog::StringsQuery {158 public: 159 StringsQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);160 virtual ~StringsQ TQuery();154 StringQtQueryPipe *pipe; 155 }; 156 157 class StringsQtQuery : public Dialog::StringsQuery { 158 public: 159 StringsQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 160 virtual ~StringsQtQuery(); 161 161 virtual bool handle(); 162 162 private: … … 166 166 QLineEdit *inputBox; 167 167 168 Q TQueryListPipe<std::string> *pipe;169 }; 170 171 class BoxQ TQuery : public Dialog::BoxQuery {172 public: 173 BoxQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);174 virtual ~BoxQ TQuery();168 QtQueryListPipe<std::string> *pipe; 169 }; 170 171 class BoxQtQuery : public Dialog::BoxQuery { 172 public: 173 BoxQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 174 virtual ~BoxQtQuery(); 175 175 virtual bool handle(); 176 176 private: … … 180 180 QTableWidget *inputTable; 181 181 182 BoxQ TQueryPipe *pipe;183 }; 184 185 class AtomQ TQuery : public Dialog::AtomQuery {186 public: 187 AtomQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);188 virtual ~AtomQ TQuery();182 BoxQtQueryPipe *pipe; 183 }; 184 185 class AtomQtQuery : public Dialog::AtomQuery { 186 public: 187 AtomQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 188 virtual ~AtomQtQuery(); 189 189 virtual bool handle(); 190 190 private: … … 194 194 QComboBox *inputBox; 195 195 196 AtomQ TQueryPipe *pipe;197 }; 198 199 class AtomsQ TQuery : public Dialog::AtomsQuery {200 public: 201 AtomsQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);202 virtual ~AtomsQ TQuery();196 AtomQtQueryPipe *pipe; 197 }; 198 199 class AtomsQtQuery : public Dialog::AtomsQuery { 200 public: 201 AtomsQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 202 virtual ~AtomsQtQuery(); 203 203 virtual bool handle(); 204 204 private: … … 208 208 QComboBox *inputBox; 209 209 210 AtomsQ TQueryPipe *pipe;211 }; 212 213 class MoleculeQ TQuery : public Dialog::MoleculeQuery {214 public: 215 MoleculeQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);216 virtual ~MoleculeQ TQuery();210 AtomsQtQueryPipe *pipe; 211 }; 212 213 class MoleculeQtQuery : public Dialog::MoleculeQuery { 214 public: 215 MoleculeQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 216 virtual ~MoleculeQtQuery(); 217 217 virtual bool handle(); 218 218 private: … … 222 222 QComboBox *inputBox; 223 223 224 MoleculeQ TQueryPipe *pipe;225 }; 226 227 class MoleculesQ TQuery : public Dialog::MoleculesQuery {228 public: 229 MoleculesQ TQuery(std::string _title, QBoxLayout *_parent,QTDialog *_dialog);230 virtual ~MoleculesQ TQuery();224 MoleculeQtQueryPipe *pipe; 225 }; 226 227 class MoleculesQtQuery : public Dialog::MoleculesQuery { 228 public: 229 MoleculesQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog); 230 virtual ~MoleculesQtQuery(); 231 231 virtual bool handle(); 232 232 private: … … 236 236 QComboBox *inputBox; 237 237 238 MoleculesQ TQueryPipe *pipe;239 }; 240 241 class VectorQ TQuery : public Dialog::VectorQuery {242 public: 243 VectorQ TQuery(std::string title,bool _check,QBoxLayout *,QTDialog *);244 virtual ~VectorQ TQuery();238 MoleculesQtQueryPipe *pipe; 239 }; 240 241 class VectorQtQuery : public Dialog::VectorQuery { 242 public: 243 VectorQtQuery(std::string title,bool _check,QBoxLayout *,QtDialog *); 244 virtual ~VectorQtQuery(); 245 245 virtual bool handle(); 246 246 private: … … 253 253 QDoubleSpinBox *coordInput; 254 254 255 VectorQ TQueryPipe *pipe;256 }; 257 258 class VectorsQ TQuery : public Dialog::VectorsQuery {259 public: 260 VectorsQ TQuery(std::string title,bool _check,QBoxLayout *,QTDialog *);261 virtual ~VectorsQ TQuery();255 VectorQtQueryPipe *pipe; 256 }; 257 258 class VectorsQtQuery : public Dialog::VectorsQuery { 259 public: 260 VectorsQtQuery(std::string title,bool _check,QBoxLayout *,QtDialog *); 261 virtual ~VectorsQtQuery(); 262 262 virtual bool handle(); 263 263 private: … … 270 270 QDoubleSpinBox *coordInput; 271 271 272 VectorsQ TQueryPipe *pipe;273 }; 274 275 class EmptyQ TQuery : public Dialog::EmptyQuery {276 public: 277 EmptyQ TQuery(std::string _title, QBoxLayout *_parent, QTDialog *_dialog);278 virtual ~EmptyQ TQuery();279 virtual bool handle(); 280 private: 281 QBoxLayout *parent; 282 QBoxLayout *thisLayout; 283 QLabel *titleLabel; 284 285 EmptyQ TQueryPipe *pipe;286 }; 287 288 class BooleanQ TQuery : public Dialog::BooleanQuery {289 public: 290 BooleanQ TQuery(std::string _title, QBoxLayout *_parent, QTDialog *_dialog);291 virtual ~BooleanQ TQuery();272 VectorsQtQueryPipe *pipe; 273 }; 274 275 class EmptyQtQuery : public Dialog::EmptyQuery { 276 public: 277 EmptyQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 278 virtual ~EmptyQtQuery(); 279 virtual bool handle(); 280 private: 281 QBoxLayout *parent; 282 QBoxLayout *thisLayout; 283 QLabel *titleLabel; 284 285 EmptyQtQueryPipe *pipe; 286 }; 287 288 class BooleanQtQuery : public Dialog::BooleanQuery { 289 public: 290 BooleanQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 291 virtual ~BooleanQtQuery(); 292 292 virtual bool handle(); 293 293 private: … … 297 297 QComboBox *booleanComboBox; 298 298 299 BooleanQ TQueryPipe *pipe;300 }; 301 302 class ElementQ TQuery : public Dialog::ElementQuery {303 public: 304 ElementQ TQuery(std::string _title, QBoxLayout *_parent, QTDialog *_dialog);305 virtual ~ElementQ TQuery();299 BooleanQtQueryPipe *pipe; 300 }; 301 302 class ElementQtQuery : public Dialog::ElementQuery { 303 public: 304 ElementQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 305 virtual ~ElementQtQuery(); 306 306 virtual bool handle(); 307 307 private: … … 311 311 QComboBox *inputBox; 312 312 313 ElementQ TQueryPipe *pipe;314 }; 315 316 class ElementsQ TQuery : public Dialog::ElementsQuery {317 public: 318 ElementsQ TQuery(std::string _title, QBoxLayout *_parent, QTDialog *_dialog);319 virtual ~ElementsQ TQuery();313 ElementQtQueryPipe *pipe; 314 }; 315 316 class ElementsQtQuery : public Dialog::ElementsQuery { 317 public: 318 ElementsQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 319 virtual ~ElementsQtQuery(); 320 320 virtual bool handle(); 321 321 private: … … 325 325 QComboBox *inputBox; 326 326 327 ElementsQ TQueryPipe *pipe;328 }; 329 330 class FileQ TQuery : public Dialog::FileQuery {331 public: 332 FileQ TQuery(std::string _title, QBoxLayout *_parent, QTDialog *_dialog);333 virtual ~FileQ TQuery();327 ElementsQtQueryPipe *pipe; 328 }; 329 330 class FileQtQuery : public Dialog::FileQuery { 331 public: 332 FileQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog); 333 virtual ~FileQtQuery(); 334 334 virtual bool handle(); 335 335 private: … … 340 340 QPushButton *filedialogButton; 341 341 342 FileQ TQueryPipe *pipe;342 FileQtQueryPipe *pipe; 343 343 }; 344 344 … … 355 355 356 356 357 template<typename T> class Q TQueryListPipe : public QWidget {357 template<typename T> class QtQueryListPipe : public QWidget { 358 358 public: 359 Q TQueryListPipe(std::vector<T> *_content, QTDialog *_dialog, QLineEdit *_inputBox, QListWidget *_inputList, QPushButton *_AddButton, QPushButton *_RemoveButton);360 virtual ~Q TQueryListPipe();359 QtQueryListPipe(std::vector<T> *_content, QtDialog *_dialog, QLineEdit *_inputBox, QListWidget *_inputList, QPushButton *_AddButton, QPushButton *_RemoveButton); 360 virtual ~QtQueryListPipe(); 361 361 void AddInteger(); 362 362 void RemoveInteger(); … … 369 369 370 370 std::vector<T> *content; 371 Q TDialog *dialog;371 QtDialog *dialog; 372 372 QLineEdit *inputBox; 373 373 QListWidget *inputList; … … 377 377 378 378 379 class StringQ TQueryPipe : public QWidget {380 Q_OBJECT 381 public: 382 StringQ TQueryPipe(std::string *_content, QTDialog *_dialog);383 virtual ~StringQ TQueryPipe();379 class StringQtQueryPipe : public QWidget { 380 Q_OBJECT 381 public: 382 StringQtQueryPipe(std::string *_content, QtDialog *_dialog); 383 virtual ~StringQtQueryPipe(); 384 384 385 385 public slots: … … 388 388 private: 389 389 std::string *content; 390 Q TDialog *dialog;391 392 }; 393 394 class IntQ TQueryPipe : public QWidget {395 Q_OBJECT 396 public: 397 IntQ TQueryPipe(int *_content, QTDialog *_dialog);398 virtual ~IntQ TQueryPipe();390 QtDialog *dialog; 391 392 }; 393 394 class IntQtQueryPipe : public QWidget { 395 Q_OBJECT 396 public: 397 IntQtQueryPipe(int *_content, QtDialog *_dialog); 398 virtual ~IntQtQueryPipe(); 399 399 400 400 public slots: … … 403 403 private: 404 404 int *content; 405 Q TDialog *dialog;406 407 }; 408 409 410 class DoubleQ TQueryPipe : public QWidget {411 Q_OBJECT 412 public: 413 DoubleQ TQueryPipe(double *_content, QTDialog *_dialog);414 virtual ~DoubleQ TQueryPipe();405 QtDialog *dialog; 406 407 }; 408 409 410 class DoubleQtQueryPipe : public QWidget { 411 Q_OBJECT 412 public: 413 DoubleQtQueryPipe(double *_content, QtDialog *_dialog); 414 virtual ~DoubleQtQueryPipe(); 415 415 416 416 public slots: … … 419 419 private: 420 420 double *content; 421 Q TDialog *dialog;422 423 }; 424 425 class BoxQ TQueryPipe : public QWidget {426 Q_OBJECT 427 public: 428 BoxQ TQueryPipe(Box &_content, QTDialog *_dialog, QTableWidget *_inputTable);429 virtual ~BoxQ TQueryPipe();421 QtDialog *dialog; 422 423 }; 424 425 class BoxQtQueryPipe : public QWidget { 426 Q_OBJECT 427 public: 428 BoxQtQueryPipe(Box &_content, QtDialog *_dialog, QTableWidget *_inputTable); 429 virtual ~BoxQtQueryPipe(); 430 430 431 431 public slots: … … 434 434 private: 435 435 Box &content; 436 Q TDialog *dialog;436 QtDialog *dialog; 437 437 QTableWidget *inputTable; 438 438 … … 441 441 442 442 443 class AtomQ TQueryPipe : public QWidget {444 Q_OBJECT 445 public: 446 AtomQ TQueryPipe(atom **_content, QTDialog *_dialog, QComboBox *_theBox);447 virtual ~AtomQ TQueryPipe();443 class AtomQtQueryPipe : public QWidget { 444 Q_OBJECT 445 public: 446 AtomQtQueryPipe(atom **_content, QtDialog *_dialog, QComboBox *_theBox); 447 virtual ~AtomQtQueryPipe(); 448 448 449 449 public slots: … … 452 452 private: 453 453 atom **content; 454 Q TDialog *dialog;454 QtDialog *dialog; 455 455 QComboBox *theBox; 456 456 … … 458 458 459 459 460 class AtomsQ TQueryPipe : public QWidget {461 Q_OBJECT 462 public: 463 AtomsQ TQueryPipe(std::vector<atom *>*_content, QTDialog *_dialog, QListWidget *_theList);464 virtual ~AtomsQ TQueryPipe();460 class AtomsQtQueryPipe : public QWidget { 461 Q_OBJECT 462 public: 463 AtomsQtQueryPipe(std::vector<atom *>*_content, QtDialog *_dialog, QListWidget *_theList); 464 virtual ~AtomsQtQueryPipe(); 465 465 466 466 public slots: … … 473 473 std::map<int, atom *> lookup; 474 474 std::set<atom *> currentList; 475 Q TDialog *dialog;475 QtDialog *dialog; 476 476 QListWidget *theList; 477 477 478 478 }; 479 479 480 class MoleculeQ TQueryPipe : public QWidget {481 Q_OBJECT 482 public: 483 MoleculeQ TQueryPipe(molecule **_content, QTDialog *_dialog, QComboBox *_theBox);484 virtual ~MoleculeQ TQueryPipe();480 class MoleculeQtQueryPipe : public QWidget { 481 Q_OBJECT 482 public: 483 MoleculeQtQueryPipe(molecule **_content, QtDialog *_dialog, QComboBox *_theBox); 484 virtual ~MoleculeQtQueryPipe(); 485 485 486 486 public slots: … … 489 489 private: 490 490 molecule **content; 491 Q TDialog *dialog;491 QtDialog *dialog; 492 492 QComboBox *theBox; 493 493 494 494 }; 495 495 496 class MoleculesQ TQueryPipe : public QWidget {497 Q_OBJECT 498 public: 499 MoleculesQ TQueryPipe(std::vector<molecule *>*_content, QTDialog *_dialog, QComboBox *_theBox);500 virtual ~MoleculesQ TQueryPipe();496 class MoleculesQtQueryPipe : public QWidget { 497 Q_OBJECT 498 public: 499 MoleculesQtQueryPipe(std::vector<molecule *>*_content, QtDialog *_dialog, QComboBox *_theBox); 500 virtual ~MoleculesQtQueryPipe(); 501 501 502 502 public slots: … … 505 505 private: 506 506 std::vector<molecule *>*content; 507 Q TDialog *dialog;507 QtDialog *dialog; 508 508 QComboBox *theBox; 509 509 510 510 }; 511 511 512 class VectorQ TQueryPipe : public QWidget {513 Q_OBJECT 514 public: 515 VectorQ TQueryPipe(Vector *_content, QTDialog *_dialog, QComboBox *_theBox);516 virtual ~VectorQ TQueryPipe();512 class VectorQtQueryPipe : public QWidget { 513 Q_OBJECT 514 public: 515 VectorQtQueryPipe(Vector *_content, QtDialog *_dialog, QComboBox *_theBox); 516 virtual ~VectorQtQueryPipe(); 517 517 518 518 public slots: … … 521 521 private: 522 522 Vector *content; 523 Q TDialog *dialog;523 QtDialog *dialog; 524 524 QComboBox *theBox; 525 525 }; 526 526 527 class VectorsQ TQueryPipe : public QWidget {528 Q_OBJECT 529 public: 530 VectorsQ TQueryPipe(std::vector<Vector>*_content, QTDialog *_dialog, QComboBox *_theBox);531 virtual ~VectorsQ TQueryPipe();527 class VectorsQtQueryPipe : public QWidget { 528 Q_OBJECT 529 public: 530 VectorsQtQueryPipe(std::vector<Vector>*_content, QtDialog *_dialog, QComboBox *_theBox); 531 virtual ~VectorsQtQueryPipe(); 532 532 533 533 public slots: … … 536 536 private: 537 537 std::vector<Vector> *content; 538 Q TDialog *dialog;538 QtDialog *dialog; 539 539 QComboBox *theBox; 540 540 }; 541 541 542 class EmptyQ TQueryPipe : public QWidget {543 Q_OBJECT 544 public: 545 EmptyQ TQueryPipe(QTDialog *_dialog, QLabel *_textLabel);546 virtual ~EmptyQ TQueryPipe();542 class EmptyQtQueryPipe : public QWidget { 543 Q_OBJECT 544 public: 545 EmptyQtQueryPipe(QtDialog *_dialog, QLabel *_textLabel); 546 virtual ~EmptyQtQueryPipe(); 547 547 548 548 public slots: … … 550 550 551 551 private: 552 Q TDialog *dialog;552 QtDialog *dialog; 553 553 QLabel *textLabel; 554 554 }; 555 555 556 class BooleanQ TQueryPipe : public QWidget {557 Q_OBJECT 558 public: 559 BooleanQ TQueryPipe(const bool *_content, QTDialog *_dialog, QComboBox *_booleanComboBox);560 virtual ~BooleanQ TQueryPipe();556 class BooleanQtQueryPipe : public QWidget { 557 Q_OBJECT 558 public: 559 BooleanQtQueryPipe(const bool *_content, QtDialog *_dialog, QComboBox *_booleanComboBox); 560 virtual ~BooleanQtQueryPipe(); 561 561 562 562 public slots: … … 565 565 private: 566 566 const bool *content; 567 Q TDialog *dialog;567 QtDialog *dialog; 568 568 QComboBox *booleanComboBox; 569 569 }; 570 570 571 class ElementQ TQueryPipe : public QWidget {572 Q_OBJECT 573 public: 574 ElementQ TQueryPipe(const element **_content, QTDialog *_dialog, QComboBox *_theBox);575 virtual ~ElementQ TQueryPipe();571 class ElementQtQueryPipe : public QWidget { 572 Q_OBJECT 573 public: 574 ElementQtQueryPipe(const element **_content, QtDialog *_dialog, QComboBox *_theBox); 575 virtual ~ElementQtQueryPipe(); 576 576 577 577 public slots: … … 580 580 private: 581 581 const element **content; 582 Q TDialog *dialog;582 QtDialog *dialog; 583 583 QComboBox *theBox; 584 584 }; 585 585 586 class ElementsQ TQueryPipe : public QWidget {587 Q_OBJECT 588 public: 589 ElementsQ TQueryPipe(std::vector<const element *>*_content, QTDialog *_dialog, QComboBox *_theBox);590 virtual ~ElementsQ TQueryPipe();586 class ElementsQtQueryPipe : public QWidget { 587 Q_OBJECT 588 public: 589 ElementsQtQueryPipe(std::vector<const element *>*_content, QtDialog *_dialog, QComboBox *_theBox); 590 virtual ~ElementsQtQueryPipe(); 591 591 592 592 public slots: … … 595 595 private: 596 596 std::vector<const element *>*content; 597 Q TDialog *dialog;597 QtDialog *dialog; 598 598 QComboBox *theBox; 599 599 }; 600 600 601 class FileQ TQueryPipe : public QWidget {602 Q_OBJECT 603 public: 604 FileQ TQueryPipe(boost::filesystem::path *_content, QTDialog *_dialog, QLineEdit *_filenameLineEdit, QPushButton *_filedialogButton);605 virtual ~FileQ TQueryPipe();601 class FileQtQueryPipe : public QWidget { 602 Q_OBJECT 603 public: 604 FileQtQueryPipe(boost::filesystem::path *_content, QtDialog *_dialog, QLineEdit *_filenameLineEdit, QPushButton *_filedialogButton); 605 virtual ~FileQtQueryPipe(); 606 606 607 607 public slots: … … 611 611 private: 612 612 boost::filesystem::path *content; 613 Q TDialog *dialog;613 QtDialog *dialog; 614 614 QLineEdit *filenameLineEdit; 615 615 QPushButton *filedialogButton;
Note:
See TracChangeset
for help on using the changeset viewer.