#include <vtkKWText.h>
Inheritance diagram for vtkKWText:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWText, vtkKWCoreWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | AddTagMatcher (const char *regexp, const char *tag) |
virtual void | UpdateEnableState () |
virtual char * | GetText () |
virtual void | SetText (const char *) |
virtual void | SetText (const char *, const char *tag) |
virtual void | AppendText (const char *) |
virtual void | AppendText (const char *, const char *tag) |
virtual void | SetReadOnly (int val) |
virtual int | GetReadOnly () |
virtual void | ReadOnlyOn () |
virtual void | ReadOnlyOff () |
virtual void | SetQuickFormatting (int) |
virtual int | GetQuickFormatting () |
virtual void | QuickFormattingOn () |
virtual void | QuickFormattingOff () |
virtual void | SetWidth (int) |
virtual int | GetWidth () |
virtual void | SetHeight (int) |
virtual int | GetHeight () |
virtual void | SetWrapToNone () |
virtual void | SetWrapToWord () |
virtual void | SetWrapToChar () |
virtual void | ResizeToGridOn () |
virtual void | ResizeToGridOff () |
virtual void | SetResizeToGrid (int) |
virtual int | GetResizeToGrid () |
Static Public Member Functions | |
vtkKWText * | New () |
Static Public Attributes | |
const char * | MarkerBold |
const char * | MarkerItalic |
const char * | MarkerUnderline |
const char * | TagBold |
const char * | TagItalic |
const char * | TagUnderline |
const char * | TagFgNavy |
const char * | TagFgRed |
const char * | TagFgBlue |
const char * | TagFgDarkGreen |
Protected Member Functions | |
vtkKWText () | |
~vtkKWText () | |
virtual void | AppendTextInternalTagging (const char *, const char *tag) |
virtual void | AppendTextInternal (const char *, const char *tag) |
Protected Attributes | |
int | ReadOnly |
int | QuickFormatting |
vtkKWTextInternals * | Internals |
A simple widget used for collecting keyboard input from the user. This widget provides support for multi-line input. Use vtkKWTextWithScrollbars if you need scrollbars.
Definition at line 32 of file vtkKWText.h.
|
|
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
Create the widget. Reimplemented from vtkKWCoreWidget. |
|
Set/Get the value of the text. AppendText() is a convenience function to add text at the end. If a tag is provided, it will be used to tag the corresponding text. |
|
Set/Get the value of the text. AppendText() is a convenience function to add text at the end. If a tag is provided, it will be used to tag the corresponding text. |
|
Set/Get the value of the text. AppendText() is a convenience function to add text at the end. If a tag is provided, it will be used to tag the corresponding text. |
|
Set/Get the value of the text. AppendText() is a convenience function to add text at the end. If a tag is provided, it will be used to tag the corresponding text. |
|
Set/Get the value of the text. AppendText() is a convenience function to add text at the end. If a tag is provided, it will be used to tag the corresponding text. |
|
Set/Get if this text is read-only. Default is Off. |
|
Set/Get if this text is read-only. Default is Off. |
|
Set/Get if this text is read-only. Default is Off. |
|
Set/Get if this text is read-only. Default is Off. |
|
Set/Get if quick formatting is enabled. In this mode, strings can be tagged using markers: ** : bold (ex: this is **bold**) ~~ : italic (ex: this is ~~italic~~) __ : underline (ex: this is __underline__) |
|
Set/Get if quick formatting is enabled. In this mode, strings can be tagged using markers: ** : bold (ex: this is **bold**) ~~ : italic (ex: this is ~~italic~~) __ : underline (ex: this is __underline__) |
|
Set/Get if quick formatting is enabled. In this mode, strings can be tagged using markers: ** : bold (ex: this is **bold**) ~~ : italic (ex: this is ~~italic~~) __ : underline (ex: this is __underline__) |
|
Set/Get if quick formatting is enabled. In this mode, strings can be tagged using markers: ** : bold (ex: this is **bold**) ~~ : italic (ex: this is ~~italic~~) __ : underline (ex: this is __underline__) |
|
Convenience method to get/set the width/height, in characters. |
|
Convenience method to get/set the width/height, in characters. |
|
Convenience method to get/set the width/height, in characters. |
|
Convenience method to get/set the width/height, in characters. |
|
Convenience method to set the wrap mode. |
|
Convenience method to set the wrap mode. |
|
Convenience method to set the wrap mode. |
|
Add a tag matcher. Whenever a regular expression 'regexp' is matched it will be tagged with 'tag'. |
|
Convenience method to set the resize-to-grid flag. Specifies a boolean value that determines whether this widget controls the resizing grid for its top-level window. This option is typically used in text widgets, where the information in the widget has a natural size (the size of a character) and it makes sense for the window's dimensions to be integral numbers of these units. These natural window sizes form a grid. If the setGrid option is set to true then the widget will communicate with the window manager so that when the user interactively resizes the top-level window that contains the widget, the dimensions of the window will be displayed to the user in grid units and the window size will be constrained to integral numbers of grid units. |
|
Convenience method to set the resize-to-grid flag. Specifies a boolean value that determines whether this widget controls the resizing grid for its top-level window. This option is typically used in text widgets, where the information in the widget has a natural size (the size of a character) and it makes sense for the window's dimensions to be integral numbers of these units. These natural window sizes form a grid. If the setGrid option is set to true then the widget will communicate with the window manager so that when the user interactively resizes the top-level window that contains the widget, the dimensions of the window will be displayed to the user in grid units and the window size will be constrained to integral numbers of grid units. |
|
Convenience method to set the resize-to-grid flag. Specifies a boolean value that determines whether this widget controls the resizing grid for its top-level window. This option is typically used in text widgets, where the information in the widget has a natural size (the size of a character) and it makes sense for the window's dimensions to be integral numbers of these units. These natural window sizes form a grid. If the setGrid option is set to true then the widget will communicate with the window manager so that when the user interactively resizes the top-level window that contains the widget, the dimensions of the window will be displayed to the user in grid units and the window size will be constrained to integral numbers of grid units. |
|
Convenience method to set the resize-to-grid flag. Specifies a boolean value that determines whether this widget controls the resizing grid for its top-level window. This option is typically used in text widgets, where the information in the widget has a natural size (the size of a character) and it makes sense for the window's dimensions to be integral numbers of these units. These natural window sizes form a grid. If the setGrid option is set to true then the widget will communicate with the window manager so that when the user interactively resizes the top-level window that contains the widget, the dimensions of the window will be displayed to the user in grid units and the window size will be constrained to integral numbers of grid units. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |
|
|
|
|
|
Some constants BTX Definition at line 117 of file vtkKWText.h. |
|
Some constants BTX Definition at line 118 of file vtkKWText.h. |
|
Some constants BTX Definition at line 119 of file vtkKWText.h. |
|
Some constants BTX Definition at line 120 of file vtkKWText.h. |
|
Some constants BTX Definition at line 121 of file vtkKWText.h. |
|
Some constants BTX Definition at line 122 of file vtkKWText.h. |
|
Some constants BTX Definition at line 123 of file vtkKWText.h. |
|
Some constants BTX Definition at line 124 of file vtkKWText.h. |
|
Some constants BTX Definition at line 125 of file vtkKWText.h. |
|
Some constants BTX Definition at line 126 of file vtkKWText.h. |
|
Definition at line 134 of file vtkKWText.h. |
|
Definition at line 135 of file vtkKWText.h. |
|
PIMPL Encapsulation for STL containers Reimplemented from vtkKWWidget. Definition at line 139 of file vtkKWText.h. |