\hypertarget{classHurricane_1_1CellViewer}{}\section{Hurricane\+:\+:Cell\+Viewer Class Reference}
\label{classHurricane_1_1CellViewer}\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}


A simple top level window embedding the \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}}.  




Inherits Q\+Main\+Window.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classHurricane_1_1CellViewer_a94abd334392f43bf92548ee1153be5e1}{Cell\+Viewer}} (Q\+Widget $\ast$parent=N\+U\+LL)
\item 
virtual \mbox{\hyperlink{classHurricane_1_1CellViewer_ad2573bba4536bbf2b074d98f21711fe8}{$\sim$\+Cell\+Viewer}} ()
\item 
bool \mbox{\hyperlink{classHurricane_1_1CellViewer_ab869899320b57cb86d8080593d385eaf}{is\+Tool\+Interrupted}} () const
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_a356453d6430cc64c794e49404a8657b0}{set\+Enable\+Redraw\+Interrupt}} (bool)
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_a961c789cdae39edad13f171da05f7930}{set\+Application\+Name}} (const Q\+String \&)
\item 
\textbf{ Cell} $\ast$ \mbox{\hyperlink{classHurricane_1_1CellViewer_af45f807c9d7728a2ecf3184e731e53e0}{get\+Cell}} () const
\item 
virtual void \mbox{\hyperlink{classHurricane_1_1CellViewer_a5d4707b5e364b8a3a36857103bdac45d}{set\+Cell}} (\textbf{ Cell} $\ast$)
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_ae5d3d8c58dee944d99375650c3166587}{rename\+Cell}} (const char $\ast$)
\item 
virtual \textbf{ Cell} $\ast$ \mbox{\hyperlink{classHurricane_1_1CellViewer_a0ea301f7e85f936c38b5cd59e3752309}{get\+Cell\+From\+Db}} (const char $\ast$)
\item 
\mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} $\ast$ \mbox{\hyperlink{classHurricane_1_1CellViewer_a1d57547e30b1fb51aec2d0f254be6d3e}{get\+Cell\+Widget}} ()
\item 
const \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} $\ast$ \mbox{\hyperlink{classHurricane_1_1CellViewer_acbfd53db10dd9de11acbb2940bce10bd}{get\+Cell\+Widget}} () const
\item 
Controller\+Widget $\ast$ \mbox{\hyperlink{classHurricane_1_1CellViewer_a153855cfa6baa5d50bf0339820c4f145}{get\+Controller\+Widget}} ()
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_a7e4c9aaf405e4895e1527515dff3f067}{set\+Anon\+Net\+Selectable}} (bool)
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_a9f5b6c901e01c53c66cbd0f347cb10be}{select}} (\textbf{ Occurrence} \&)
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_a48deb92c4f58f987136d116b34f6ccbe}{unselect}} (\textbf{ Occurrence} \&)
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_adae07707d5d4d7a6fca0ad3c44fb95d2}{unselect\+All}} ()
\item 
void \mbox{\hyperlink{classHurricane_1_1CellViewer_ae628cca8f2c70ff80bba3a0b62e3db14}{set\+Layer\+Visible}} (const \textbf{ Name} \&layer, bool visible)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A simple top level window embedding the \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}}. 

This classe group together a \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} to view layout and a Controller\+Widget that enables to control it. It should be used as the base for complete viewer. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classHurricane_1_1CellViewer_a94abd334392f43bf92548ee1153be5e1}\label{classHurricane_1_1CellViewer_a94abd334392f43bf92548ee1153be5e1}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!Cell\+Viewer@{Cell\+Viewer}}
\index{Cell\+Viewer@{Cell\+Viewer}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{Cell\+Viewer()}{CellViewer()}}
{\footnotesize\ttfamily Hurricane\+::\+Cell\+Viewer\+::\+Cell\+Viewer (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{parent = {\ttfamily NULL} }\end{DoxyParamCaption})}

Construct a Cell\+View window no \textbf{ Cell} is actually loaded. \mbox{\Hypertarget{classHurricane_1_1CellViewer_ad2573bba4536bbf2b074d98f21711fe8}\label{classHurricane_1_1CellViewer_ad2573bba4536bbf2b074d98f21711fe8}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!````~Cell\+Viewer@{$\sim$\+Cell\+Viewer}}
\index{````~Cell\+Viewer@{$\sim$\+Cell\+Viewer}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{$\sim$\+Cell\+Viewer()}{~CellViewer()}}
{\footnotesize\ttfamily Hurricane\+::\+Cell\+Viewer\+::$\sim$\+Cell\+Viewer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

Destructor. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classHurricane_1_1CellViewer_ab869899320b57cb86d8080593d385eaf}\label{classHurricane_1_1CellViewer_ab869899320b57cb86d8080593d385eaf}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!is\+Tool\+Interrupted@{is\+Tool\+Interrupted}}
\index{is\+Tool\+Interrupted@{is\+Tool\+Interrupted}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{is\+Tool\+Interrupted()}{isToolInterrupted()}}
{\footnotesize\ttfamily bool Hurricane\+::\+Cell\+Viewer\+::is\+Tool\+Interrupted (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

{\bfseries Returns\+:} {\bfseries true} if the viewer has received an interruption request, in that case it will abort it\textquotesingle{}s current redrawing pass (if any) and process the next drawing request. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a356453d6430cc64c794e49404a8657b0}\label{classHurricane_1_1CellViewer_a356453d6430cc64c794e49404a8657b0}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!set\+Enable\+Redraw\+Interrupt@{set\+Enable\+Redraw\+Interrupt}}
\index{set\+Enable\+Redraw\+Interrupt@{set\+Enable\+Redraw\+Interrupt}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{set\+Enable\+Redraw\+Interrupt()}{setEnableRedrawInterrupt()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::set\+Enable\+Redraw\+Interrupt (\begin{DoxyParamCaption}\item[{bool}]{state }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Allows/disallow the redrawing interruptions. If disabled, the viewer will not abort it\textquotesingle{}s drawing passes. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a961c789cdae39edad13f171da05f7930}\label{classHurricane_1_1CellViewer_a961c789cdae39edad13f171da05f7930}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!set\+Application\+Name@{set\+Application\+Name}}
\index{set\+Application\+Name@{set\+Application\+Name}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{set\+Application\+Name()}{setApplicationName()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::set\+Application\+Name (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Sets the Qt application name. The name under which the application will appears for window managers. \mbox{\Hypertarget{classHurricane_1_1CellViewer_af45f807c9d7728a2ecf3184e731e53e0}\label{classHurricane_1_1CellViewer_af45f807c9d7728a2ecf3184e731e53e0}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!get\+Cell@{get\+Cell}}
\index{get\+Cell@{get\+Cell}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{get\+Cell()}{getCell()}}
{\footnotesize\ttfamily \textbf{ Cell} $\ast$ Hurricane\+::\+Cell\+Viewer\+::get\+Cell (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

{\bfseries Returns\+:} The \textbf{ Cell} currently viewer (may be {\ttfamily N\+U\+LL} if there is none). \mbox{\Hypertarget{classHurricane_1_1CellViewer_a5d4707b5e364b8a3a36857103bdac45d}\label{classHurricane_1_1CellViewer_a5d4707b5e364b8a3a36857103bdac45d}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!set\+Cell@{set\+Cell}}
\index{set\+Cell@{set\+Cell}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{set\+Cell()}{setCell()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::set\+Cell (\begin{DoxyParamCaption}\item[{\textbf{ Cell} $\ast$}]{cell }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

Load {\ttfamily cell} into the viewer. \mbox{\Hypertarget{classHurricane_1_1CellViewer_ae5d3d8c58dee944d99375650c3166587}\label{classHurricane_1_1CellViewer_ae5d3d8c58dee944d99375650c3166587}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!rename\+Cell@{rename\+Cell}}
\index{rename\+Cell@{rename\+Cell}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{rename\+Cell()}{renameCell()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::rename\+Cell (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}

Change the name of the currently loaded \textbf{ Cell}. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a0ea301f7e85f936c38b5cd59e3752309}\label{classHurricane_1_1CellViewer_a0ea301f7e85f936c38b5cd59e3752309}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!get\+Cell\+From\+Db@{get\+Cell\+From\+Db}}
\index{get\+Cell\+From\+Db@{get\+Cell\+From\+Db}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{get\+Cell\+From\+Db()}{getCellFromDb()}}
{\footnotesize\ttfamily \textbf{ Cell} $\ast$ Hurricane\+::\+Cell\+Viewer\+::get\+Cell\+From\+Db (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

{\bfseries Returns\+:} Load through a framework the \textbf{ Cell} {\ttfamily name}.

\begin{DoxyParagraph}{Important\+: This function is virtual and actually empty. It is a placeholder}
for derived classes. It has not be made pure virtual as not every derived classes needs it. Instead it display a warning message. 
\end{DoxyParagraph}
\mbox{\Hypertarget{classHurricane_1_1CellViewer_a1d57547e30b1fb51aec2d0f254be6d3e}\label{classHurricane_1_1CellViewer_a1d57547e30b1fb51aec2d0f254be6d3e}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!get\+Cell\+Widget@{get\+Cell\+Widget}}
\index{get\+Cell\+Widget@{get\+Cell\+Widget}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{get\+Cell\+Widget()}{getCellWidget()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} $\ast$ Hurricane\+::\+Cell\+Viewer\+::get\+Cell\+Widget (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

{\bfseries Returns\+:} The associated \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} (the actual widget that do the display). \mbox{\Hypertarget{classHurricane_1_1CellViewer_acbfd53db10dd9de11acbb2940bce10bd}\label{classHurricane_1_1CellViewer_acbfd53db10dd9de11acbb2940bce10bd}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!get\+Cell\+Widget@{get\+Cell\+Widget}}
\index{get\+Cell\+Widget@{get\+Cell\+Widget}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{get\+Cell\+Widget()}{getCellWidget()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} $\ast$ Hurricane\+::\+Cell\+Viewer\+::get\+Cell\+Widget (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

{\bfseries Returns\+:} The associated \mbox{\hyperlink{classHurricane_1_1CellWidget}{Cell\+Widget}} (the actual widget that do the display). This is the {\itshape const} flavor. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a153855cfa6baa5d50bf0339820c4f145}\label{classHurricane_1_1CellViewer_a153855cfa6baa5d50bf0339820c4f145}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!get\+Controller\+Widget@{get\+Controller\+Widget}}
\index{get\+Controller\+Widget@{get\+Controller\+Widget}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{get\+Controller\+Widget()}{getControllerWidget()}}
{\footnotesize\ttfamily Controller\+Widget $\ast$ Hurricane\+::\+Cell\+Viewer\+::get\+Controller\+Widget (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

{\bfseries Returns\+:} The associated Controller\+Widget. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a7e4c9aaf405e4895e1527515dff3f067}\label{classHurricane_1_1CellViewer_a7e4c9aaf405e4895e1527515dff3f067}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!set\+Anon\+Net\+Selectable@{set\+Anon\+Net\+Selectable}}
\index{set\+Anon\+Net\+Selectable@{set\+Anon\+Net\+Selectable}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{set\+Anon\+Net\+Selectable()}{setAnonNetSelectable()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::set\+Anon\+Net\+Selectable (\begin{DoxyParamCaption}\item[{bool}]{state }\end{DoxyParamCaption})}

Allows/disallow the selection of anonymous nets whith the selection menu. \mbox{\Hypertarget{classHurricane_1_1CellViewer_a9f5b6c901e01c53c66cbd0f347cb10be}\label{classHurricane_1_1CellViewer_a9f5b6c901e01c53c66cbd0f347cb10be}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!select@{select}}
\index{select@{select}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{select()}{select()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::select (\begin{DoxyParamCaption}\item[{\textbf{ Occurrence} \&}]{occurrence }\end{DoxyParamCaption})}

Add {\ttfamily occurrence} the set of selected occurrences. Also switch the viewer in selection mode (if not already on). \mbox{\Hypertarget{classHurricane_1_1CellViewer_a48deb92c4f58f987136d116b34f6ccbe}\label{classHurricane_1_1CellViewer_a48deb92c4f58f987136d116b34f6ccbe}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!unselect@{unselect}}
\index{unselect@{unselect}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{unselect()}{unselect()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::unselect (\begin{DoxyParamCaption}\item[{\textbf{ Occurrence} \&}]{occurrence }\end{DoxyParamCaption})}

Whidraw {\ttfamily occurrence} from the set of selected occurrences. \mbox{\Hypertarget{classHurricane_1_1CellViewer_adae07707d5d4d7a6fca0ad3c44fb95d2}\label{classHurricane_1_1CellViewer_adae07707d5d4d7a6fca0ad3c44fb95d2}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!unselect\+All@{unselect\+All}}
\index{unselect\+All@{unselect\+All}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{unselect\+All()}{unselectAll()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::unselect\+All (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Clear the whole set of selected occurrences. \mbox{\Hypertarget{classHurricane_1_1CellViewer_ae628cca8f2c70ff80bba3a0b62e3db14}\label{classHurricane_1_1CellViewer_ae628cca8f2c70ff80bba3a0b62e3db14}} 
\index{Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}!set\+Layer\+Visible@{set\+Layer\+Visible}}
\index{set\+Layer\+Visible@{set\+Layer\+Visible}!Hurricane\+::\+Cell\+Viewer@{Hurricane\+::\+Cell\+Viewer}}
\subsubsection{\texorpdfstring{set\+Layer\+Visible()}{setLayerVisible()}}
{\footnotesize\ttfamily void Hurricane\+::\+Cell\+Viewer\+::set\+Layer\+Visible (\begin{DoxyParamCaption}\item[{const \textbf{ Name} \&}]{layer,  }\item[{bool}]{visible }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Sets the visibility state of {\ttfamily layer}. This is the programatic equivalent of the Controller\+Widget. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Cell\+Viewer.\+h\item 
Cell\+Viewer.\+dox\end{DoxyCompactItemize}
