\doxysection{View\+Tab.\+hpp}
\hypertarget{ViewTab_8hpp_source}{}\label{ViewTab_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/ViewTab.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/ViewTab.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_UI\_VIEWTAB\_H}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_UI\_VIEWTAB\_H}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}Py.hpp"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <QWidget>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <QHBoxLayout>}}
\DoxyCodeLine{00007\ \textcolor{keyword}{class\ }QCheckBox;}
\DoxyCodeLine{00008\ \textcolor{keyword}{class\ }QLabel;}
\DoxyCodeLine{00009\ \textcolor{keyword}{class\ }QPushButton;}
\DoxyCodeLine{00010\ \textcolor{keyword}{class\ }QSlider;}
\DoxyCodeLine{00011\ \textcolor{keyword}{class\ }QVBoxLayout;}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classGLWidget}{GLWidget}};}
\DoxyCodeLine{00014\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classViewTab}{ViewTab}};}
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00016\ \textcolor{keyword}{class\ }LayerAlphaSlider\ :\ \textcolor{keyword}{public}\ QHBoxLayout}
\DoxyCodeLine{00017\ \{}
\DoxyCodeLine{00018\ \ \ \ \ Q\_OBJECT}
\DoxyCodeLine{00019\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00020\ \ \ \ \ LayerAlphaSlider(\mbox{\hyperlink{classViewTab}{ViewTab}}\ *,\ \textcolor{keywordtype}{int}\ layerIndex);}
\DoxyCodeLine{00021\ \ \ \ \ \string~LayerAlphaSlider();}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{int}\ getLayer()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mZ;\ \}}
\DoxyCodeLine{00023\ \ \ \ \ QSlider\ *getSlider()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mSlider;\ \}}
\DoxyCodeLine{00024\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00025\ \ \ \ \ QSlider\ *mSlider;}
\DoxyCodeLine{00026\ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ mZ;}
\DoxyCodeLine{00027\ \};}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classViewTab}{ViewTab}}\ :\ \textcolor{keyword}{public}\ QWidget}
\DoxyCodeLine{00030\ \{}
\DoxyCodeLine{00031\ \ \ \ \ Q\_OBJECT}
\DoxyCodeLine{00032\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keywordtype}{bool}\ init(\mbox{\hyperlink{classGLWidget}{GLWidget}}\ *);}
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keywordtype}{void}\ setNumLayers(\mbox{\hyperlink{classGLWidget}{GLWidget}}\ *,\ uint);}
\DoxyCodeLine{00035\ \textcolor{keyword}{public}\ slots:}
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keywordtype}{void}\ onLayerAlphaSlider(\textcolor{keywordtype}{int}\ layerIndex,\ \textcolor{keywordtype}{int}\ value);}
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ onSlowdownSlider(\textcolor{keywordtype}{int});}
\DoxyCodeLine{00038\ \ \ \ \ uint\ slowdownToSliderPosition(uint\ us)\ \textcolor{keyword}{const};}
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keywordtype}{void}\ onSave();}
\DoxyCodeLine{00040\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00041\ \ \ \ \ QPushButton\ *mZDirection;}
\DoxyCodeLine{00042\ \ \ \ \ QPushButton\ *mScreenshot;}
\DoxyCodeLine{00043\ \ \ \ \ QPushButton\ *mResetZoom;}
\DoxyCodeLine{00044\ \ \ \ \ QCheckBox\ *mSelectionLayers;}
\DoxyCodeLine{00045\ \ \ \ \ QCheckBox\ *mSelectionType;}
\DoxyCodeLine{00046\ \ \ \ \ QCheckBox\ *mShowGridLines;}
\DoxyCodeLine{00047\ \ \ \ \ QCheckBox\ *mShowGridPoints;}
\DoxyCodeLine{00048\ \ \ \ \ QCheckBox\ *mShowRatsNest;}
\DoxyCodeLine{00049\ \ \ \ \ QCheckBox\ *mLimitRatsNest;}
\DoxyCodeLine{00050\ \ \ \ \ QCheckBox\ *mShowTriangles;}
\DoxyCodeLine{00051\ \ \ \ \ QCheckBox\ *mShowAStar;}
\DoxyCodeLine{00052\ \ \ \ \ QVBoxLayout\ *mAlphaSliders;}
\DoxyCodeLine{00053\ \ \ \ \ QSlider\ *mSlowdown;}
\DoxyCodeLine{00054\ \ \ \ \ QLabel\ *mSlowdownLabel;}
\DoxyCodeLine{00055\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00056\ \ \ \ \ \mbox{\hyperlink{classGLWidget}{GLWidget}}\ *WGL\{0\};}
\DoxyCodeLine{00057\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keywordtype}{bool}\ changeDirection();}
\DoxyCodeLine{00059\ \};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_UI\_VIEWTAB\_H}}

\end{DoxyCode}
