\hypertarget{a09908}{}\section{Qt\+Slide\+Window Class Reference}
\label{a09908}\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]{a09908}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a09908_afead5916fba62a8fd75927631329c88e}{Qt\+Slide\+Window} (Q\+String \+\_\+name=0, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\item 
\mbox{\Hypertarget{a09908_a1ce4662787acb07ef19cdb2f788e3932}\label{a09908_a1ce4662787acb07ef19cdb2f788e3932}} 
void \hyperlink{a09908_a1ce4662787acb07ef19cdb2f788e3932}{update\+Geometry} ()
\begin{DoxyCompactList}\small\item\em recalculate geometry \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_abaac412f54edf8f16c8185c4ee132573}\label{a09908_abaac412f54edf8f16c8185c4ee132573}} 
void \hyperlink{a09908_abaac412f54edf8f16c8185c4ee132573}{attach\+Widget} (Q\+Widget $\ast$\+\_\+m)
\begin{DoxyCompactList}\small\item\em attach a child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a480341dcbe14a429d6476128068d5e73}\label{a09908_a480341dcbe14a429d6476128068d5e73}} 
void \hyperlink{a09908_a480341dcbe14a429d6476128068d5e73}{detach\+Widget} ()
\begin{DoxyCompactList}\small\item\em detach child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_ac72173dedb4cbc9ef1cdc7e4616365dc}\label{a09908_ac72173dedb4cbc9ef1cdc7e4616365dc}} 
void \hyperlink{a09908_ac72173dedb4cbc9ef1cdc7e4616365dc}{save\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_aa224119fc5d98d59b06f6d60390da348}\label{a09908_aa224119fc5d98d59b06f6d60390da348}} 
void \hyperlink{a09908_aa224119fc5d98d59b06f6d60390da348}{restore\+State} (Q\+Settings \&\+\_\+settings)
\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a5c277d8de5c60f2c97374b998278a23e}\label{a09908_a5c277d8de5c60f2c97374b998278a23e}} 
void \hyperlink{a09908_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{a09908_af95b1c400e286b5487dc62f9ee15a0fb}\label{a09908_af95b1c400e286b5487dc62f9ee15a0fb}} 
void \hyperlink{a09908_af95b1c400e286b5487dc62f9ee15a0fb}{detach\+Pressed} ()
\begin{DoxyCompactList}\small\item\em detach button pressed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a91ab018325d1eda01c0d8fce53fec4e7}\label{a09908_a91ab018325d1eda01c0d8fce53fec4e7}} 
void \hyperlink{a09908_a91ab018325d1eda01c0d8fce53fec4e7}{dialog\+Closed} ()
\begin{DoxyCompactList}\small\item\em detached dialog closed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a549df7b3cd42b98a1a6101244d9f66b1}\label{a09908_a549df7b3cd42b98a1a6101244d9f66b1}} 
void \hyperlink{a09908_a549df7b3cd42b98a1a6101244d9f66b1}{autohide\+Pressed} ()
\begin{DoxyCompactList}\small\item\em autohide button presed \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a066a7178b7548cc14373a0811d15ad12}\label{a09908_a066a7178b7548cc14373a0811d15ad12}} 
void \hyperlink{a09908_a066a7178b7548cc14373a0811d15ad12}{slide\+Up} ()
\begin{DoxyCompactList}\small\item\em Slide widget up. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_af15daf789916a6c88b8d9d3d31533502}\label{a09908_af15daf789916a6c88b8d9d3d31533502}} 
void \hyperlink{a09908_af15daf789916a6c88b8d9d3d31533502}{slide\+Down} ()
\begin{DoxyCompactList}\small\item\em Slide widget down. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_ae5c48347650ddac7028d96596bb3f7f8}\label{a09908_ae5c48347650ddac7028d96596bb3f7f8}} 
void \hyperlink{a09908_ae5c48347650ddac7028d96596bb3f7f8}{animation\+Finished} ()
\begin{DoxyCompactList}\small\item\em Slot is called whenever the animation is finished. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_ae722dd073f414ea08a3ff487d17baa55}\label{a09908_ae722dd073f414ea08a3ff487d17baa55}} 
void \hyperlink{a09908_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{a09908_af6a432c0ffdda4fd12617d7e5421eeaf}\label{a09908_af6a432c0ffdda4fd12617d7e5421eeaf}} 
virtual void \hyperlink{a09908_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{a09908_a18f52538ccd58064d7262f765ea143f8}\label{a09908_a18f52538ccd58064d7262f765ea143f8}} 
virtual bool \hyperlink{a09908_a18f52538ccd58064d7262f765ea143f8}{window\+Frame\+Event} (Q\+Event $\ast$\+\_\+e)
\begin{DoxyCompactList}\small\item\em track frame events \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_ab7ab9acbf8c7866f3e034e0ed6b5274d}\label{a09908_ab7ab9acbf8c7866f3e034e0ed6b5274d}} 
virtual Qt\+::\+Window\+Frame\+Section \hyperlink{a09908_ab7ab9acbf8c7866f3e034e0ed6b5274d}{window\+Frame\+Section\+At} (const Q\+PointF \&\+\_\+pos) const
\begin{DoxyCompactList}\small\item\em categorize frame area \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_aa6a75282465cc6eff10f1b70bd4f06d0}\label{a09908_aa6a75282465cc6eff10f1b70bd4f06d0}} 
virtual void \hyperlink{a09908_aa6a75282465cc6eff10f1b70bd4f06d0}{hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em hove event tracking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_aaf32cdf3d808a21b81cd1c19b48f3ae6}\label{a09908_aaf32cdf3d808a21b81cd1c19b48f3ae6}} 
virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a09908_af1559e6e37ec6e4c10992389c0958d9a}\label{a09908_af1559e6e37ec6e4c10992389c0958d9a}} 
virtual void \hyperlink{a09908_af1559e6e37ec6e4c10992389c0958d9a}{resize\+Event} (Q\+Graphics\+Scene\+Resize\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em size \& position event tracking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a66eaa223ffa9ca70891bec3440b6adfc}\label{a09908_a66eaa223ffa9ca70891bec3440b6adfc}} 
virtual void {\bfseries move\+Event} (Q\+Graphics\+Scene\+Move\+Event $\ast$\+\_\+event)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09908_a5a2e3f7f9371fdd5234f92158ffaf1d8}\label{a09908_a5a2e3f7f9371fdd5234f92158ffaf1d8}} 
Q\+String \hyperlink{a09908_a5a2e3f7f9371fdd5234f92158ffaf1d8}{name\+\_\+}
\begin{DoxyCompactList}\small\item\em name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a42ffcdf5153a151326f75bb88e0df021}\label{a09908_a42ffcdf5153a151326f75bb88e0df021}} 
Q\+Widget $\ast$ \hyperlink{a09908_a42ffcdf5153a151326f75bb88e0df021}{main\+Widget\+\_\+}
\begin{DoxyCompactList}\small\item\em child widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_af378b6f9d186c9c3e016baee8a7a5aff}\label{a09908_af378b6f9d186c9c3e016baee8a7a5aff}} 
\hyperlink{a09900}{Qt\+Graphics\+Button} $\ast$ \hyperlink{a09908_af378b6f9d186c9c3e016baee8a7a5aff}{autohide\+Button\+\_\+}
\begin{DoxyCompactList}\small\item\em buttons \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a8e092299b233234ee1ad888b77dc618e}\label{a09908_a8e092299b233234ee1ad888b77dc618e}} 
\hyperlink{a09900}{Qt\+Graphics\+Button} $\ast$ {\bfseries detach\+Button\+\_\+}
\item 
\mbox{\Hypertarget{a09908_adc6d2a7cc2accfdeecf4221a500de617}\label{a09908_adc6d2a7cc2accfdeecf4221a500de617}} 
Q\+Dialog $\ast$ \hyperlink{a09908_adc6d2a7cc2accfdeecf4221a500de617}{dialog\+\_\+}
\begin{DoxyCompactList}\small\item\em detached dialog \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a46c51c253e2fdc3095c35dc4dfcc9120}\label{a09908_a46c51c253e2fdc3095c35dc4dfcc9120}} 
Q\+PointF \hyperlink{a09908_a46c51c253e2fdc3095c35dc4dfcc9120}{start\+P\+\_\+}
\begin{DoxyCompactList}\small\item\em Starting position (for animation) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a070460ada94369a8cc41730a02a13420}\label{a09908_a070460ada94369a8cc41730a02a13420}} 
Q\+PointF \hyperlink{a09908_a070460ada94369a8cc41730a02a13420}{end\+P\+\_\+}
\begin{DoxyCompactList}\small\item\em Ending position (for animation) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_ada9b5ea6f0a30dc2b53af1270f05b730}\label{a09908_ada9b5ea6f0a30dc2b53af1270f05b730}} 
bool \hyperlink{a09908_ada9b5ea6f0a30dc2b53af1270f05b730}{down\+\_\+}
\begin{DoxyCompactList}\small\item\em Track if widget is at bottom position. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a68c71611c82a769efe602cb575279b15}\label{a09908_a68c71611c82a769efe602cb575279b15}} 
Q\+Property\+Animation $\ast$ \hyperlink{a09908_a68c71611c82a769efe602cb575279b15}{animation\+\_\+}
\begin{DoxyCompactList}\small\item\em Animation object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_a62504310d08e4735960aec866416a8b4}\label{a09908_a62504310d08e4735960aec866416a8b4}} 
bool \hyperlink{a09908_a62504310d08e4735960aec866416a8b4}{animating\+\_\+}
\begin{DoxyCompactList}\small\item\em Is widget animating in this moment? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_adcd2319465aa8603cdc545c84f12c243}\label{a09908_adcd2319465aa8603cdc545c84f12c243}} 
Q\+Timer $\ast$ \hyperlink{a09908_adcd2319465aa8603cdc545c84f12c243}{timer\+\_\+}
\begin{DoxyCompactList}\small\item\em Wait some milliseconds before sliding widget down. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09908_af2887d4d4181bcf9e3b16a9848b8ddf6}\label{a09908_af2887d4d4181bcf9e3b16a9848b8ddf6}} 
const int \hyperlink{a09908_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{a09908_afead5916fba62a8fd75927631329c88e}\label{a09908_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{a09884}{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}
