source: src/UIElements/Qt4/QtMainWindow.hpp@ 15c8a9

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
Last change on this file since 15c8a9 was 15c8a9, checked in by Frederik Heber <heber@…>, 9 years ago

Added QtInstanceInformationBoard that handles ObservedValues through the QtGui interface.

  • this is meant as a instantiator of all ObservedValue's needed by QtGui for representing information from the World. The ObservedValue's are instantiated separately w.r.t. to the instance for the visual representation. This is light-weight and can be performed in the same thread, while the visual representation's instantiation can be done elsewhere and there we just need to access the ready ObservedValue's that exist as long as they are needed by the QtGui.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 * QtMainWindow.hpp
3 *
4 * Created on: Jan 14, 2010
5 * Author: crueger
6 */
7
8#ifndef QTMAINWINDOW_HPP_
9#define QTMAINWINDOW_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "UIElements/MainWindow.hpp"
18#include <QtGui/QMainWindow>
19
20#include <map>
21#include <set>
22
23#include "Menu/Qt4/QtMenu.hpp"
24
25#include "types.hpp"
26
27class QtElementList;
28class QtFragmentList;
29class QtHomologyList;
30class QtLogBox;
31class QtMoleculeList;
32class QtSelectionChangedAgent;
33class QtShapeController;
34class StringView;
35class GLWorldView;
36class QtInfoBox;
37class QtStatusBar;
38class QtToolBar;
39class QCloseEvent;
40class QSlider;
41
42class QtInstanceInformationBoard;
43
44class QtMainWindow : public QMainWindow, public MainWindow
45{
46 Q_OBJECT
47
48public:
49 QtMainWindow(QApplication *_theApp);
50 virtual ~QtMainWindow();
51
52 virtual void display();
53
54protected:
55 virtual void closeEvent(QCloseEvent *event);
56
57
58private:
59 // All kinds of QTStuff used in this window
60 QApplication *theApp;
61 QtMoleculeList *moleculeList;
62 QtElementList *elementList;
63 QtHomologyList *homologyList;
64 QtFragmentList *fragmentList;
65 QtSelectionChangedAgent *selectionagent;
66 QtShapeController *shapeController;
67 GLWorldView *glWorldView;
68 QtInfoBox *infoBox;
69 QtStatusBar *statusBar;
70 QtMenu<QMenuBar> *MainMenu;
71 QtToolBar *toolbar;
72 QSlider *timeline;
73 QtLogBox *logBox;
74
75 QtInstanceInformationBoard *InstanceBoard;
76};
77
78#endif /* QTMAINWINDOW_HPP_ */
Note: See TracBrowser for help on using the repository browser.