Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtGui.IQPlainTextEditSignals Interface Reference
Inheritance diagram for QtGui.IQPlainTextEditSignals:
Collaboration diagram for QtGui.IQPlainTextEditSignals:

Public Member Functions

void TextChanged ()
 
 
void UndoAvailable (bool b)
 
 
void RedoAvailable (bool b)
 
 
void CopyAvailable (bool b)
 
 
void SelectionChanged ()
 
 
void CursorPositionChanged ()
 
 
void UpdateRequest (QRect rect, int dy)
 
 
void BlockCountChanged (int newBlockCount)
 
 
void ModificationChanged (bool arg1)
 
 

Member Function Documentation

void QtGui.IQPlainTextEditSignals.BlockCountChanged ( int  newBlockCount)

This signal is emitted whenever the block count changes. The new block count is passed in newBlockCount.

void QtGui.IQPlainTextEditSignals.CopyAvailable ( bool  b)

This signal is emitted when text is selected or de-selected in the text edit.

When text is selected this signal will be emitted with yes set to true. If no text has been selected or if the selected text is de-selected this signal is emitted with yes set to false.

If yes is true then copy() can be used to copy the selection to the clipboard. If yes is false then copy() does nothing.

See also selectionChanged().

void QtGui.IQPlainTextEditSignals.CursorPositionChanged ( )

This signal is emitted whenever the position of the cursor changed.

void QtGui.IQPlainTextEditSignals.ModificationChanged ( bool  arg1)

This signal is emitted whenever the content of the document changes in a way that affects the modification state. If changed is true, the document has been modified; otherwise it is false.

For example, calling setModified(false) on a document and then inserting text causes the signal to get emitted. If you undo that operation, causing the document to return to its original unmodified state, the signal will get emitted again.

void QtGui.IQPlainTextEditSignals.RedoAvailable ( bool  b)

This signal is emitted whenever redo operations become available (available is true) or unavailable (available is false).

void QtGui.IQPlainTextEditSignals.SelectionChanged ( )

This signal is emitted whenever the selection changes.

See also copyAvailable().

void QtGui.IQPlainTextEditSignals.TextChanged ( )

This signal is emitted whenever the document's content changes; for example, when text is inserted or deleted, or when formatting is applied.

void QtGui.IQPlainTextEditSignals.UndoAvailable ( bool  b)

This signal is emitted whenever undo operations become available (available is true) or unavailable (available is false).

void QtGui.IQPlainTextEditSignals.UpdateRequest ( QRect  rect,
int  dy 
)

This signal is emitted when the text document needs an update of the specified rect. If the text is scrolled, rect will cover the entire viewport area. If the text is scrolled vertically, dy carries the amount of pixels the viewport was scrolled.

The purpose of the signal is to support extra widgets in plain text edit subclasses that e.g. show line numbers, breakpoints, or other extra information.