|
| Mainframe (QWidget *parent=0, const char *name=0) |
|
virtual | ~Mainframe () |
|
| MainControl (QWidget *parent=0, const char *name=0, String inifile=".BALL.preferences") |
|
virtual | ~MainControl () |
|
| MainControl (const MainControl &main_control) |
|
virtual void | clear () |
|
void | clearData () |
|
RepresentationManager & | getRepresentationManager () |
|
bool | insert (Representation &rep) |
|
bool | remove (Representation &rep) |
|
bool | update (Representation &rep) |
|
bool | updateRepresentationsOf (const Composite &composite, bool rebuild=true, bool force=false) |
|
void | redrawAllRepresentations (bool rebuild_display_lists=false) |
|
ShortcutRegistry & | getShortcutRegistry () |
|
CompositeManager & | getCompositeManager () |
|
bool | insert (Composite &composite, String name="", bool normalize=true) |
|
bool | remove (Composite &composite, bool to_delete=true, bool update=true) |
|
void | update (Composite &composite, bool changed_hierarchy=true) |
|
const HashSet< Composite * > & | getSelection () const |
| Get the HashSet with the selected (e.g. picked) Composite objects (const) More...
|
|
HashSet< Composite * > & | getSelection () |
| Get the HashSet with the selected (e.g. picked) Composite objects. More...
|
|
std::list< Composite * > & | getMolecularControlSelection () |
| Get the selection (highlighted items) of the MolecularControl (not the selection with checkboxes) More...
|
|
System * | getSelectedSystem () |
| If exactly one System is selected in the Control, return a pointer to this system, otherwise 0. More...
|
|
void | selectCompositeRecursive (Composite *composite, bool first_call=false) |
| Select a Composite recursive and add all Atom and AtomContainer objects to the selection. More...
|
|
void | deselectCompositeRecursive (Composite *composite, bool first_call=false) |
| Select a Composite recursive and add all Atom and AtomContainer objects to the selection. More...
|
|
void | printSelectionInfos () |
|
void | saveBALLViewProjectFile (const String &filename, bool binary=true) |
| Save the current configuration, structures and representations to a BALLView project file (*.bvp) More...
|
|
void | loadBALLViewProjectFile (const String &filename) |
| Load a BALLView project file. More...
|
|
virtual void | fetchPreferences (INIFile &inifile) |
|
virtual void | writePreferences (INIFile &inifile) |
|
virtual void | restoreWindows () |
| Restore the positions the main window and of all DockWindow's from the INIFile assigned to this instance. More...
|
|
virtual void | restoreWindows (const INIFile &inifile) |
| Restore the positions the main window and of all DockWindow's from a given inifile. More...
|
|
INIFile & | getINIFile () |
|
const INIFile & | getINIFile () const |
|
Preferences * | getPreferences () |
|
virtual void | applyPreferences () |
|
QAction * | insertMenuEntry (Position parent_id, const String &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence(), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL) |
|
QAction * | insertMenuEntry (Position parent_id, const QString &name, const QObject *receiver=0, const char *slot=0, const QString &description="", QKeySequence accel=QKeySequence(), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL) |
|
virtual QMenu * | addMenu (const QString &title, UIOperationMode::OperationMode mode=UIOperationMode::MODE_ALL) |
|
void | removeMenuEntry (Index parent_id, QAction *action) |
|
virtual QMenu * | initPopupMenu (int ID, UIOperationMode::OperationMode mode=UIOperationMode::MODE_ALL) |
|
void | insertPopupMenuSeparator (int ID, UIOperationMode::OperationMode mode=UIOperationMode::MODE_ALL) |
|
void | setMenuHint (QAction *id, const String &hint) |
| Set a hint for a menu entry. More...
|
|
String | getMenuHint (QAction *id) const |
| Get the hint for a menu entry. More...
|
|
void | setDeleteEntryEnabled (bool state) |
|
void | insertDeleteEntry () |
|
QAction * | getLastHighLightedMenuEntry () |
| Get the ID of the last highlighted menu entry. More...
|
|
bool | compositesAreLocked () const |
|
bool | lockCompositesFor (ModularWidget *widget) |
|
bool | unlockCompositesFor (ModularWidget *widget) |
| Lock the Composites for a given Modular Widget. More...
|
|
ModularWidget * | getLockingWidget () |
| Get the ModularWidget with excluse access to the Composites. More...
|
|
bool | updateOfRepresentationRunning () |
| Return true if Representations are (re)calculated. More...
|
|
bool | stopedSimulation () |
| Returns true, if the simulation was told to stop, but hasnt done this so far. More...
|
|
bool | setSimulationThread (SimulationThread *thread) |
|
SimulationThread * | getSimulationThread () |
|
bool | useMultithreading () |
|
void | setMultithreading (bool state) |
| See above. More...
|
|
bool | isBusy () const |
|
void | wait () |
| Wait until the MainControl is not busy anymore. More...
|
|
void | processEvents (Size ms) |
| Added overloaded method from QApplication for access in Python. More...
|
|
void | setStatusbarText (const String &text, bool important=false, bool beep=false) |
|
void | setStatusbarText (const QString &text, bool important=false, bool beep=false) |
|
String | getStatusbarText () const |
|
const FragmentDB & | getFragmentDB () const |
| Get a const reference for the fragment database. More...
|
|
const ModelInformation & | getModelInformation () const |
|
void | setModelInformation (ModelInformation *mi) |
|
String | getWorkingDir () const |
|
void | setWorkingDir (const String &dir) |
| Set the working directory for the next file dialog and file operation to the given directory. More...
|
|
void | enableLoggingToFile () |
|
void | disableLoggingToFile () |
|
void | setLoggingFilename (const String &string) |
|
const String & | getLoggingFilename () const |
| See above. More...
|
|
bool | isAboutToQuit () |
|
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
|
virtual void | openFile (const String &file) |
|
virtual QMenu * | createPopupMenu () |
|
void | addModularWidget (ModularWidget *widget) |
|
void | removeModularWidget (ModularWidget *widget) |
|
virtual void | onNotify (Message *message) |
|
void | sendMessage (Message &message) |
|
| ConnectionObject () |
|
virtual | ~ConnectionObject () |
|
virtual void | destroy () |
|
void | registerConnectionObject (ConnectionObject &object) |
|
void | unregisterConnectionObject (ConnectionObject &object) |
|
bool | isConnectionObjectRegistered (const ConnectionObject &object) |
|
ConnectionObject * | getParent () const |
|
ConnectionObject * | getRoot () |
|
virtual bool | isValid () const |
|
| Embeddable (const String &identifier="<Embeddable>") |
|
| Embeddable (const Embeddable &embeddable) |
|
virtual | ~Embeddable () |
|
void | setIdentifier (const String &identifier) |
|
const String & | getIdentifier () const |
|
void | unregisterThis () |
|
virtual void | registerThis () |
|
Definition at line 22 of file mainframe.h.