Manager for layout and schematic windows and its linkage. More...
void | closeLayout(layout *l) |
void | closeLayout3d(layout3d *l) |
void | closeSchematic(schematic *s) |
bool | defaultGui |
textEdit * | getCentralTextEditor() |
layout* | getLayout(schematic *s) |
layout3d* | getLayout3d(layout *l) |
textEdit* | getOpenTextEditor() |
schematic* | getSchematic(layout *lay) |
bool | hasSchematic(layout *lay) |
layout* | newLayout() |
layout* | newSchematic() |
The static project class creates new layout and schematic windows. It can also link both types of windows for a schematic driven layout.
closes/unregistered the given layout window
closes/unregistered the given layout3d window
closes/unregistered the given schematic window
If true new layout and schematic windows will have std tool bars and menus. If false any menu and tool bar had to be added by hand.
Returns: A pointer to the central text editor used to display all reports and error messages.
Returns: a layout window linked with the given schematic window. If a linked layout window does not exist, it will be created.
Returns: a layout3d window linked with the given layout window. If a linked layout3d window does not exist, it will be created.
Returns: A pointer to an open text editor. Opens a new TextEditor, if none is open.)
Returns: a schematic window linked with the given layout window. If a linked schematic window does not exist, it will be created.
Returns: true, if the layout window lay has a connected schematic window.
Creates a new layout window and returns a point to it. In C++ macros please use the keyword class to separate the class layout from the existing pointer layout.
class layout *myLayout=project::newLayout();
myLayout->open("filename");
creates a new schematic window