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.

Location:
src/UIElements/Views/Qt4
Files:
8 moved

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QtMoleculeView.cpp

    r81126a r4cf323d  
    77
    88/*
    9  * QTMoleculeView.cpp
     9 * QtMoleculeView.cpp
    1010 *
    1111 *  Created on: Mar 4, 2010
     
    1818#endif
    1919
    20 #include "Views/QT4/QTMoleculeView.hpp"
     20#include "Views/Qt4/QtMoleculeView.hpp"
    2121
    2222#include <iostream>
     
    3030/***************** Basic structure for tab layout ***********/
    3131
    32 QTMoleculeView::QTMoleculeView() :
     32QtMoleculeView::QtMoleculeView() :
    3333    QTabWidget()
    3434{
     
    4040}
    4141
    42 QTMoleculeView::~QTMoleculeView()
     42QtMoleculeView::~QtMoleculeView()
    4343{}
    4444
    45 void QTMoleculeView::moleculeSelected(molecule *mol){
     45void QtMoleculeView::moleculeSelected(molecule *mol){
    4646  if(!pages.count(mol)){
    4747    string molName = mol->GetName();
     
    5656}
    5757
    58 void QTMoleculeView::moleculeUnSelected(molecule *mol){
     58void QtMoleculeView::moleculeUnSelected(molecule *mol){
    5959  if(pages.count(mol)){
    6060    QTMoleculePage *molPage = pages[mol];
     
    6666}
    6767
    68 void QTMoleculeView::nameChanged(QTMoleculePage *page, std::string name){
     68void QtMoleculeView::nameChanged(QTMoleculePage *page, std::string name){
    6969  setTabText(indexOf(page),QString(name.c_str()));
    7070}
  • src/UIElements/Views/Qt4/QtMoleculeView.hpp

    r81126a r4cf323d  
    1919class QTMoleculePage;
    2020
    21 class QTMoleculeView : public QTabWidget
     21class QtMoleculeView : public QTabWidget
    2222{
    2323  Q_OBJECT
    2424public:
    25   QTMoleculeView();
    26   virtual ~QTMoleculeView();
     25  QtMoleculeView();
     26  virtual ~QtMoleculeView();
    2727
    2828public slots:
  • src/UIElements/Views/Qt4/QtStatusBar.cpp

    r81126a r4cf323d  
    77
    88/*
    9  * QTStatusBar.cpp
     9 * QtStatusBar.cpp
    1010 *
    1111 *  Created on: Feb 17, 2010
     
    2424#include <QtGui/QProgressBar>
    2525
    26 #include "QTStatusBar.hpp"
     26#include "QtStatusBar.hpp"
    2727
    2828#include "Helpers/MemDebug.hpp"
     
    3333
    3434
    35 QTStatusBar::QTStatusBar(QWidget *_parent) :
     35QtStatusBar::QtStatusBar(QWidget *_parent) :
    3636  QStatusBar(_parent),
    37   Observer("QTStatusBar"),
     37  Observer("QtStatusBar"),
    3838  atomCount(World::getInstance().numAtoms()),
    3939  moleculeCount(World::getInstance().numMolecules()),
     
    4848}
    4949
    50 QTStatusBar::~QTStatusBar()
     50QtStatusBar::~QtStatusBar()
    5151{
    5252  Process::RemoveObserver(this);
     
    5454}
    5555
    56 void QTStatusBar::update(Observable *subject){
     56void QtStatusBar::update(Observable *subject){
    5757  if (subject==World::getPointer()){
    5858    atomCount = World::getInstance().numAtoms();
     
    6969}
    7070
    71 void QTStatusBar::subjectKilled(Observable *subject){
     71void QtStatusBar::subjectKilled(Observable *subject){
    7272  // Processes don't notify when they are killed
    7373  atomCount = World::getInstance().numAtoms();
     
    7777}
    7878
    79 void QTStatusBar::redrawStatus(){
     79void QtStatusBar::redrawStatus(){
    8080  stringstream sstr;
    8181  sstr << "You have " << atomCount << " atom" << PLURAL_S(atomCount)
     
    8484}
    8585
    86 void QTStatusBar::redrawProcess(Process *proc){
     86void QtStatusBar::redrawProcess(Process *proc){
    8787  progressIndicator *ind=0;
    8888  // see what we have to do with the process
     
    111111
    112112
    113 QTStatusBar::progressIndicator::progressIndicator(string name){
     113QtStatusBar::progressIndicator::progressIndicator(string name){
    114114  stringstream sstr;
    115115  sstr << "Busy (" << name << ")";
     
    124124}
    125125
    126 QTStatusBar::progressIndicator::~progressIndicator(){
     126QtStatusBar::progressIndicator::~progressIndicator(){
    127127  delete container;
    128128}
  • src/UIElements/Views/Qt4/QtStatusBar.hpp

    r81126a r4cf323d  
    11/*
    2  * QTStatusBar.hpp
     2 * QtStatusBar.hpp
    33 *
    44 *  Created on: Feb 17, 2010
     
    2121class QBoxLayout;
    2222
    23 class QTStatusBar : public QStatusBar, public Observer
     23class QtStatusBar : public QStatusBar, public Observer
    2424{
    2525  Q_OBJECT
     
    3434  };
    3535public:
    36   QTStatusBar(QWidget *parent=0);
    37   virtual ~QTStatusBar();
     36  QtStatusBar(QWidget *parent=0);
     37  virtual ~QtStatusBar();
    3838
    3939  void update(Observable *subject);
  • src/UIElements/Views/Qt4/QtWorldView.cpp

    r81126a r4cf323d  
    77
    88/*
    9  * QTWorldView.cpp
     9 * QtWorldView.cpp
    1010 *
    1111 *  Created on: Jan 21, 2010
     
    1818#endif
    1919
    20 #include "Views/QT4/QTWorldView.hpp"
     20#include "Views/Qt4/QtWorldView.hpp"
    2121
    2222#include <iostream>
     
    3434// some attributes need to be easier to find for molecules
    3535// these attributes are skiped so far
    36 const int QTWorldView::COLUMNCOUNT = COLUMNTYPES_MAX;
    37 const char *QTWorldView::COLUMNNAMES[QTWorldView::COLUMNCOUNT]={"Name","Atoms","Formula"/*,"Size"*/};
     36const int QtWorldView::COLUMNCOUNT = COLUMNTYPES_MAX;
     37const char *QtWorldView::COLUMNNAMES[QtWorldView::COLUMNCOUNT]={"Name","Atoms","Formula"/*,"Size"*/};
    3838
    39 QTWorldView::QTWorldView(QWidget * _parent) :
     39QtWorldView::QtWorldView(QWidget * _parent) :
    4040  QTableWidget (_parent),
    41   Observer("QTWorldView")
     41  Observer("QtWorldView")
    4242{
    4343  setRowCount(0);
     
    5959}
    6060
    61 QTWorldView::~QTWorldView()
     61QtWorldView::~QtWorldView()
    6262{
    6363  molecules->signOff(this);
    6464}
    6565
    66 void QTWorldView::update(Observable *publisher) {
     66void QtWorldView::update(Observable *publisher) {
    6767  int numMolecules = molecules->ListOfMolecules.size();
    6868  setRowCount(numMolecules);
     
    101101}
    102102
    103 void QTWorldView::subjectKilled(Observable *publisher) {
     103void QtWorldView::subjectKilled(Observable *publisher) {
    104104}
    105105
    106 void QTWorldView::moleculeChanged(int row, int column) {
     106void QtWorldView::moleculeChanged(int row, int column) {
    107107  int idx = verticalHeaderItem(row)->data(Qt::UserRole).toInt();
    108108  molecule *mol = molecules->ReturnIndex(idx);
     
    117117
    118118
    119 void QTWorldView::cellSelected(int row, int column){
     119void QtWorldView::cellSelected(int row, int column){
    120120  bool state = item(row,column)->isSelected();
    121121  for(int i = 0; i<COLUMNCOUNT; i++){
  • src/UIElements/Views/Qt4/QtWorldView.hpp

    r81126a r4cf323d  
    11/*
    2  * QTWorldView.hpp
     2 * QtWorldView.hpp
    33 *
    44 *  Created on: Jan 21, 2010
     
    1515class MoleculeListClass;
    1616
    17 class QTWorldView : public QTableWidget, public Observer
     17class QtWorldView : public QTableWidget, public Observer
    1818{
    1919  Q_OBJECT
    2020
    2121public:
    22   QTWorldView(QWidget * _parent=0);
    23   virtual ~QTWorldView();
     22  QtWorldView(QWidget * _parent=0);
     23  virtual ~QtWorldView();
    2424
    2525protected:
Note: See TracChangeset for help on using the changeset viewer.