Ignore:
Timestamp:
Oct 25, 2010, 12:08:39 PM (14 years ago)
Author:
Frederik Heber <heber@…>
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
Message:

Renamed QT -> Qt in files, dirs, and class names.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/QtDialog.hpp

    r81126a r4cf323d  
    11/*
    2  * QTDialog.hpp
     2 * QtDialog.hpp
    33 *
    44 *  Created on: Jan 18, 2010
     
    3232
    3333// Forward declarations for plumbing
    34 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
     34template<typename T> class QtQueryListPipe;
     35class BooleanQtQueryPipe;
     36class BoxQtQueryPipe;
     37class StringQtQueryPipe;
     38class StringsQtQueryPipe;
     39class IntQtQueryPipe;
     40class DoubleQtQueryPipe;
     41class DoublesQtQueryPipe;
     42class AtomQtQueryPipe;
     43class AtomsQtQueryPipe;
     44class MoleculeQtQueryPipe;
     45class MoleculesQtQueryPipe;
     46class EmptyQtQueryPipe;
     47class ElementQtQueryPipe;
     48class ElementsQtQueryPipe;
     49class VectorQtQueryPipe;
     50class VectorsQtQueryPipe;
     51class FileQtQueryPipe;
     52
     53class QtDialog : public QDialog, public Dialog
    5454{
    5555  Q_OBJECT
    5656public:
    57   QTDialog();
    58   virtual ~QTDialog();
     57  QtDialog();
     58  virtual ~QtDialog();
    5959
    6060  virtual void queryEmpty(const char*, std::string);
     
    8282
    8383protected:
    84   class IntQTQuery : public Dialog::IntQuery {
    85     public:
    86       IntQTQuery(std::string _title,QBoxLayout *_parent,QTDialog *_dialog);
    87       virtual ~IntQTQuery();
     84  class IntQtQuery : public Dialog::IntQuery {
     85    public:
     86      IntQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog);
     87      virtual ~IntQtQuery();
    8888      virtual bool handle();
    8989    private:
     
    9393      QSpinBox *inputBox;
    9494
    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();
     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();
    102102      virtual bool handle();
    103103      void IntegerEntered(const QString&);
     
    110110      QLabel *titleLabel;
    111111
    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();
     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();
    119119      virtual bool handle();
    120120    private:
     
    124124      QDoubleSpinBox *inputBox;
    125125
    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();
     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();
    133133      virtual bool handle();
    134134    private:
     
    138138      QDoubleSpinBox *inputBox;
    139139
    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();
     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();
    147147      virtual bool handle();
    148148    private:
     
    152152      QLineEdit *inputBox;
    153153
    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();
     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();
    161161      virtual bool handle();
    162162    private:
     
    166166      QLineEdit *inputBox;
    167167
    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();
     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();
    175175      virtual bool handle();
    176176    private:
     
    180180      QTableWidget *inputTable;
    181181
    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();
     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();
    189189      virtual bool handle();
    190190    private:
     
    194194      QComboBox *inputBox;
    195195
    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();
     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();
    203203      virtual bool handle();
    204204    private:
     
    208208      QComboBox *inputBox;
    209209
    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();
     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();
    217217      virtual bool handle();
    218218    private:
     
    222222      QComboBox *inputBox;
    223223
    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();
     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();
    231231      virtual bool handle();
    232232    private:
     
    236236      QComboBox *inputBox;
    237237
    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();
     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();
    245245      virtual bool handle();
    246246    private:
     
    253253      QDoubleSpinBox *coordInput;
    254254
    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();
     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();
    262262      virtual bool handle();
    263263    private:
     
    270270      QDoubleSpinBox *coordInput;
    271271
    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();
     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();
    292292      virtual bool handle();
    293293    private:
     
    297297      QComboBox *booleanComboBox;
    298298
    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();
     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();
    306306      virtual bool handle();
    307307    private:
     
    311311      QComboBox *inputBox;
    312312
    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();
     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();
    320320      virtual bool handle();
    321321    private:
     
    325325      QComboBox *inputBox;
    326326
    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();
     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();
    334334      virtual bool handle();
    335335    private:
     
    340340      QPushButton *filedialogButton;
    341341
    342       FileQTQueryPipe *pipe;
     342      FileQtQueryPipe *pipe;
    343343    };
    344344
     
    355355
    356356
    357 template<typename T> class QTQueryListPipe : public QWidget {
     357template<typename T> class QtQueryListPipe : public QWidget {
    358358  public:
    359     QTQueryListPipe(std::vector<T> *_content, QTDialog *_dialog, QLineEdit *_inputBox, QListWidget *_inputList, QPushButton *_AddButton, QPushButton *_RemoveButton);
    360     virtual ~QTQueryListPipe();
     359    QtQueryListPipe(std::vector<T> *_content, QtDialog *_dialog, QLineEdit *_inputBox, QListWidget *_inputList, QPushButton *_AddButton, QPushButton *_RemoveButton);
     360    virtual ~QtQueryListPipe();
    361361    void AddInteger();
    362362    void RemoveInteger();
     
    369369
    370370    std::vector<T> *content;
    371     QTDialog *dialog;
     371    QtDialog *dialog;
    372372    QLineEdit *inputBox;
    373373    QListWidget *inputList;
     
    377377
    378378
    379 class StringQTQueryPipe : public QWidget {
    380   Q_OBJECT
    381 public:
    382   StringQTQueryPipe(std::string *_content, QTDialog *_dialog);
    383   virtual ~StringQTQueryPipe();
     379class StringQtQueryPipe : public QWidget {
     380  Q_OBJECT
     381public:
     382  StringQtQueryPipe(std::string *_content, QtDialog *_dialog);
     383  virtual ~StringQtQueryPipe();
    384384
    385385public slots:
     
    388388private:
    389389  std::string *content;
    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();
     390  QtDialog *dialog;
     391
     392};
     393
     394class IntQtQueryPipe : public QWidget {
     395  Q_OBJECT
     396public:
     397  IntQtQueryPipe(int *_content, QtDialog *_dialog);
     398  virtual ~IntQtQueryPipe();
    399399
    400400public slots:
     
    403403private:
    404404  int *content;
    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();
     405  QtDialog *dialog;
     406
     407};
     408
     409
     410class DoubleQtQueryPipe : public QWidget {
     411  Q_OBJECT
     412public:
     413  DoubleQtQueryPipe(double *_content, QtDialog *_dialog);
     414  virtual ~DoubleQtQueryPipe();
    415415
    416416public slots:
     
    419419private:
    420420  double *content;
    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();
     421  QtDialog *dialog;
     422
     423};
     424
     425class BoxQtQueryPipe : public QWidget {
     426  Q_OBJECT
     427public:
     428  BoxQtQueryPipe(Box &_content, QtDialog *_dialog, QTableWidget *_inputTable);
     429  virtual ~BoxQtQueryPipe();
    430430
    431431public slots:
     
    434434private:
    435435  Box &content;
    436   QTDialog *dialog;
     436  QtDialog *dialog;
    437437  QTableWidget *inputTable;
    438438
     
    441441
    442442
    443 class AtomQTQueryPipe : public QWidget {
    444   Q_OBJECT
    445 public:
    446   AtomQTQueryPipe(atom **_content, QTDialog *_dialog, QComboBox *_theBox);
    447   virtual ~AtomQTQueryPipe();
     443class AtomQtQueryPipe : public QWidget {
     444  Q_OBJECT
     445public:
     446  AtomQtQueryPipe(atom **_content, QtDialog *_dialog, QComboBox *_theBox);
     447  virtual ~AtomQtQueryPipe();
    448448
    449449public slots:
     
    452452private:
    453453  atom **content;
    454   QTDialog *dialog;
     454  QtDialog *dialog;
    455455  QComboBox *theBox;
    456456
     
    458458
    459459
    460 class AtomsQTQueryPipe : public QWidget {
    461   Q_OBJECT
    462 public:
    463   AtomsQTQueryPipe(std::vector<atom *>*_content, QTDialog *_dialog, QListWidget *_theList);
    464   virtual ~AtomsQTQueryPipe();
     460class AtomsQtQueryPipe : public QWidget {
     461  Q_OBJECT
     462public:
     463  AtomsQtQueryPipe(std::vector<atom *>*_content, QtDialog *_dialog, QListWidget *_theList);
     464  virtual ~AtomsQtQueryPipe();
    465465
    466466public slots:
     
    473473  std::map<int, atom *> lookup;
    474474  std::set<atom *> currentList;
    475   QTDialog *dialog;
     475  QtDialog *dialog;
    476476  QListWidget *theList;
    477477
    478478};
    479479
    480 class MoleculeQTQueryPipe : public QWidget {
    481   Q_OBJECT
    482 public:
    483   MoleculeQTQueryPipe(molecule **_content, QTDialog *_dialog, QComboBox *_theBox);
    484   virtual ~MoleculeQTQueryPipe();
     480class MoleculeQtQueryPipe : public QWidget {
     481  Q_OBJECT
     482public:
     483  MoleculeQtQueryPipe(molecule **_content, QtDialog *_dialog, QComboBox *_theBox);
     484  virtual ~MoleculeQtQueryPipe();
    485485
    486486public slots:
     
    489489private:
    490490  molecule **content;
    491   QTDialog *dialog;
     491  QtDialog *dialog;
    492492  QComboBox *theBox;
    493493
    494494};
    495495
    496 class MoleculesQTQueryPipe : public QWidget {
    497   Q_OBJECT
    498 public:
    499   MoleculesQTQueryPipe(std::vector<molecule *>*_content, QTDialog *_dialog, QComboBox *_theBox);
    500   virtual ~MoleculesQTQueryPipe();
     496class MoleculesQtQueryPipe : public QWidget {
     497  Q_OBJECT
     498public:
     499  MoleculesQtQueryPipe(std::vector<molecule *>*_content, QtDialog *_dialog, QComboBox *_theBox);
     500  virtual ~MoleculesQtQueryPipe();
    501501
    502502public slots:
     
    505505private:
    506506  std::vector<molecule *>*content;
    507   QTDialog *dialog;
     507  QtDialog *dialog;
    508508  QComboBox *theBox;
    509509
    510510};
    511511
    512 class VectorQTQueryPipe : public QWidget {
    513   Q_OBJECT
    514 public:
    515   VectorQTQueryPipe(Vector *_content, QTDialog *_dialog, QComboBox *_theBox);
    516   virtual ~VectorQTQueryPipe();
     512class VectorQtQueryPipe : public QWidget {
     513  Q_OBJECT
     514public:
     515  VectorQtQueryPipe(Vector *_content, QtDialog *_dialog, QComboBox *_theBox);
     516  virtual ~VectorQtQueryPipe();
    517517
    518518public slots:
     
    521521private:
    522522  Vector *content;
    523   QTDialog *dialog;
     523  QtDialog *dialog;
    524524  QComboBox *theBox;
    525525};
    526526
    527 class VectorsQTQueryPipe : public QWidget {
    528   Q_OBJECT
    529 public:
    530   VectorsQTQueryPipe(std::vector<Vector>*_content, QTDialog *_dialog, QComboBox *_theBox);
    531   virtual ~VectorsQTQueryPipe();
     527class VectorsQtQueryPipe : public QWidget {
     528  Q_OBJECT
     529public:
     530  VectorsQtQueryPipe(std::vector<Vector>*_content, QtDialog *_dialog, QComboBox *_theBox);
     531  virtual ~VectorsQtQueryPipe();
    532532
    533533public slots:
     
    536536private:
    537537  std::vector<Vector> *content;
    538   QTDialog *dialog;
     538  QtDialog *dialog;
    539539  QComboBox *theBox;
    540540};
    541541
    542 class EmptyQTQueryPipe : public QWidget {
    543   Q_OBJECT
    544 public:
    545   EmptyQTQueryPipe(QTDialog *_dialog, QLabel *_textLabel);
    546   virtual ~EmptyQTQueryPipe();
     542class EmptyQtQueryPipe : public QWidget {
     543  Q_OBJECT
     544public:
     545  EmptyQtQueryPipe(QtDialog *_dialog, QLabel *_textLabel);
     546  virtual ~EmptyQtQueryPipe();
    547547
    548548public slots:
     
    550550
    551551private:
    552   QTDialog *dialog;
     552  QtDialog *dialog;
    553553  QLabel *textLabel;
    554554};
    555555
    556 class BooleanQTQueryPipe : public QWidget {
    557   Q_OBJECT
    558 public:
    559   BooleanQTQueryPipe(const bool *_content, QTDialog *_dialog, QComboBox *_booleanComboBox);
    560   virtual ~BooleanQTQueryPipe();
     556class BooleanQtQueryPipe : public QWidget {
     557  Q_OBJECT
     558public:
     559  BooleanQtQueryPipe(const bool *_content, QtDialog *_dialog, QComboBox *_booleanComboBox);
     560  virtual ~BooleanQtQueryPipe();
    561561
    562562public slots:
     
    565565private:
    566566  const bool *content;
    567   QTDialog *dialog;
     567  QtDialog *dialog;
    568568  QComboBox *booleanComboBox;
    569569};
    570570
    571 class ElementQTQueryPipe : public QWidget {
    572   Q_OBJECT
    573 public:
    574   ElementQTQueryPipe(const element **_content, QTDialog *_dialog, QComboBox *_theBox);
    575   virtual ~ElementQTQueryPipe();
     571class ElementQtQueryPipe : public QWidget {
     572  Q_OBJECT
     573public:
     574  ElementQtQueryPipe(const element **_content, QtDialog *_dialog, QComboBox *_theBox);
     575  virtual ~ElementQtQueryPipe();
    576576
    577577public slots:
     
    580580private:
    581581  const element **content;
    582   QTDialog *dialog;
     582  QtDialog *dialog;
    583583  QComboBox *theBox;
    584584};
    585585
    586 class ElementsQTQueryPipe : public QWidget {
    587   Q_OBJECT
    588 public:
    589   ElementsQTQueryPipe(std::vector<const element *>*_content, QTDialog *_dialog, QComboBox *_theBox);
    590   virtual ~ElementsQTQueryPipe();
     586class ElementsQtQueryPipe : public QWidget {
     587  Q_OBJECT
     588public:
     589  ElementsQtQueryPipe(std::vector<const element *>*_content, QtDialog *_dialog, QComboBox *_theBox);
     590  virtual ~ElementsQtQueryPipe();
    591591
    592592public slots:
     
    595595private:
    596596  std::vector<const element *>*content;
    597   QTDialog *dialog;
     597  QtDialog *dialog;
    598598  QComboBox *theBox;
    599599};
    600600
    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();
     601class FileQtQueryPipe : public QWidget {
     602  Q_OBJECT
     603public:
     604  FileQtQueryPipe(boost::filesystem::path *_content, QtDialog *_dialog, QLineEdit *_filenameLineEdit, QPushButton *_filedialogButton);
     605  virtual ~FileQtQueryPipe();
    606606
    607607public slots:
     
    611611private:
    612612  boost::filesystem::path *content;
    613   QTDialog *dialog;
     613  QtDialog *dialog;
    614614  QLineEdit *filenameLineEdit;
    615615  QPushButton *filedialogButton;
Note: See TracChangeset for help on using the changeset viewer.