<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkQtTableView Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkQtTableView Class Reference</h1><!-- doxytag: class="vtkQtTableView" --><!-- doxytag: inherits="vtkQtItemView" --><code>#include <<a class="el" href="a04592.html">vtkQtTableView.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkQtTableView:</div> <div class="dynsection"> <p><center><img src="a13862.png" border="0" usemap="#a13863" alt="Inheritance graph"></center> <map name="a13863"> <area shape="rect" href="a01399.html" title="Superclass for Qt widget-based views." alt="" coords="9,229,119,256"><area shape="rect" href="a01830.html" title="The superclass for all views." alt="" coords="29,155,99,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="24,80,104,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="9,5,119,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkQtTableView:</div> <div class="dynsection"> <p><center><img src="a13864.png" border="0" usemap="#a13865" alt="Collaboration graph"></center> <map name="a13865"> <area shape="rect" href="a01399.html" title="Superclass for Qt widget-based views." alt="" coords="2406,645,2515,672"><area shape="rect" href="a01408.html" title="vtkQtSignalHandler" alt="" coords="2696,635,2838,661"><area shape="rect" href="a01830.html" title="The superclass for all views." alt="" coords="1819,631,1888,657"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,303,524,329"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1044,604,1167,631"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="695,185,804,212"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1800,163,1907,189"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1056,305,1155,332"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1456,323,1555,349"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="675,353,824,380"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1456,532,1555,559"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,100,116,127"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,25,566,52"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="170,71,300,97"><area shape="rect" href="a01810.html" title="A atomic type representing the union of many types." alt="" coords="1064,784,1147,811"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,303,290,329"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2419,172,2502,199"><area shape="rect" href="a01619.html" title="Subclass of vtkAbstractArray that holds vtkStdStrings." alt="" coords="1451,631,1560,657"><area shape="rect" href="a01811.html" title="An array holding vtkVariants." alt="" coords="1447,740,1564,767"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="394,127,575,153"><area shape="rect" href="a01607.html" title="Wrapper around vtkstd::string to keep symbols short." alt="" coords="702,737,798,764"><area shape="rect" href="a01330.html" title="Superclass for Qt model adapters." alt="" coords="2032,684,2222,711"><area shape="rect" href="a01421.html" title="Adapts a table to a Qt item model." alt="" coords="2374,725,2547,752"><area shape="rect" href="a01657.html" title="A table, which contains similar-typed columns of data." alt="" coords="2090,739,2164,765"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="2063,209,2191,236"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="1780,792,1927,819"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1008,553,1203,580"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="1414,800,1598,827"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a13866.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A VTK view based on a Qt table view. <p> <a class="el" href="a01423.html" title="A VTK view based on a Qt table view.">vtkQtTableView</a> is a VTK view with an underlying QTableView.<p> <dl class="user" compact><dt><b>Thanks:</b></dt><dd>Thanks to Brian Wylie from Sandia National Laboratories for implementing this class</dd></dl> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_13.html#c2_vtk_t_vtkQtTableView">vtkQtTableView (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04592.html#l00044">44</a> of file <a class="el" href="a04592.html">vtkQtTableView.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01399.html">vtkQtItemView</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#3d84ef0bbded5ef5e6ff190b09e96eff">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#85c2c8a014e5bbfc865582bc37699c20">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#f674c8db27fe341dc29205809b67b895">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#fa5e23e984437d232ad2534f33d69549">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#8307aa7f74d54f2d972f461429620ca2">SetItemView</a> (QAbstractItemView *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#fda01b10694f9485310c3739801b1d3c">SetItemModelAdapter</a> (<a class="el" href="a01330.html">vtkQtAbstractModelAdapter</a> *qma)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a01657.html">vtkTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#707e15b4651adbbaadc0f3a38c24e9aa">GetVTKTable</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01423.html">vtkQtTableView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#c4844016b2ac1df48325af6abb62fb0f">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#e8545d5fc0a99b4653ddc9ac8db0e772">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01423.html">vtkQtTableView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#ca62802e9c8b3b6de86308734c51fd7d">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#b40033609b6673961dbbc3b660e4ead2">vtkQtTableView</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01423.html#6b508e1fce2216dec19ce44d562f5dfa">~vtkQtTableView</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="3d84ef0bbded5ef5e6ff190b09e96eff"></a><!-- doxytag: member="vtkQtTableView::Superclass" ref="3d84ef0bbded5ef5e6ff190b09e96eff" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01399.html">vtkQtItemView</a> <a class="el" href="a01399.html">vtkQtTableView::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#69cfb597e97affece1f1e2c4a715398a">vtkQtItemView</a>.</p> <p>Definition at line <a class="el" href="a04592.html#l00048">48</a> of file <a class="el" href="a04592.html">vtkQtTableView.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="b40033609b6673961dbbc3b660e4ead2"></a><!-- doxytag: member="vtkQtTableView::vtkQtTableView" ref="b40033609b6673961dbbc3b660e4ead2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtTableView::vtkQtTableView </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="6b508e1fce2216dec19ce44d562f5dfa"></a><!-- doxytag: member="vtkQtTableView::~vtkQtTableView" ref="6b508e1fce2216dec19ce44d562f5dfa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkQtTableView::~vtkQtTableView </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c4844016b2ac1df48325af6abb62fb0f"></a><!-- doxytag: member="vtkQtTableView::New" ref="c4844016b2ac1df48325af6abb62fb0f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01423.html">vtkQtTableView</a>* vtkQtTableView::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a01399.html#f00fb81122abff6abb3932782fe8e7e2">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="85c2c8a014e5bbfc865582bc37699c20"></a><!-- doxytag: member="vtkQtTableView::GetClassName" ref="85c2c8a014e5bbfc865582bc37699c20" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkQtTableView::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#8d2c0bf2ad30cd74aba1519b2b6afb80">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="e8545d5fc0a99b4653ddc9ac8db0e772"></a><!-- doxytag: member="vtkQtTableView::IsTypeOf" ref="e8545d5fc0a99b4653ddc9ac8db0e772" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkQtTableView::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01399.html#8fa6f18e9955d52b1d7f3874cd2e69c1">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="f674c8db27fe341dc29205809b67b895"></a><!-- doxytag: member="vtkQtTableView::IsA" ref="f674c8db27fe341dc29205809b67b895" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkQtTableView::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a01399.html#cfe92798a0b9bfabc124120af49abebd">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="ca62802e9c8b3b6de86308734c51fd7d"></a><!-- doxytag: member="vtkQtTableView::SafeDownCast" ref="ca62802e9c8b3b6de86308734c51fd7d" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01423.html">vtkQtTableView</a>* vtkQtTableView::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01399.html#e75b71b5c244587d77d516299baad69d">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="fa5e23e984437d232ad2534f33d69549"></a><!-- doxytag: member="vtkQtTableView::PrintSelf" ref="fa5e23e984437d232ad2534f33d69549" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkQtTableView::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a01399.html#753824ca4794bf24cdf535aba288dc47">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="8307aa7f74d54f2d972f461429620ca2"></a><!-- doxytag: member="vtkQtTableView::SetItemView" ref="8307aa7f74d54f2d972f461429620ca2" args="(QAbstractItemView *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtTableView::SetItemView </td> <td>(</td> <td class="paramtype">QAbstractItemView * </td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the underlying Qt view. <p>Reimplemented from <a class="el" href="a01399.html#5e18c0f9ca55a50af0dacc55029ed4c1">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="fda01b10694f9485310c3739801b1d3c"></a><!-- doxytag: member="vtkQtTableView::SetItemModelAdapter" ref="fda01b10694f9485310c3739801b1d3c" args="(vtkQtAbstractModelAdapter *qma)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkQtTableView::SetItemModelAdapter </td> <td>(</td> <td class="paramtype"><a class="el" href="a01330.html">vtkQtAbstractModelAdapter</a> * </td> <td class="paramname"> <em>qma</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the underlying Qt model adapter. <p>Reimplemented from <a class="el" href="a01399.html#6e9680a70b2dbc6a8f3d59a2a96a806e">vtkQtItemView</a>.</p> </div> </div><p> <a class="anchor" name="707e15b4651adbbaadc0f3a38c24e9aa"></a><!-- doxytag: member="vtkQtTableView::GetVTKTable" ref="707e15b4651adbbaadc0f3a38c24e9aa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a01657.html">vtkTable</a>* vtkQtTableView::GetVTKTable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the underlying <a class="el" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/GUISupport/Qt/<a class="el" href="a04592.html">vtkQtTableView.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:29:17 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>