\hypertarget{classQtSlideWindow}{}\section{Qt\+Slide\+Window Class Reference}
\label{classQtSlideWindow}\index{Qt\+Slide\+Window@{Qt\+Slide\+Window}}


{\ttfamily \#include $<$Open\+Flipper/widgets/gl\+Widget/\+Qt\+Slide\+Window.\+hh$>$}

Inheritance diagram for Qt\+Slide\+Window\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classQtSlideWindow}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classQtSlideWindow_afead5916fba62a8fd75927631329c88e}{Qt\+Slide\+Window} (Q\+String \+\_\+name=0, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\item 
\mbox{\Hypertarget{classQtSlideWindow_a1ce4662787acb07ef19cdb2f788e3932}\label{classQtSlideWindow_a1ce4662787acb07ef19cdb2f788e3932}} 
void \hyperlink{classQtSlideWindow_a1ce4662787acb07ef19cdb2f788e3932}{update\+Geometry} ()
\begin{DoxyCompactList}\small\item\em recalculate geometry \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_abaac412f54edf8f16c8185c4ee132573}\label{classQtSlideWindow_abaac412f54edf8f16c8185c4ee132573}} 
void \hyperlink{classQtSlideWindow_abaac412f54edf8f16c8185c4ee132573}{attach\+Widget} (Q\+Widget $\ast$\+\_\+m)
\begin{DoxyCompactList}\small\item\em attach a child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a480341dcbe14a429d6476128068d5e73}\label{classQtSlideWindow_a480341dcbe14a429d6476128068d5e73}} 
void \hyperlink{classQtSlideWindow_a480341dcbe14a429d6476128068d5e73}{detach\+Widget} ()
\begin{DoxyCompactList}\small\item\em detach child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_ac72173dedb4cbc9ef1cdc7e4616365dc}\label{classQtSlideWindow_ac72173dedb4cbc9ef1cdc7e4616365dc}} 
void \hyperlink{classQtSlideWindow_ac72173dedb4cbc9ef1cdc7e4616365dc}{save\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_aa224119fc5d98d59b06f6d60390da348}\label{classQtSlideWindow_aa224119fc5d98d59b06f6d60390da348}} 
void \hyperlink{classQtSlideWindow_aa224119fc5d98d59b06f6d60390da348}{restore\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a5c277d8de5c60f2c97374b998278a23e}\label{classQtSlideWindow_a5c277d8de5c60f2c97374b998278a23e}} 
void \hyperlink{classQtSlideWindow_a5c277d8de5c60f2c97374b998278a23e}{update\+Parent\+Geometry} ()
\begin{DoxyCompactList}\small\item\em Call this to correctly set start and ending positions. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtSlideWindow_af95b1c400e286b5487dc62f9ee15a0fb}\label{classQtSlideWindow_af95b1c400e286b5487dc62f9ee15a0fb}} 
void \hyperlink{classQtSlideWindow_af95b1c400e286b5487dc62f9ee15a0fb}{detach\+Pressed} ()
\begin{DoxyCompactList}\small\item\em detach button pressed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a91ab018325d1eda01c0d8fce53fec4e7}\label{classQtSlideWindow_a91ab018325d1eda01c0d8fce53fec4e7}} 
void \hyperlink{classQtSlideWindow_a91ab018325d1eda01c0d8fce53fec4e7}{dialog\+Closed} ()
\begin{DoxyCompactList}\small\item\em detached dialog closed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a549df7b3cd42b98a1a6101244d9f66b1}\label{classQtSlideWindow_a549df7b3cd42b98a1a6101244d9f66b1}} 
void \hyperlink{classQtSlideWindow_a549df7b3cd42b98a1a6101244d9f66b1}{autohide\+Pressed} ()
\begin{DoxyCompactList}\small\item\em autohide button presed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a066a7178b7548cc14373a0811d15ad12}\label{classQtSlideWindow_a066a7178b7548cc14373a0811d15ad12}} 
void \hyperlink{classQtSlideWindow_a066a7178b7548cc14373a0811d15ad12}{slide\+Up} ()
\begin{DoxyCompactList}\small\item\em Slide widget up. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_af15daf789916a6c88b8d9d3d31533502}\label{classQtSlideWindow_af15daf789916a6c88b8d9d3d31533502}} 
void \hyperlink{classQtSlideWindow_af15daf789916a6c88b8d9d3d31533502}{slide\+Down} ()
\begin{DoxyCompactList}\small\item\em Slide widget down. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_ae5c48347650ddac7028d96596bb3f7f8}\label{classQtSlideWindow_ae5c48347650ddac7028d96596bb3f7f8}} 
void \hyperlink{classQtSlideWindow_ae5c48347650ddac7028d96596bb3f7f8}{animation\+Finished} ()
\begin{DoxyCompactList}\small\item\em Slot is called whenever the animation is finished. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_ae722dd073f414ea08a3ff487d17baa55}\label{classQtSlideWindow_ae722dd073f414ea08a3ff487d17baa55}} 
void \hyperlink{classQtSlideWindow_ae722dd073f414ea08a3ff487d17baa55}{start\+Slide\+Down\+Animation} ()
\begin{DoxyCompactList}\small\item\em Start actual slide down. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtSlideWindow_af6a432c0ffdda4fd12617d7e5421eeaf}\label{classQtSlideWindow_af6a432c0ffdda4fd12617d7e5421eeaf}} 
virtual void \hyperlink{classQtSlideWindow_af6a432c0ffdda4fd12617d7e5421eeaf}{paint\+Window\+Frame} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)
\begin{DoxyCompactList}\small\item\em paints decoration \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a18f52538ccd58064d7262f765ea143f8}\label{classQtSlideWindow_a18f52538ccd58064d7262f765ea143f8}} 
virtual bool \hyperlink{classQtSlideWindow_a18f52538ccd58064d7262f765ea143f8}{window\+Frame\+Event} (Q\+Event $\ast$\+\_\+e)
\begin{DoxyCompactList}\small\item\em track frame events \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_ab7ab9acbf8c7866f3e034e0ed6b5274d}\label{classQtSlideWindow_ab7ab9acbf8c7866f3e034e0ed6b5274d}} 
virtual Qt\+::\+Window\+Frame\+Section \hyperlink{classQtSlideWindow_ab7ab9acbf8c7866f3e034e0ed6b5274d}{window\+Frame\+Section\+At} (const Q\+PointF \&\+\_\+pos) const
\begin{DoxyCompactList}\small\item\em categorize frame area \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_aa6a75282465cc6eff10f1b70bd4f06d0}\label{classQtSlideWindow_aa6a75282465cc6eff10f1b70bd4f06d0}} 
virtual void \hyperlink{classQtSlideWindow_aa6a75282465cc6eff10f1b70bd4f06d0}{hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em hove event tracking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_aaf32cdf3d808a21b81cd1c19b48f3ae6}\label{classQtSlideWindow_aaf32cdf3d808a21b81cd1c19b48f3ae6}} 
virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classQtSlideWindow_af1559e6e37ec6e4c10992389c0958d9a}\label{classQtSlideWindow_af1559e6e37ec6e4c10992389c0958d9a}} 
virtual void \hyperlink{classQtSlideWindow_af1559e6e37ec6e4c10992389c0958d9a}{resize\+Event} (Q\+Graphics\+Scene\+Resize\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em size \& position event tracking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a66eaa223ffa9ca70891bec3440b6adfc}\label{classQtSlideWindow_a66eaa223ffa9ca70891bec3440b6adfc}} 
virtual void {\bfseries move\+Event} (Q\+Graphics\+Scene\+Move\+Event $\ast$\+\_\+event)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtSlideWindow_a5a2e3f7f9371fdd5234f92158ffaf1d8}\label{classQtSlideWindow_a5a2e3f7f9371fdd5234f92158ffaf1d8}} 
Q\+String \hyperlink{classQtSlideWindow_a5a2e3f7f9371fdd5234f92158ffaf1d8}{name\+\_\+}
\begin{DoxyCompactList}\small\item\em name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a42ffcdf5153a151326f75bb88e0df021}\label{classQtSlideWindow_a42ffcdf5153a151326f75bb88e0df021}} 
Q\+Widget $\ast$ \hyperlink{classQtSlideWindow_a42ffcdf5153a151326f75bb88e0df021}{main\+Widget\+\_\+}
\begin{DoxyCompactList}\small\item\em child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_af378b6f9d186c9c3e016baee8a7a5aff}\label{classQtSlideWindow_af378b6f9d186c9c3e016baee8a7a5aff}} 
\hyperlink{classQtGraphicsButton}{Qt\+Graphics\+Button} $\ast$ \hyperlink{classQtSlideWindow_af378b6f9d186c9c3e016baee8a7a5aff}{autohide\+Button\+\_\+}
\begin{DoxyCompactList}\small\item\em buttons \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a8e092299b233234ee1ad888b77dc618e}\label{classQtSlideWindow_a8e092299b233234ee1ad888b77dc618e}} 
\hyperlink{classQtGraphicsButton}{Qt\+Graphics\+Button} $\ast$ {\bfseries detach\+Button\+\_\+}
\item 
\mbox{\Hypertarget{classQtSlideWindow_adc6d2a7cc2accfdeecf4221a500de617}\label{classQtSlideWindow_adc6d2a7cc2accfdeecf4221a500de617}} 
Q\+Dialog $\ast$ \hyperlink{classQtSlideWindow_adc6d2a7cc2accfdeecf4221a500de617}{dialog\+\_\+}
\begin{DoxyCompactList}\small\item\em detached dialog \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a46c51c253e2fdc3095c35dc4dfcc9120}\label{classQtSlideWindow_a46c51c253e2fdc3095c35dc4dfcc9120}} 
Q\+PointF \hyperlink{classQtSlideWindow_a46c51c253e2fdc3095c35dc4dfcc9120}{start\+P\+\_\+}
\begin{DoxyCompactList}\small\item\em Starting position (for animation) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a070460ada94369a8cc41730a02a13420}\label{classQtSlideWindow_a070460ada94369a8cc41730a02a13420}} 
Q\+PointF \hyperlink{classQtSlideWindow_a070460ada94369a8cc41730a02a13420}{end\+P\+\_\+}
\begin{DoxyCompactList}\small\item\em Ending position (for animation) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_ada9b5ea6f0a30dc2b53af1270f05b730}\label{classQtSlideWindow_ada9b5ea6f0a30dc2b53af1270f05b730}} 
bool \hyperlink{classQtSlideWindow_ada9b5ea6f0a30dc2b53af1270f05b730}{down\+\_\+}
\begin{DoxyCompactList}\small\item\em Track if widget is at bottom position. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a68c71611c82a769efe602cb575279b15}\label{classQtSlideWindow_a68c71611c82a769efe602cb575279b15}} 
Q\+Property\+Animation $\ast$ \hyperlink{classQtSlideWindow_a68c71611c82a769efe602cb575279b15}{animation\+\_\+}
\begin{DoxyCompactList}\small\item\em Animation object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_a62504310d08e4735960aec866416a8b4}\label{classQtSlideWindow_a62504310d08e4735960aec866416a8b4}} 
bool \hyperlink{classQtSlideWindow_a62504310d08e4735960aec866416a8b4}{animating\+\_\+}
\begin{DoxyCompactList}\small\item\em Is widget animating in this moment? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_adcd2319465aa8603cdc545c84f12c243}\label{classQtSlideWindow_adcd2319465aa8603cdc545c84f12c243}} 
Q\+Timer $\ast$ \hyperlink{classQtSlideWindow_adcd2319465aa8603cdc545c84f12c243}{timer\+\_\+}
\begin{DoxyCompactList}\small\item\em Wait some milliseconds before sliding widget down. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtSlideWindow_af2887d4d4181bcf9e3b16a9848b8ddf6}\label{classQtSlideWindow_af2887d4d4181bcf9e3b16a9848b8ddf6}} 
const int \hyperlink{classQtSlideWindow_af2887d4d4181bcf9e3b16a9848b8ddf6}{font\+Height\+\_\+}
\begin{DoxyCompactList}\small\item\em height of the default font \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A graphics scene widget that has a hover slide effect and detach functionality for a child widget 

Definition at line 77 of file Qt\+Slide\+Window.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classQtSlideWindow_afead5916fba62a8fd75927631329c88e}\label{classQtSlideWindow_afead5916fba62a8fd75927631329c88e}} 
\index{Qt\+Slide\+Window@{Qt\+Slide\+Window}!Qt\+Slide\+Window@{Qt\+Slide\+Window}}
\index{Qt\+Slide\+Window@{Qt\+Slide\+Window}!Qt\+Slide\+Window@{Qt\+Slide\+Window}}
\subsubsection{\texorpdfstring{Qt\+Slide\+Window()}{QtSlideWindow()}}
{\footnotesize\ttfamily Qt\+Slide\+Window\+::\+Qt\+Slide\+Window (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name = {\ttfamily 0},  }\item[{Q\+Graphics\+Item $\ast$}]{\+\_\+parent = {\ttfamily 0} }\end{DoxyParamCaption})}

Create a \hyperlink{classglViewer}{gl\+Viewer}. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & displayed titlebar name \\
\hline
{\em \+\_\+parent} & parent graphics item \\
\hline
\end{DoxyParams}


Definition at line 75 of file Qt\+Slide\+Window.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/widgets/gl\+Widget/Qt\+Slide\+Window.\+hh\item 
Open\+Flipper/widgets/gl\+Widget/Qt\+Slide\+Window.\+cc\end{DoxyCompactItemize}
