A simple top level window embedding the CellWidget. More...
Public Member Functions | |
| CellViewer (QWidget *parent=NULL) | |
| virtual | ~CellViewer () |
| bool | isToolInterrupted () const |
| void | setEnableRedrawInterrupt (bool) |
| void | setApplicationName (const QString &) |
| Cell * | getCell () const |
| virtual void | setCell (Cell *) |
| void | renameCell (const char *) |
| virtual Cell * | getCellFromDb (const char *) |
| CellWidget * | getCellWidget () |
| const CellWidget * | getCellWidget () const |
| ControllerWidget * | getControllerWidget () |
| void | setAnonNetSelectable (bool) |
| void | select (Occurrence &) |
| void | unselect (Occurrence &) |
| void | unselectAll () |
| void | setLayerVisible (const Name &layer, bool visible) |
A simple top level window embedding the CellWidget.
This classe group together a CellWidget to view layout and a ControllerWidget that enables to control it. It should be used as the base for complete viewer.
| Hurricane::CellViewer::CellViewer | ( | QWidget * | parent = NULL | ) |
Construct a CellView window no Cell is actually loaded.
Referenced by unselectAll().
|
virtual |
Destructor.
References isToolInterrupted(), setApplicationName(), and setEnableRedrawInterrupt().
|
inline |
Returns: true if the viewer has received an interruption request, in that case it will abort it's current redrawing pass (if any) and process the next drawing request.
Referenced by ~CellViewer().
|
inline |
Allows/disallow the redrawing interruptions. If disabled, the viewer will not abort it's drawing passes.
Referenced by ~CellViewer().
|
inline |
Sets the Qt application name. The name under which the application will appears for window managers.
Referenced by ~CellViewer().
| Cell * Hurricane::CellViewer::getCell | ( | ) | const |
Returns: The Cell currently viewer (may be NULL if there is none).
|
virtual |
Load cell into the viewer.
| void Hurricane::CellViewer::renameCell | ( | const char * | name | ) |
Change the name of the currently loaded Cell.
|
virtual |
Returns: Load through a framework the Cell name.
References getCellWidget(), and getControllerWidget().
|
inline |
Returns: The associated CellWidget (the actual widget that do the display).
Referenced by getCellFromDb().
|
inline |
Returns: The associated CellWidget (the actual widget that do the display). This is the const flavor.
|
inline |
Returns: The associated ControllerWidget.
Referenced by getCellFromDb().
| void Hurricane::CellViewer::setAnonNetSelectable | ( | bool | state | ) |
Allows/disallow the selection of anonymous nets whith the selection menu.
| void Hurricane::CellViewer::select | ( | Occurrence & | occurrence | ) |
Add occurrence the set of selected occurrences. Also switch the viewer in selection mode (if not already on).
| void Hurricane::CellViewer::unselect | ( | Occurrence & | occurrence | ) |
Whidraw occurrence from the set of selected occurrences.
| void Hurricane::CellViewer::unselectAll | ( | ) |
Clear the whole set of selected occurrences.
References CellViewer(), and setLayerVisible().
|
inline |
Sets the visibility state of layer. This is the programatic equivalent of the ControllerWidget.
Referenced by unselectAll().
| Generated by doxygen 1.18.0 on | Return to top of page |
| Hurricane Design Viewer | Copyright © 2008-2020 Sorbonne Universite All rights reserved |