Project Class Reference
Manager for layout and schematic windows and its linkage. More...
See also: List of Classes
Member
Detailed Description
The static project class creates new layout and schematic windows. It can also link both types of windows for a schematic driven layout.
Member Function Documentation
static void project::closeLayout(layout *l)
closes/unregistered the given layout window
(introduced with version 20170323)
static void project::closeLayout3d(layout3d *l)
closes/unregistered the given layout3d window
(introduced with version 20170323)
static void project::closeSchematic(schematic *s)
closes/unregistered the given schematic window
(introduced with version 20170323)
static bool project::defaultGui
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.
(introduced with version 20170323)
static textEdit * project::getCentralTextEditor()
Returns: A pointer to the central text editor used to display all reports and error messages.
static layout* project::getLayout(schematic *s)
Returns: a layout window linked with the given schematic window. If a linked layout window does not exist, it will be created.
(introduced with version 20170323)
static layout* project::getLayout3d(schematic *s)
Returns: a layout3d window linked with the given layout window. If a linked layout3d window does not exist, it will be created.
(introduced with version 20170323)
static textEdit *project::getOpenTextEditor()
Returns: A pointer to an open text editor. Opens a new TextEditor, if none is open. (introduced with version 20130101)
static schematic* project::getSchematic(layout *lay)
Returns: a schematic window linked with the given layout window. If a linked schematic window does not exist, it will be created.
(introduced with version 20170323)
static bool project::hasSchematic(layout *lay)
Returns: true, if the layout window lay has a connected schematic window.
(introduced with version 20170323)
static layout* project::newLayout()
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.
(introduced with version 20170323)
static layout* project::newSchematic()
creates a new schematic window
(introduced with version 20170323)