class toMemoEditor

Displays an text in a widget which can optionally be modified and saved back. More...

Definition#include <tomemoeditor.h>
InheritsQDialog (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals


Detailed Description

Displays an text in a widget which can optionally be modified and saved back.

 toMemoEditor (QWidget *parent,const QString &data,int row=-1,int col=-1, bool sql=false,bool modal=false)

toMemoEditor

Create this editor. If row and col is specified, editing is posible.

Parameters:
parentParent widget.
dataData of editor.
rowOptional location specifier, pass on in changeData call.
colOptional location specifier, pass on in changeData call.
sqlUse SQL syntax highlighting of widget.
modalDisplay in modal dialog

QString  text (void)

text

Get editor text.

Returns: String of editor.

void  changeData (int row,int col,const QString &data)

changeData

[signal]

Emitted when data is to be stored back to the creator

Parameters:
rowPass on from creation.
colPass on from creation.
dataNew data to save.

void  store (void)

store

[slot]