~ubuntu-branches/ubuntu/lucid/python-qt4/lucid

« back to all changes in this revision

Viewing changes to doc/html/qundocommand.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall, Torsten Marek, Michael Casadevall
  • Date: 2009-10-07 09:53:11 UTC
  • mfrom: (1.1.14 upstream) (4.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20091007095311-sdk6pqd0n4rzhaeg
Tags: 4.6-1
[ Torsten Marek ]
* debian/rules
  - Fix .noinit creation for Python 2.6 by using py_sitename in install-arch-%

[ Michael Casadevall ]
* New upstream release
* debian/control:
  - Updated for new release of sip4

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QUndoCommand" />QUndoCommand.__init__ (<i>self</i>, <a href="qundocommand.html">QUndoCommand</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a <a href="qundocommand.html">QUndoCommand</a> object with parent <i>parent</i>.</p>
51
51
<p>If <i>parent</i> is not 0, this command is appended to parent's child list. The parent command then owns this command and will delete it in its destructor.</p>
52
52
<p>See also <a href="qundocommand.html#dtor.QUndoCommand">~QUndoCommand</a>().</p>
53
 
<h3 class="fn"><a name="QUndoCommand-2" />QUndoCommand.__init__ (<i>self</i>, <a href="qstring.html">QString</a>&#160;<i>text</i>, <a href="qundocommand.html">QUndoCommand</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a <a href="qundocommand.html">QUndoCommand</a> object with the given <i>parent</i> and <i>text</i>.</p>
 
53
<h3 class="fn"><a name="QUndoCommand-2" />QUndoCommand.__init__ (<i>self</i>, QString&#160;<i>text</i>, <a href="qundocommand.html">QUndoCommand</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a <a href="qundocommand.html">QUndoCommand</a> object with the given <i>parent</i> and <i>text</i>.</p>
54
54
<p>If <i>parent</i> is not 0, this command is appended to parent's child list. The parent command then owns this command and will delete it in its destructor.</p>
55
55
<p>See also <a href="qundocommand.html#dtor.QUndoCommand">~QUndoCommand</a>().</p>
56
56
<h3 class="fn"><a name="child" /><a href="qundocommand.html">QUndoCommand</a> QUndoCommand.child (<i>self</i>, int&#160;<i>index</i>)</h3><p>Returns the child command at <i>index</i>.</p>
79
79
<h3 class="fn"><a name="redo" />QUndoCommand.redo (<i>self</i>)</h3><p>Applies a change to the document. This function must be implemented in the derived class. Calling <a href="qundostack.html#push">QUndoStack.push</a>(), <a href="qundostack.html#undo">QUndoStack.undo</a>() or <a href="qundostack.html#redo">QUndoStack.redo</a>() from this function leads to undefined beahavior.</p>
80
80
<p>The default implementation calls redo() on all child commands.</p>
81
81
<p>See also <a href="qundocommand.html#undo">undo</a>().</p>
82
 
<h3 class="fn"><a name="setText" />QUndoCommand.setText (<i>self</i>, <a href="qstring.html">QString</a>&#160;<i>text</i>)</h3><p>Sets the command's text to be the <i>text</i> specified.</p>
 
82
<h3 class="fn"><a name="setText" />QUndoCommand.setText (<i>self</i>, QString&#160;<i>text</i>)</h3><p>Sets the command's text to be the <i>text</i> specified.</p>
83
83
<p>The specified text should be a short user-readable string describing what this command does.</p>
84
84
<p>See also <a href="qundocommand.html#text">text</a>(), <a href="qundostack.html#createUndoAction">QUndoStack.createUndoAction</a>(), and <a href="qundostack.html#createRedoAction">QUndoStack.createRedoAction</a>().</p>
85
 
<h3 class="fn"><a name="text" /><a href="qstring.html">QString</a> QUndoCommand.text (<i>self</i>)</h3><p>Returns a short text string describing what this command does; for example, "insert text".</p>
 
85
<h3 class="fn"><a name="text" />QString QUndoCommand.text (<i>self</i>)</h3><p>Returns a short text string describing what this command does; for example, "insert text".</p>
86
86
<p>The text is used when the text properties of the stack's undo and redo actions are updated.</p>
87
87
<p>See also <a href="qundocommand.html#setText">setText</a>(), <a href="qundostack.html#createUndoAction">QUndoStack.createUndoAction</a>(), and <a href="qundostack.html#createRedoAction">QUndoStack.createRedoAction</a>().</p>
88
88
<h3 class="fn"><a name="undo" />QUndoCommand.undo (<i>self</i>)</h3><p>Reverts a change to the document. After undo() is called, the state of the document should be the same as before <a href="qundocommand.html#redo">redo</a>() was called. This function must be implemented in the derived class. Calling <a href="qundostack.html#push">QUndoStack.push</a>(), <a href="qundostack.html#undo">QUndoStack.undo</a>() or <a href="qundostack.html#redo">QUndoStack.redo</a>() from this function leads to undefined beahavior.</p>
89
89
<p>The default implementation calls undo() on all child commands in reverse order.</p>
90
90
<p>See also <a href="qundocommand.html#redo">redo</a>().</p>
91
 
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.5.4 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2009</td><td align="right" width="25%">Qt&#160;4.5.1</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
91
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.6 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2009</td><td align="right" width="25%">Qt&#160;4.5.2</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'