Changeset 5b991a


Ignore:
Timestamp:
Nov 16, 2012, 11:10:57 AM (12 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:
30421d
Parents:
e59e8e
git-author:
Michael Ankele <ankele@…> (11/14/12 15:06:00)
git-committer:
Frederik Heber <heber@…> (11/16/12 11:10:57)
Message:

compile icons into the executable

Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    re59e8e r5b991a  
    11ACLOCAL_AMFLAGS = -I m4
    2 SUBDIRS = LinearAlgebra src src/unittests tests utils doc
     2SUBDIRS = LinearAlgebra data/icons src src/unittests data tests utils doc
    33
    44AUTOMAKE_OPTIONS = subdir-objects
  • configure.ac

    re59e8e r5b991a  
    5757                [moc-qt4 moc],
    5858                [AC_MSG_ERROR(["Qts moc not found, please use --with-Qt-bin."])],
     59                [$have_qtgui_path]
     60        )
     61        AC_PATH_PROGS([QT_RCC],
     62                [rcc-qt4 rcc],
     63                [AC_MSG_ERROR(["Qts rcc not found, please use --with-Qt-bin."])],
    5964                [$have_qtgui_path]
    6065        )
     
    321326        doc/Makefile
    322327        src/Makefile
     328        data/Makefile
     329        data/icons/Makefile
    323330        utils/Makefile
    324331])
  • src/Makefile.am

    re59e8e r5b991a  
    300300
    301301
    302 molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
     302molecuilder_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS}
    303303#molecuilder_CXXFLAGS += -DNO_CACHING
    304304molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
  • src/UIElements/Makefile.am

    re59e8e r5b991a  
    307307
    308308libMolecuilderQtUI_la_LIBADD = \
     309        ../data/icons/liblogo.la \
    309310        ${QT_LIBS} \
    310311        -lQtOpenGL \
    311312        ${GLU_LIBS}
     313
     314##libMolecuilderQtUI_la_LDADD = \
     315##      ../data/icons/liblogo.a
    312316
    313317nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
  • src/UIElements/Qt4/QtMainWindow.cpp

    re59e8e r5b991a  
    7171#include "Actions/WorldAction/OutputAsAction.hpp"
    7272
     73
    7374using namespace MoleCuilder;
    7475
     
    7677    theApp(_theApp)
    7778{
     79  Q_INIT_RESOURCE(logos);
    7880  QCoreApplication::setOrganizationName("ins");
    7981  QCoreApplication::setOrganizationDomain("ins.uni-bonn.de");
  • src/UIElements/Views/Qt4/Qt3D/GLWorldView.cpp

    re59e8e r5b991a  
    168168  stereoMenu->addAction(stereoAnaglyphAction);
    169169  stereoButton->setMenu(stereoMenu);
    170   stereoButton->setIcon(QIcon(QPixmap("/home/ankele/workspace/molecuilder/data/icons/icon_view_stereo.png")));
     170  stereoButton->setIcon(QIcon(QPixmap(":/icon_view_stereo.png")));
    171171  stereoButton->setPopupMode(QToolButton::InstantPopup);
    172172  toolbar->addWidget(stereoButton);
     
    174174  // selection mode
    175175  toolbar->addSeparator();
    176   QAction *selAtomAction = new QAction(QIcon(QPixmap("/home/ankele/workspace/molecuilder/data/icons/icon_select_atom.png")), tr("select atom by clicking"), this);
     176  QAction *selAtomAction = new QAction(QIcon(QPixmap(":/icon_select_atom.png")), tr("select atom by clicking"), this);
    177177  connect(selAtomAction, SIGNAL(triggered()), worldscene, SLOT(setSelectionModeAtom()));
    178178  toolbar->addAction(selAtomAction);
    179   QAction *selMolAction = new QAction(QIcon(QPixmap("/home/ankele/workspace/molecuilder/data/icons/icon_select_molecule.png")), tr("select molecule by clicking"), this);
     179  QAction *selMolAction = new QAction(QIcon(QPixmap(":/icon_select_molecule.png")), tr("select molecule by clicking"), this);
    180180  connect(selMolAction, SIGNAL(triggered()), worldscene, SLOT(setSelectionModeMolecule()));
    181181  toolbar->addAction(selMolAction);
Note: See TracChangeset for help on using the changeset viewer.