Changeset ea94a8
- Timestamp:
- Jan 14, 2010, 2:50:36 PM (15 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:
- 8f67e2
- Parents:
- 3027f8
- Location:
- src
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r3027f8 rea94a8 17 17 UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp 18 18 19 QTUI SOURCE = UIElements/QT4/QTMainWindow.cpp20 QTUI HEADER = UIElements/QT4/QTMainWindow.hpp19 QTUIMOC_HEADER = UIElements/QT4/QTMainWindow.hpp 20 QTUIMOC_TARGETS = QTMainWindow.moc.cpp 21 21 22 QTUIMOCS = QTMainWindow.moc.cpp 22 QTUISOURCE = ${QTUIMOC_TARGETS} UIElements/QT4/QTMainWindow.cpp UIElements/QT4/QTUIFactory.cpp 23 QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp 24 23 25 QTUI_DEFS = 24 26 25 26 SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${UISOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp menu.cpp 27 HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${UIHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp menu.hpp 27 #Right now QT is included in all Builds for simplicity of the build process 28 # TODO: Find a way to extract Files using QT and seperate the build process into two parts 29 SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${UISOURCE} ${QTUISOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp menu.cpp 30 HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${UIHEADER} ${QTUIHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp menu.hpp 28 31 29 32 BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) … … 33 36 bin_PROGRAMS = molecuilder molecuildergui joiner analyzer 34 37 molecuilderdir = ${bindir} 38 libmolecuilder_a_CXXFLAGS = ${QT_CXXFLAGS} 35 39 libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER} 36 40 molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db 37 molecuilder_LDFLAGS = $(BOOST_LIB) 38 molecuilder_SOURCES = builder.cpp 39 molecuilder_LDADD = libmolecuilder.a 41 molecuilder_CXXFLAGS = ${QT_CXXFLAGS} 42 molecuilder_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} 43 molecuilder_SOURCES = builder.cpp 44 molecuilder_LDADD = libmolecuilder.a ${QT_LDADD} ${QT_LIB_GUI} 40 45 #Stuff for building the GUI using QT 41 molecuildergui_SOURCES = builder.cpp ${QTUISOURCE} ${QTUIMOCS} ${QTUIHEADER}46 molecuildergui_SOURCES = builder.cpp 42 47 molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} -DUSE_GUI_QT 43 molecuildergui_LDFLAGS = $ {QT_LDFLAGS}48 molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} 44 49 molecuildergui_LDADD = libmolecuilder.a ${QT_LDADD} ${QT_LIB_GUI} 45 50 joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp … … 53 58 # Therfore `%'-rules do not seem to work 54 59 #Quick fix to get it done otherwise 55 ${QTUIMOC S}:60 ${QTUIMOC_TARGETS}: 56 61 list='$(QTUIHEADER)'; for header in $$list; do \ 57 62 echo "Making mocfile for $$header"; \ -
src/UIElements/QT4/QTMainWindow.cpp
r3027f8 rea94a8 12 12 using namespace std; 13 13 14 QTMainWindow::QTMainWindow( )14 QTMainWindow::QTMainWindow(menuPopulaters populaters,MoleculeListClass *molecules, config *configuration, periodentafel *periode, char *ConfigFileName) 15 15 { 16 16 // TODO Auto-generated constructor stub -
src/UIElements/QT4/QTMainWindow.hpp
r3027f8 rea94a8 17 17 18 18 public: 19 QTMainWindow( );19 QTMainWindow(menuPopulaters populaters,MoleculeListClass *molecules, config *configuration, periodentafel *periode, char *ConfigFileName); 20 20 virtual ~QTMainWindow(); 21 21 -
src/UIElements/TextUIFactory.hpp
r3027f8 rea94a8 13 13 class TextUIFactory : public UIFactory 14 14 { 15 friend class UIFactory;15 friend class UIFactory; 16 16 17 17 public: -
src/UIElements/UIFactory.cpp
r3027f8 rea94a8 12 12 // all factories that can be used: 13 13 #include "UIElements/TextUIFactory.hpp" 14 #include "UIElements/QT4/QTUIFactory.hpp" 14 15 15 16 UIFactory *UIFactory::theFactory = 0; … … 32 33 theFactory = new TextUIFactory(); 33 34 break; 35 case QT4 : 36 theFactory = new QTUIFactory(); 37 break; 34 38 35 39 default:
Note:
See TracChangeset
for help on using the changeset viewer.