CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
ctkVTKTextPropertyWidget Class Reference

#include <Libs/Visualization/VTK/Widgets/ctkVTKTextPropertyWidget.h>

Inheritance diagram for ctkVTKTextPropertyWidget:
Inheritance graph
[legend]
Collaboration diagram for ctkVTKTextPropertyWidget:
Collaboration graph
[legend]

Public Slots

void setBold (bool enable)
 
void setColor (const QColor &color)
 
void setFont (const QString &font)
 
void setItalic (bool enable)
 
void setOpacity (double opacity)
 
void setShadow (bool enable)
 
void setSize (double size)
 
void setText (const QString &text)
 
void setTextLabel (const QString &label)
 
void setTextProperty (vtkTextProperty *textProperty)
 

Signals

void boldChanged (bool enable)
 
void colorChanged (const QColor &color)
 
void fontFamilyChanged (const QString &font)
 
void italicChanged (bool enable)
 
void opacityChanged (double opacity)
 
void shadowChanged (bool enable)
 
void sizeChanged (double size)
 
void textChanged (const QString &text)
 

Public Member Functions

QColor color () const
 Color of vtkTextProperty. More...
 
 ctkVTKTextPropertyWidget (QWidget *parentWidget)
 Constructors. More...
 
 ctkVTKTextPropertyWidget (vtkTextProperty *textProperty, QWidget *parentWidget)
 
QString font () const
 Font of vtkTextProperty. More...
 
bool hasShadow () const
 Has the text shadows. More...
 
bool isBold () const
 Is the text bold. More...
 
bool isItalic () const
 Is the text italic. More...
 
bool isSizeVisible () const
 
bool isTextVisible () const
 
double opacity () const
 Opacity of vtkTextProperty. More...
 
void setSizeVisible (bool visible)
 
void setTextVisible (bool visible)
 
double size () const
 Size of vtkTextProperty. More...
 
QString text () const
 
QString textLabel () const
 
vtkTextProperty * textProperty () const
 
virtual ~ctkVTKTextPropertyWidget ()
 

Protected Slots

void updateFromTextProperty ()
 

Protected Attributes

QScopedPointer< ctkVTKTextPropertyWidgetPrivate > d_ptr
 

Properties

bool showSize
 
bool showText
 
QString text
 
QString textLabel
 

Detailed Description

Definition at line 36 of file ctkVTKTextPropertyWidget.h.

Constructor & Destructor Documentation

◆ ctkVTKTextPropertyWidget() [1/2]

ctkVTKTextPropertyWidget::ctkVTKTextPropertyWidget ( QWidget *  parentWidget)

Constructors.

◆ ctkVTKTextPropertyWidget() [2/2]

ctkVTKTextPropertyWidget::ctkVTKTextPropertyWidget ( vtkTextProperty *  textProperty,
QWidget *  parentWidget 
)

◆ ~ctkVTKTextPropertyWidget()

virtual ctkVTKTextPropertyWidget::~ctkVTKTextPropertyWidget ( )
virtual

Member Function Documentation

◆ boldChanged

void ctkVTKTextPropertyWidget::boldChanged ( bool  enable)
signal

◆ color()

QColor ctkVTKTextPropertyWidget::color ( ) const

Color of vtkTextProperty.

◆ colorChanged

void ctkVTKTextPropertyWidget::colorChanged ( const QColor &  color)
signal

◆ font()

QString ctkVTKTextPropertyWidget::font ( ) const

Font of vtkTextProperty.

◆ fontFamilyChanged

void ctkVTKTextPropertyWidget::fontFamilyChanged ( const QString &  font)
signal

◆ hasShadow()

bool ctkVTKTextPropertyWidget::hasShadow ( ) const

Has the text shadows.

◆ isBold()

bool ctkVTKTextPropertyWidget::isBold ( ) const

Is the text bold.

◆ isItalic()

bool ctkVTKTextPropertyWidget::isItalic ( ) const

Is the text italic.

◆ isSizeVisible()

bool ctkVTKTextPropertyWidget::isSizeVisible ( ) const

◆ isTextVisible()

bool ctkVTKTextPropertyWidget::isTextVisible ( ) const

◆ italicChanged

void ctkVTKTextPropertyWidget::italicChanged ( bool  enable)
signal

◆ opacity()

double ctkVTKTextPropertyWidget::opacity ( ) const

Opacity of vtkTextProperty.

◆ opacityChanged

void ctkVTKTextPropertyWidget::opacityChanged ( double  opacity)
signal

◆ setBold

void ctkVTKTextPropertyWidget::setBold ( bool  enable)
slot

◆ setColor

void ctkVTKTextPropertyWidget::setColor ( const QColor &  color)
slot

◆ setFont

void ctkVTKTextPropertyWidget::setFont ( const QString &  font)
slot

◆ setItalic

void ctkVTKTextPropertyWidget::setItalic ( bool  enable)
slot

◆ setOpacity

void ctkVTKTextPropertyWidget::setOpacity ( double  opacity)
slot

◆ setShadow

void ctkVTKTextPropertyWidget::setShadow ( bool  enable)
slot

◆ setSize

void ctkVTKTextPropertyWidget::setSize ( double  size)
slot

◆ setSizeVisible()

void ctkVTKTextPropertyWidget::setSizeVisible ( bool  visible)

◆ setText

void ctkVTKTextPropertyWidget::setText ( const QString &  text)
slot

◆ setTextLabel

void ctkVTKTextPropertyWidget::setTextLabel ( const QString &  label)
slot

◆ setTextProperty

void ctkVTKTextPropertyWidget::setTextProperty ( vtkTextProperty *  textProperty)
slot

◆ setTextVisible()

void ctkVTKTextPropertyWidget::setTextVisible ( bool  visible)

◆ shadowChanged

void ctkVTKTextPropertyWidget::shadowChanged ( bool  enable)
signal

◆ size()

double ctkVTKTextPropertyWidget::size ( ) const

Size of vtkTextProperty.

◆ sizeChanged

void ctkVTKTextPropertyWidget::sizeChanged ( double  size)
signal

◆ text()

QString ctkVTKTextPropertyWidget::text ( ) const

◆ textChanged

void ctkVTKTextPropertyWidget::textChanged ( const QString &  text)
signal

◆ textLabel()

QString ctkVTKTextPropertyWidget::textLabel ( ) const

◆ textProperty()

vtkTextProperty* ctkVTKTextPropertyWidget::textProperty ( ) const

◆ updateFromTextProperty

void ctkVTKTextPropertyWidget::updateFromTextProperty ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkVTKTextPropertyWidgetPrivate> ctkVTKTextPropertyWidget::d_ptr
protected

Definition at line 104 of file ctkVTKTextPropertyWidget.h.

Property Documentation

◆ showSize

bool ctkVTKTextPropertyWidget::showSize
readwrite

Definition at line 39 of file ctkVTKTextPropertyWidget.h.

◆ showText

bool ctkVTKTextPropertyWidget::showText
readwrite

Definition at line 39 of file ctkVTKTextPropertyWidget.h.

◆ text

QString ctkVTKTextPropertyWidget::text
readwrite

Definition at line 39 of file ctkVTKTextPropertyWidget.h.

◆ textLabel

QString ctkVTKTextPropertyWidget::textLabel
readwrite

Definition at line 39 of file ctkVTKTextPropertyWidget.h.


The documentation for this class was generated from the following file: