\hypertarget{a01082}{\section{Qt\+Slide\+Window Class Reference}
\label{a01082}\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]{a01082}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01082_afead5916fba62a8fd75927631329c88e}{Qt\+Slide\+Window} (Q\+String \+\_\+name=0, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\item 
\hypertarget{a01082_a1ce4662787acb07ef19cdb2f788e3932}{void \hyperlink{a01082_a1ce4662787acb07ef19cdb2f788e3932}{update\+Geometry} ()}\label{a01082_a1ce4662787acb07ef19cdb2f788e3932}

\begin{DoxyCompactList}\small\item\em recalculate geometry \end{DoxyCompactList}\item 
\hypertarget{a01082_abaac412f54edf8f16c8185c4ee132573}{void \hyperlink{a01082_abaac412f54edf8f16c8185c4ee132573}{attach\+Widget} (Q\+Widget $\ast$\+\_\+m)}\label{a01082_abaac412f54edf8f16c8185c4ee132573}

\begin{DoxyCompactList}\small\item\em attach a child widget \end{DoxyCompactList}\item 
\hypertarget{a01082_a480341dcbe14a429d6476128068d5e73}{void \hyperlink{a01082_a480341dcbe14a429d6476128068d5e73}{detach\+Widget} ()}\label{a01082_a480341dcbe14a429d6476128068d5e73}

\begin{DoxyCompactList}\small\item\em detach child widget \end{DoxyCompactList}\item 
\hypertarget{a01082_ac72173dedb4cbc9ef1cdc7e4616365dc}{void \hyperlink{a01082_ac72173dedb4cbc9ef1cdc7e4616365dc}{save\+State} (Q\+Settings \&\+\_\+settings)}\label{a01082_ac72173dedb4cbc9ef1cdc7e4616365dc}

\begin{DoxyCompactList}\small\item\em saves the current state \end{DoxyCompactList}\item 
\hypertarget{a01082_aa224119fc5d98d59b06f6d60390da348}{void \hyperlink{a01082_aa224119fc5d98d59b06f6d60390da348}{restore\+State} (Q\+Settings \&\+\_\+settings)}\label{a01082_aa224119fc5d98d59b06f6d60390da348}

\begin{DoxyCompactList}\small\item\em restores the state \end{DoxyCompactList}\item 
\hypertarget{a01082_a5c277d8de5c60f2c97374b998278a23e}{void \hyperlink{a01082_a5c277d8de5c60f2c97374b998278a23e}{update\+Parent\+Geometry} ()}\label{a01082_a5c277d8de5c60f2c97374b998278a23e}

\begin{DoxyCompactList}\small\item\em Call this to correctly set start and ending positions. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01082_af95b1c400e286b5487dc62f9ee15a0fb}{void \hyperlink{a01082_af95b1c400e286b5487dc62f9ee15a0fb}{detach\+Pressed} ()}\label{a01082_af95b1c400e286b5487dc62f9ee15a0fb}

\begin{DoxyCompactList}\small\item\em detach button pressed \end{DoxyCompactList}\item 
\hypertarget{a01082_a91ab018325d1eda01c0d8fce53fec4e7}{void \hyperlink{a01082_a91ab018325d1eda01c0d8fce53fec4e7}{dialog\+Closed} ()}\label{a01082_a91ab018325d1eda01c0d8fce53fec4e7}

\begin{DoxyCompactList}\small\item\em detached dialog closed \end{DoxyCompactList}\item 
\hypertarget{a01082_a549df7b3cd42b98a1a6101244d9f66b1}{void \hyperlink{a01082_a549df7b3cd42b98a1a6101244d9f66b1}{autohide\+Pressed} ()}\label{a01082_a549df7b3cd42b98a1a6101244d9f66b1}

\begin{DoxyCompactList}\small\item\em autohide button presed \end{DoxyCompactList}\item 
\hypertarget{a01082_a066a7178b7548cc14373a0811d15ad12}{void \hyperlink{a01082_a066a7178b7548cc14373a0811d15ad12}{slide\+Up} ()}\label{a01082_a066a7178b7548cc14373a0811d15ad12}

\begin{DoxyCompactList}\small\item\em Slide widget up. \end{DoxyCompactList}\item 
\hypertarget{a01082_af15daf789916a6c88b8d9d3d31533502}{void \hyperlink{a01082_af15daf789916a6c88b8d9d3d31533502}{slide\+Down} ()}\label{a01082_af15daf789916a6c88b8d9d3d31533502}

\begin{DoxyCompactList}\small\item\em Slide widget down. \end{DoxyCompactList}\item 
\hypertarget{a01082_ae5c48347650ddac7028d96596bb3f7f8}{void \hyperlink{a01082_ae5c48347650ddac7028d96596bb3f7f8}{animation\+Finished} ()}\label{a01082_ae5c48347650ddac7028d96596bb3f7f8}

\begin{DoxyCompactList}\small\item\em Slot is called whenever the animation is finished. \end{DoxyCompactList}\item 
\hypertarget{a01082_ae722dd073f414ea08a3ff487d17baa55}{void \hyperlink{a01082_ae722dd073f414ea08a3ff487d17baa55}{start\+Slide\+Down\+Animation} ()}\label{a01082_ae722dd073f414ea08a3ff487d17baa55}

\begin{DoxyCompactList}\small\item\em Start actual slide down. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01082_af6a432c0ffdda4fd12617d7e5421eeaf}{virtual void \hyperlink{a01082_af6a432c0ffdda4fd12617d7e5421eeaf}{paint\+Window\+Frame} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)}\label{a01082_af6a432c0ffdda4fd12617d7e5421eeaf}

\begin{DoxyCompactList}\small\item\em paints decoration \end{DoxyCompactList}\item 
\hypertarget{a01082_a18f52538ccd58064d7262f765ea143f8}{virtual bool \hyperlink{a01082_a18f52538ccd58064d7262f765ea143f8}{window\+Frame\+Event} (Q\+Event $\ast$\+\_\+e)}\label{a01082_a18f52538ccd58064d7262f765ea143f8}

\begin{DoxyCompactList}\small\item\em track frame events \end{DoxyCompactList}\item 
\hypertarget{a01082_a47ec299a1d88ac734055fcb8cd399800}{virtual Qt\+::\+Window\+Frame\+Section \hyperlink{a01082_a47ec299a1d88ac734055fcb8cd399800}{window\+Frame\+Section\+At} (const Q\+Point\+F \&\+\_\+pos) const }\label{a01082_a47ec299a1d88ac734055fcb8cd399800}

\begin{DoxyCompactList}\small\item\em categorize frame area \end{DoxyCompactList}\item 
\hypertarget{a01082_aa6a75282465cc6eff10f1b70bd4f06d0}{virtual void \hyperlink{a01082_aa6a75282465cc6eff10f1b70bd4f06d0}{hover\+Enter\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)}\label{a01082_aa6a75282465cc6eff10f1b70bd4f06d0}

\begin{DoxyCompactList}\small\item\em hove event tracking \end{DoxyCompactList}\item 
\hypertarget{a01082_aaf32cdf3d808a21b81cd1c19b48f3ae6}{virtual void {\bfseries hover\+Leave\+Event} (Q\+Graphics\+Scene\+Hover\+Event $\ast$\+\_\+event)}\label{a01082_aaf32cdf3d808a21b81cd1c19b48f3ae6}

\item 
\hypertarget{a01082_af1559e6e37ec6e4c10992389c0958d9a}{virtual void \hyperlink{a01082_af1559e6e37ec6e4c10992389c0958d9a}{resize\+Event} (Q\+Graphics\+Scene\+Resize\+Event $\ast$\+\_\+event)}\label{a01082_af1559e6e37ec6e4c10992389c0958d9a}

\begin{DoxyCompactList}\small\item\em size \& position event tracking \end{DoxyCompactList}\item 
\hypertarget{a01082_a66eaa223ffa9ca70891bec3440b6adfc}{virtual void {\bfseries move\+Event} (Q\+Graphics\+Scene\+Move\+Event $\ast$\+\_\+event)}\label{a01082_a66eaa223ffa9ca70891bec3440b6adfc}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01082_a5a2e3f7f9371fdd5234f92158ffaf1d8}{Q\+String {\bfseries name\+\_\+}}\label{a01082_a5a2e3f7f9371fdd5234f92158ffaf1d8}

\item 
\hypertarget{a01082_a42ffcdf5153a151326f75bb88e0df021}{Q\+Widget $\ast$ {\bfseries main\+Widget\+\_\+}}\label{a01082_a42ffcdf5153a151326f75bb88e0df021}

\item 
\hypertarget{a01082_af378b6f9d186c9c3e016baee8a7a5aff}{\hyperlink{a01073}{Qt\+Graphics\+Button} $\ast$ {\bfseries autohide\+Button\+\_\+}}\label{a01082_af378b6f9d186c9c3e016baee8a7a5aff}

\item 
\hypertarget{a01082_a8e092299b233234ee1ad888b77dc618e}{\hyperlink{a01073}{Qt\+Graphics\+Button} $\ast$ {\bfseries detach\+Button\+\_\+}}\label{a01082_a8e092299b233234ee1ad888b77dc618e}

\item 
\hypertarget{a01082_adc6d2a7cc2accfdeecf4221a500de617}{Q\+Dialog $\ast$ {\bfseries dialog\+\_\+}}\label{a01082_adc6d2a7cc2accfdeecf4221a500de617}

\item 
\hypertarget{a01082_a46c51c253e2fdc3095c35dc4dfcc9120}{Q\+Point\+F {\bfseries start\+P\+\_\+}}\label{a01082_a46c51c253e2fdc3095c35dc4dfcc9120}

\item 
\hypertarget{a01082_a070460ada94369a8cc41730a02a13420}{Q\+Point\+F {\bfseries end\+P\+\_\+}}\label{a01082_a070460ada94369a8cc41730a02a13420}

\item 
\hypertarget{a01082_ada9b5ea6f0a30dc2b53af1270f05b730}{bool {\bfseries down\+\_\+}}\label{a01082_ada9b5ea6f0a30dc2b53af1270f05b730}

\item 
\hypertarget{a01082_a68c71611c82a769efe602cb575279b15}{Q\+Property\+Animation $\ast$ {\bfseries animation\+\_\+}}\label{a01082_a68c71611c82a769efe602cb575279b15}

\item 
\hypertarget{a01082_a62504310d08e4735960aec866416a8b4}{bool {\bfseries animating\+\_\+}}\label{a01082_a62504310d08e4735960aec866416a8b4}

\item 
\hypertarget{a01082_adcd2319465aa8603cdc545c84f12c243}{Q\+Timer $\ast$ {\bfseries timer\+\_\+}}\label{a01082_adcd2319465aa8603cdc545c84f12c243}

\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 83 of file Qt\+Slide\+Window.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01082_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[{Qt\+Slide\+Window}]{\setlength{\rightskip}{0pt plus 5cm}Qt\+Slide\+Window\+::\+Qt\+Slide\+Window (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name = {\ttfamily 0}, }
\item[{Q\+Graphics\+Item $\ast$}]{\+\_\+parent = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{a01082_afead5916fba62a8fd75927631329c88e}
Create a \hyperlink{a00652}{gl\+Viewer}. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & displayed titlebar name \\
\hline
{\em \+\_\+parent} & parent graphics item \\
\hline
\end{DoxyParams}


Definition at line 83 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}
