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


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

Inheritance diagram for V\+SI\+:\+:Text\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classVSI_1_1Text}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a4d897b2205fd7c09ad7a8b35c6196c0c}\label{classVSI_1_1Text_a4d897b2205fd7c09ad7a8b35c6196c0c}} 
\hyperlink{classVSI_1_1Text_a4d897b2205fd7c09ad7a8b35c6196c0c}{Text} (Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_aee8a1b3f76a247f9cbba9407b660e5b5}\label{classVSI_1_1Text_aee8a1b3f76a247f9cbba9407b660e5b5}} 
\hyperlink{classVSI_1_1Text_aee8a1b3f76a247f9cbba9407b660e5b5}{Text} (const Q\+String \&\+\_\+text, Q\+Graphics\+Item $\ast$\+\_\+parent=0)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{classVSI_1_1Text_ad1cf708a21f541926334f280432b8e03}{$\sim$\+Text} ()
\begin{DoxyCompactList}\small\item\em Destrucotr. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_aa1f65b41ee712eecdc4ad37fcdf5ecf7}\label{classVSI_1_1Text_aa1f65b41ee712eecdc4ad37fcdf5ecf7}} 
virtual void \hyperlink{classVSI_1_1Text_aa1f65b41ee712eecdc4ad37fcdf5ecf7}{set\+Geometry} (const Q\+RectF \&\+\_\+rect)
\begin{DoxyCompactList}\small\item\em Sets the geometry. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_adaa62cbc82287f67fbfcbd98f5c4d23c}\label{classVSI_1_1Text_adaa62cbc82287f67fbfcbd98f5c4d23c}} 
Q\+Painter\+Path \hyperlink{classVSI_1_1Text_adaa62cbc82287f67fbfcbd98f5c4d23c}{shape} () const
\begin{DoxyCompactList}\small\item\em Returns the shape for proper repainting/event handling. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a2d67eebf7893705910f58df380232f7c}\label{classVSI_1_1Text_a2d67eebf7893705910f58df380232f7c}} 
virtual void \hyperlink{classVSI_1_1Text_a2d67eebf7893705910f58df380232f7c}{paint} (Q\+Painter $\ast$\+\_\+painter, const Q\+Style\+Option\+Graphics\+Item $\ast$\+\_\+option, Q\+Widget $\ast$\+\_\+widget=0)
\begin{DoxyCompactList}\small\item\em Background painting. \end{DoxyCompactList}\item 
virtual Q\+RectF \hyperlink{classVSI_1_1Text_a25c7e739b886c51e87fab4c02aa0ca01}{bounding\+Rect} () const
\begin{DoxyCompactList}\small\item\em Bounding rectangle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a4b86d275b97800a87f20351e3d73e018}\label{classVSI_1_1Text_a4b86d275b97800a87f20351e3d73e018}} 
Q\+Brush \hyperlink{classVSI_1_1Text_a4b86d275b97800a87f20351e3d73e018}{background\+Brush} ()
\begin{DoxyCompactList}\small\item\em Returns the current background brush. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a5d8c6efb1e058445d78501356244e8d6}\label{classVSI_1_1Text_a5d8c6efb1e058445d78501356244e8d6}} 
virtual void \hyperlink{classVSI_1_1Text_a5d8c6efb1e058445d78501356244e8d6}{set\+Background\+Brush} (Q\+Brush \+\_\+brush)
\begin{DoxyCompactList}\small\item\em Sets the background brush. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a0d2781e5c68475c9871e8646a4f9ab49}\label{classVSI_1_1Text_a0d2781e5c68475c9871e8646a4f9ab49}} 
Q\+Pen \hyperlink{classVSI_1_1Text_a0d2781e5c68475c9871e8646a4f9ab49}{background\+Pen} ()
\begin{DoxyCompactList}\small\item\em Returns the current background pen. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_ab3ec1e8cdde74acfd8afff1ad634cf66}\label{classVSI_1_1Text_ab3ec1e8cdde74acfd8afff1ad634cf66}} 
virtual void \hyperlink{classVSI_1_1Text_ab3ec1e8cdde74acfd8afff1ad634cf66}{set\+Background\+Pen} (Q\+Pen \+\_\+pen)
\begin{DoxyCompactList}\small\item\em Sets the background pen. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_ace36b4567b0b7c1ea67b7f2a033b8dde}\label{classVSI_1_1Text_ace36b4567b0b7c1ea67b7f2a033b8dde}} 
void \hyperlink{classVSI_1_1Text_ace36b4567b0b7c1ea67b7f2a033b8dde}{set\+Background} (bool \+\_\+left\+Out, bool \+\_\+right\+Out)
\begin{DoxyCompactList}\small\item\em Enables background painting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a872506ee39204a7007acbfeb6850b8e6}\label{classVSI_1_1Text_a872506ee39204a7007acbfeb6850b8e6}} 
void \hyperlink{classVSI_1_1Text_a872506ee39204a7007acbfeb6850b8e6}{clear\+Background} ()
\begin{DoxyCompactList}\small\item\em Disables backgorund painting. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_ac333423162b2217c07acd5f99b913531}\label{classVSI_1_1Text_ac333423162b2217c07acd5f99b913531}} 
void \hyperlink{classVSI_1_1Text_ac333423162b2217c07acd5f99b913531}{set\+Horizontal\+Stretch} (bool \+\_\+stretch)
\begin{DoxyCompactList}\small\item\em Should this widget be stretchable in horizontal direction. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a628bdff5b7af542b2b27c4e34b945f8f}\label{classVSI_1_1Text_a628bdff5b7af542b2b27c4e34b945f8f}} 
void \hyperlink{classVSI_1_1Text_a628bdff5b7af542b2b27c4e34b945f8f}{set\+Alignment} (Qt\+::\+Alignment \+\_\+alignment)
\begin{DoxyCompactList}\small\item\em Placement of the text in a stretched widget. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a8a52c5d38e1fc69a01a495ffae98efdf}\label{classVSI_1_1Text_a8a52c5d38e1fc69a01a495ffae98efdf}} 
void \hyperlink{classVSI_1_1Text_a8a52c5d38e1fc69a01a495ffae98efdf}{set\+Text} (Q\+String \+\_\+text)
\begin{DoxyCompactList}\small\item\em Set displayed text. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classVSI_1_1Text_a424d3dd42fbc886ca0bf97951d42720e}\label{classVSI_1_1Text_a424d3dd42fbc886ca0bf97951d42720e}} 
Q\+String \hyperlink{classVSI_1_1Text_a424d3dd42fbc886ca0bf97951d42720e}{text} ()
\begin{DoxyCompactList}\small\item\em Get displayed text. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a48268052f850118c598256493f3c8341}\label{classVSI_1_1Text_a48268052f850118c598256493f3c8341}} 
virtual Q\+SizeF {\bfseries size\+Hint} (Qt\+::\+Size\+Hint \+\_\+which, const Q\+SizeF \&\+\_\+constraint=Q\+SizeF()) const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a4cbe1e5655302058232bb3a6ec0368f4}\label{classVSI_1_1Text_a4cbe1e5655302058232bb3a6ec0368f4}} 
Q\+String {\bfseries text\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a78b06095cb6d03549f8b6f1ab7636b9c}\label{classVSI_1_1Text_a78b06095cb6d03549f8b6f1ab7636b9c}} 
bool {\bfseries background\+Set\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a36387163d61b1d9281f9ebee1e050a75}\label{classVSI_1_1Text_a36387163d61b1d9281f9ebee1e050a75}} 
Q\+Brush {\bfseries background\+Brush\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a3bf9ac7fa2b4e1aa31a1dee0e12be7ef}\label{classVSI_1_1Text_a3bf9ac7fa2b4e1aa31a1dee0e12be7ef}} 
Q\+Pen {\bfseries background\+Pen\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_ab1a8673fe8ecc6648130d03d6a19fa4b}\label{classVSI_1_1Text_ab1a8673fe8ecc6648130d03d6a19fa4b}} 
bool {\bfseries left\+Out\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a91648f2b3b7af84a0cea0588231a76ac}\label{classVSI_1_1Text_a91648f2b3b7af84a0cea0588231a76ac}} 
bool {\bfseries right\+Out\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_adc4b5baf7af3ebcb7dadcf07a7f37d9f}\label{classVSI_1_1Text_adc4b5baf7af3ebcb7dadcf07a7f37d9f}} 
Qt\+::\+Alignment {\bfseries alignment\+\_\+}
\item 
\mbox{\Hypertarget{classVSI_1_1Text_a9895dad4faf44c7eb4177e3aad3231b2}\label{classVSI_1_1Text_a9895dad4faf44c7eb4177e3aad3231b2}} 
bool {\bfseries h\+Stretch\+\_\+}
\end{DoxyCompactItemize}


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

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



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classVSI_1_1Text_ad1cf708a21f541926334f280432b8e03}\label{classVSI_1_1Text_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{\texorpdfstring{$\sim$\+Text()}{~Text()}}
{\footnotesize\ttfamily V\+S\+I\+::\+Text\+::$\sim$\+Text (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Destrucotr. 

Destructor. 

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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classVSI_1_1Text_a25c7e739b886c51e87fab4c02aa0ca01}\label{classVSI_1_1Text_a25c7e739b886c51e87fab4c02aa0ca01}} 
\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{\texorpdfstring{bounding\+Rect()}{boundingRect()}}
{\footnotesize\ttfamily Q\+RectF V\+S\+I\+::\+Text\+::bounding\+Rect (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Bounding rectangle. 

Bounding rect. 

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



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