\hypertarget{a01277}{\section{V\+S\+I\+:\+:Text Class Reference}
\label{a01277}\index{V\+S\+I\+::\+Text@{V\+S\+I\+::\+Text}}
}


{\ttfamily \#include $<$Plugin-\/\+V\+S\+I/scene/text.\+hh$>$}

Inheritance diagram for V\+S\+I\+:\+:Text\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a01277}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01277_a4d897b2205fd7c09ad7a8b35c6196c0c}{\hyperlink{a01277_a4d897b2205fd7c09ad7a8b35c6196c0c}{Text} (Q\+Graphics\+Item $\ast$\+\_\+parent=0)}\label{a01277_a4d897b2205fd7c09ad7a8b35c6196c0c}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a01277_aee8a1b3f76a247f9cbba9407b660e5b5}{\hyperlink{a01277_aee8a1b3f76a247f9cbba9407b660e5b5}{Text} (const Q\+String \&\+\_\+text, Q\+Graphics\+Item $\ast$\+\_\+parent=0)}\label{a01277_aee8a1b3f76a247f9cbba9407b660e5b5}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{a01277_ad1cf708a21f541926334f280432b8e03}{$\sim$\+Text} ()
\begin{DoxyCompactList}\small\item\em Destrucotr. \end{DoxyCompactList}\item 
\hypertarget{a01277_aa1f65b41ee712eecdc4ad37fcdf5ecf7}{virtual void \hyperlink{a01277_aa1f65b41ee712eecdc4ad37fcdf5ecf7}{set\+Geometry} (const Q\+Rect\+F \&\+\_\+rect)}\label{a01277_aa1f65b41ee712eecdc4ad37fcdf5ecf7}

\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\item 
\hypertarget{a01277_a402796137e0a16f00f0bc32767b24a5f}{Q\+Painter\+Path \hyperlink{a01277_a402796137e0a16f00f0bc32767b24a5f}{shape} () const }\label{a01277_a402796137e0a16f00f0bc32767b24a5f}

\begin{DoxyCompactList}\small\item\em Returns the shape for proper repainting/event handling. \end{DoxyCompactList}\item 
\hypertarget{a01277_a2d67eebf7893705910f58df380232f7c}{virtual void \hyperlink{a01277_a2d67eebf7893705910f58df380232f7c}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)}\label{a01277_a2d67eebf7893705910f58df380232f7c}

\begin{DoxyCompactList}\small\item\em Background painting. \end{DoxyCompactList}\item 
virtual Q\+Rect\+F \hyperlink{a01277_a378bf0c09061dfe22999c0ec4dcb1051}{bounding\+Rect} () const 
\begin{DoxyCompactList}\small\item\em Bounding rectangle. \end{DoxyCompactList}\item 
\hypertarget{a01277_a4b86d275b97800a87f20351e3d73e018}{Q\+Brush \hyperlink{a01277_a4b86d275b97800a87f20351e3d73e018}{background\+Brush} ()}\label{a01277_a4b86d275b97800a87f20351e3d73e018}

\begin{DoxyCompactList}\small\item\em Returns the current background brush. \end{DoxyCompactList}\item 
\hypertarget{a01277_a5d8c6efb1e058445d78501356244e8d6}{virtual void \hyperlink{a01277_a5d8c6efb1e058445d78501356244e8d6}{set\+Background\+Brush} (Q\+Brush \+\_\+brush)}\label{a01277_a5d8c6efb1e058445d78501356244e8d6}

\begin{DoxyCompactList}\small\item\em Sets the background brush. \end{DoxyCompactList}\item 
\hypertarget{a01277_a0d2781e5c68475c9871e8646a4f9ab49}{Q\+Pen \hyperlink{a01277_a0d2781e5c68475c9871e8646a4f9ab49}{background\+Pen} ()}\label{a01277_a0d2781e5c68475c9871e8646a4f9ab49}

\begin{DoxyCompactList}\small\item\em Returns the current background pen. \end{DoxyCompactList}\item 
\hypertarget{a01277_ab3ec1e8cdde74acfd8afff1ad634cf66}{virtual void \hyperlink{a01277_ab3ec1e8cdde74acfd8afff1ad634cf66}{set\+Background\+Pen} (Q\+Pen \+\_\+pen)}\label{a01277_ab3ec1e8cdde74acfd8afff1ad634cf66}

\begin{DoxyCompactList}\small\item\em Sets the background pen. \end{DoxyCompactList}\item 
\hypertarget{a01277_ace36b4567b0b7c1ea67b7f2a033b8dde}{void \hyperlink{a01277_ace36b4567b0b7c1ea67b7f2a033b8dde}{set\+Background} (bool \+\_\+left\+Out, bool \+\_\+right\+Out)}\label{a01277_ace36b4567b0b7c1ea67b7f2a033b8dde}

\begin{DoxyCompactList}\small\item\em Enables background painting. \end{DoxyCompactList}\item 
\hypertarget{a01277_a872506ee39204a7007acbfeb6850b8e6}{void \hyperlink{a01277_a872506ee39204a7007acbfeb6850b8e6}{clear\+Background} ()}\label{a01277_a872506ee39204a7007acbfeb6850b8e6}

\begin{DoxyCompactList}\small\item\em Disables backgorund painting. \end{DoxyCompactList}\item 
\hypertarget{a01277_ac333423162b2217c07acd5f99b913531}{void \hyperlink{a01277_ac333423162b2217c07acd5f99b913531}{set\+Horizontal\+Stretch} (bool \+\_\+stretch)}\label{a01277_ac333423162b2217c07acd5f99b913531}

\begin{DoxyCompactList}\small\item\em Should this widget be stretchable in horizontal direction. \end{DoxyCompactList}\item 
\hypertarget{a01277_a628bdff5b7af542b2b27c4e34b945f8f}{void \hyperlink{a01277_a628bdff5b7af542b2b27c4e34b945f8f}{set\+Alignment} (Qt\+::\+Alignment \+\_\+alignment)}\label{a01277_a628bdff5b7af542b2b27c4e34b945f8f}

\begin{DoxyCompactList}\small\item\em Placement of the text in a stretched widget. \end{DoxyCompactList}\item 
\hypertarget{a01277_a8a52c5d38e1fc69a01a495ffae98efdf}{void \hyperlink{a01277_a8a52c5d38e1fc69a01a495ffae98efdf}{set\+Text} (Q\+String \+\_\+text)}\label{a01277_a8a52c5d38e1fc69a01a495ffae98efdf}

\begin{DoxyCompactList}\small\item\em Set displayed text. \end{DoxyCompactList}\item 
\hypertarget{a01277_a424d3dd42fbc886ca0bf97951d42720e}{Q\+String \hyperlink{a01277_a424d3dd42fbc886ca0bf97951d42720e}{text} ()}\label{a01277_a424d3dd42fbc886ca0bf97951d42720e}

\begin{DoxyCompactList}\small\item\em Get displayed text. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01277_a9f91f82503800a01e9b9843baa41aa7d}{virtual Q\+Size\+F {\bfseries size\+Hint} (Qt\+::\+Size\+Hint \+\_\+which, const Q\+Size\+F \&\+\_\+constraint=Q\+Size\+F()) const }\label{a01277_a9f91f82503800a01e9b9843baa41aa7d}

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

\item 
\hypertarget{a01277_a78b06095cb6d03549f8b6f1ab7636b9c}{bool {\bfseries background\+Set\+\_\+}}\label{a01277_a78b06095cb6d03549f8b6f1ab7636b9c}

\item 
\hypertarget{a01277_a36387163d61b1d9281f9ebee1e050a75}{Q\+Brush {\bfseries background\+Brush\+\_\+}}\label{a01277_a36387163d61b1d9281f9ebee1e050a75}

\item 
\hypertarget{a01277_a3bf9ac7fa2b4e1aa31a1dee0e12be7ef}{Q\+Pen {\bfseries background\+Pen\+\_\+}}\label{a01277_a3bf9ac7fa2b4e1aa31a1dee0e12be7ef}

\item 
\hypertarget{a01277_ab1a8673fe8ecc6648130d03d6a19fa4b}{bool {\bfseries left\+Out\+\_\+}}\label{a01277_ab1a8673fe8ecc6648130d03d6a19fa4b}

\item 
\hypertarget{a01277_a91648f2b3b7af84a0cea0588231a76ac}{bool {\bfseries right\+Out\+\_\+}}\label{a01277_a91648f2b3b7af84a0cea0588231a76ac}

\item 
\hypertarget{a01277_adc4b5baf7af3ebcb7dadcf07a7f37d9f}{Qt\+::\+Alignment {\bfseries alignment\+\_\+}}\label{a01277_adc4b5baf7af3ebcb7dadcf07a7f37d9f}

\item 
\hypertarget{a01277_a9895dad4faf44c7eb4177e3aad3231b2}{bool {\bfseries h\+Stretch\+\_\+}}\label{a01277_a9895dad4faf44c7eb4177e3aad3231b2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Layoutable text widget implementation with an optional background. The background can have convex or concave sides. 

Definition at line 73 of file text.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01277_ad1cf708a21f541926334f280432b8e03}{\index{V\+S\+I\+::\+Text@{V\+S\+I\+::\+Text}!````~Text@{$\sim$\+Text}}
\index{````~Text@{$\sim$\+Text}!V\+S\+I\+::\+Text@{V\+S\+I\+::\+Text}}
\subsubsection[{$\sim$\+Text}]{\setlength{\rightskip}{0pt plus 5cm}V\+S\+I\+::\+Text\+::$\sim$\+Text (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a01277_ad1cf708a21f541926334f280432b8e03}


Destrucotr. 

Destructor. 

Definition at line 101 of file text.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a01277_a378bf0c09061dfe22999c0ec4dcb1051}{\index{V\+S\+I\+::\+Text@{V\+S\+I\+::\+Text}!bounding\+Rect@{bounding\+Rect}}
\index{bounding\+Rect@{bounding\+Rect}!V\+S\+I\+::\+Text@{V\+S\+I\+::\+Text}}
\subsubsection[{bounding\+Rect}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Rect\+F V\+S\+I\+::\+Text\+::bounding\+Rect (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01277_a378bf0c09061dfe22999c0ec4dcb1051}


Bounding rectangle. 

Bounding rect. 

Reimplemented in \hyperlink{a00382_a0f28fdf56be66d1c70f6fb370e4bae76}{V\+S\+I\+::\+Button}.



Definition at line 348 of file text.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+V\+S\+I/scene/text.\+hh\item 
Plugin-\/\+V\+S\+I/scene/text.\+cc\end{DoxyCompactItemize}
