1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
|
<HTML>
<HEAD>
<TITLE>class toMemoEditor</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class toMemoEditor</h1>
</TD>
<TD valign="top" align="right" colspan="1"> Displays an text in a widget which can optionally be modified and saved back. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Definition</TH><TD><code>#include <<A HREF="tomemoeditor_h.html">tomemoeditor.h</A>></code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="http://doc.trolltech.com/qdialog.html">QDialog</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="toResultContentMemo.html">toResultContentMemo</A></TD></TR>
<TR><TH><A HREF="full-list-toMemoEditor.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref13">toMemoEditor</A></b> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data,int row=-1,int col=-1,
bool sql=false,bool modal=false,bool navigation=false)
</LI>
<LI><A HREF="http://doc.trolltech.com/qstring.html">QString</A> <b><A HREF="#ref14">text</A></b> (void)
</LI>
<LI>int <b><A HREF="#ref15">row</A></b> () const
</LI>
<LI>int <b><A HREF="#ref16">column</A></b> () const
</LI>
</ul><h4>Public Slots</h4><ul><LI>virtual void <b><A HREF="#ref18">store</A></b> (void)
</LI>
<LI>virtual void <b><A HREF="#ref19">firstColumn</A></b> ()
</LI>
<LI>virtual void <b><A HREF="#ref20">nextColumn</A></b> ()
</LI>
<LI>virtual void <b><A HREF="#ref21">previousColumn</A></b> ()
</LI>
<LI>virtual void <b><A HREF="#ref22">lastColumn</A></b> ()
</LI>
<LI>virtual void <b><A HREF="#ref23">changePosition</A></b> (int row,int cols)
</LI>
<LI>virtual void <b><A HREF="#ref24">setText</A></b> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &)
</LI>
</ul><h4>Signals</h4><ul><LI>void <b><A HREF="#ref17">changeData</A></b> (int row,int col,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data)
</LI>
</ul><h4>Protected Methods</h4><ul><LI><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <b><A HREF="#ref10">toolbar</A></b> ()
</LI>
<LI><A HREF="toMarkedText.html">toMarkedText</A> * <b><A HREF="#ref11">editor</A></b> ()
</LI>
<LI><A HREF="http://doc.trolltech.com/qlabel.html">QLabel</A> * <b><A HREF="#ref12">label</A></b> ()
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Displays an text in a widget which can optionally be modified and saved back.
</p>
<A NAME="toolbar"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qtoolbar.html">QToolBar</A> * <strong>toolbar</strong> ()
<br></td><td align="right"><h3><strong>toolbar</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="editor"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="toMarkedText.html">toMarkedText</A> * <strong>editor</strong> ()
<br></td><td align="right"><h3><strong>editor</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="label"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qlabel.html">QLabel</A> * <strong>label</strong> ()
<br></td><td align="right"><h3><strong>label</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="toMemoEditor"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toMemoEditor</strong> (<A HREF="http://doc.trolltech.com/qwidget.html">QWidget</A> *parent,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data,int row=-1,int col=-1,
bool sql=false,bool modal=false,bool navigation=false)
<br></td><td align="right"><h3><strong>toMemoEditor</strong></h3></td></tr></table><p></p><p> Create this editor. If row and col is specified, editing is posible.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent widget.
</TD></TR>
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">Data of editor.
</TD></TR>
<TR><TD align="left" valign="top"><i>row</i></TD><TD align="left" valign="top">Optional location specifier, pass on in <A HREF="toMemoEditor.html#changeData">changeData</A> call.
</TD></TR>
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Optional location specifier, pass on in <A HREF="toMemoEditor.html#changeData">changeData</A> call.
</TD></TR>
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">Use SQL syntax highlighting of widget.
</TD></TR>
<TR><TD align="left" valign="top"><i>modal</i></TD><TD align="left" valign="top">Display in modal dialog
</TD></TR>
<TR><TD align="left" valign="top"><i>navigation</i></TD><TD align="left" valign="top">Display navigation buttons
</TD></TR>
</TABLE></P>
<A NAME="text"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="http://doc.trolltech.com/qstring.html">QString</A> <strong>text</strong> (void)
<br></td><td align="right"><h3><strong>text</strong></h3></td></tr></table><p></p><p> Get editor text.
</p>
<p><b>Returns</b>: String of editor.
</p>
<A NAME="row"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>row</strong> ()
<br></td><td align="right"><h3><strong>row</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Current row being edited.
</p>
<A NAME="column"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>column</strong> ()
<br></td><td align="right"><h3><strong>column</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Current column being edited.
</p>
<A NAME="changeData"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>changeData</strong> (int row,int col,const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &data)
<br></td><td align="right"><h3><strong>changeData</strong></h3></td></tr></table><p> <small>[signal]</small></p><p> Emitted when data is to be stored back to the creator
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>row</i></TD><TD align="left" valign="top">Pass on from creation.
</TD></TR>
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Pass on from creation.
</TD></TR>
<TR><TD align="left" valign="top"><i>data</i></TD><TD align="left" valign="top">New data to save.
</TD></TR>
</TABLE></P>
<A NAME="store"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>store</strong> (void)
<br></td><td align="right"><h3><strong>store</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Save changes and close.
</p>
<A NAME="firstColumn"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>firstColumn</strong> ()
<br></td><td align="right"><h3><strong>firstColumn</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Goto first column.
</p>
<A NAME="nextColumn"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>nextColumn</strong> ()
<br></td><td align="right"><h3><strong>nextColumn</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Goto next column.
</p>
<A NAME="previousColumn"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>previousColumn</strong> ()
<br></td><td align="right"><h3><strong>previousColumn</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Goto previous column.
</p>
<A NAME="lastColumn"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>lastColumn</strong> ()
<br></td><td align="right"><h3><strong>lastColumn</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Goto last column.
</p>
<A NAME="changePosition"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>changePosition</strong> (int row,int cols)
<br></td><td align="right"><h3><strong>changePosition</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Change position in whatever it is your displaying.
</p>
<A NAME="setText"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setText</strong> (const <A HREF="http://doc.trolltech.com/qstring.html">QString</A> &)
<br></td><td align="right"><h3><strong>setText</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Change value of editor.
</p>
<HR>
<table>
</table>
</BODY>
</HTML>
|