![]() |
VPTissue Reference Manual
|
Main GUI class for cell editor. More...
#include <TissueEditor.h>


Public Member Functions | |
| TissueEditor (QWidget *parent=nullptr) | |
| Constructor with the parent of the window. | |
| virtual | ~TissueEditor () |
| Destructor. | |
| void | dragEnterEvent (QDragEnterEvent *e) |
| Receive a message when something is dragged over the window. | |
| void | dropEvent (QDropEvent *e) |
| Recive a message when a file is dropped on the window. | |
| virtual bool | IsOpened () const |
| True if tissue has been opened, false otherwise. | |
| bool | OpenPath (const std::string &path) |
| True iff file has been successfully opened (if another file is open, it is closed first). | |
Public Member Functions inherited from SimShell::Gui::HasUnsavedChangesPrompt | |
| HasUnsavedChangesPrompt (std::string &&title) | |
| bool | PromptClose (QWidget *parent=nullptr) |
| Display dialog window containing a list (or tree) of widgets that contain unsaved changes. More... | |
Public Member Functions inherited from SimShell::Gui::HasUnsavedChanges | |
| HasUnsavedChanges (std::string &&title) | |
| virtual | ~HasUnsavedChanges () |
| Virtual destructor. | |
| ChildrenType::iterator | begin () |
| Get iterator to first child. | |
| ChildrenType::const_iterator | begin () const |
| Get iterator to first child. | |
| ChildrenType::iterator | end () |
| Get iterator to one position after last child. | |
| ChildrenType::const_iterator | end () const |
| Get iterator to one position after last child. | |
| void | ForceClose () |
| Force this object and its children to go back to unopened state so it can be safely deleted. | |
| const std::string & | GetTitle () |
| Get title of this object. | |
| bool | IsClean () const |
| bool | Save () |
| Try to save this widget's (and its children's) changes. More... | |
| bool | SaveAndClose () |
| Try to save this object (and its children) and, if successful, close them all. | |
Additional Inherited Members | |
Public Types inherited from SimShell::Gui::HasUnsavedChanges | |
| typedef std::vector< HasUnsavedChanges * > | ChildrenType |
Protected Member Functions inherited from SimShell::Gui::HasUnsavedChanges | |
| void | AddChild (ChildrenType::value_type &&v) |
| Add child. | |
| virtual void | InternalPreForceClose () |
| Additional things to do before closing children of this widget. | |
| void | SetChildren (ChildrenType &&c) |
| Set children. | |
Main GUI class for cell editor.
Definition at line 42 of file TissueEditor.h.