Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 1557

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_40d5433a939a2ec1fc553e92296180ad.html">qtui</a>
  </div>
</div>
<div class="contents">
<h1>PickTableBase.cpp</h1><a href="PickTableBase_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">** Form implementation generated from reading ui file &#39;PickTableBase.ui&#39;</span>
<a name="l00003"></a>00003 <span class="comment">**</span>
<a name="l00004"></a>00004 <span class="comment">** Created by User Interface Compiler</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** WARNING! All changes made in this file will be lost!</span>
<a name="l00007"></a>00007 <span class="comment">****************************************************************************/</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="PickTableBase_8h.html" title="The file created from PickTableBase.ui with the Qt uic tool.">PickTableBase.h</a>&quot;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;qvariant.h&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;qlabel.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;qpushbutton.h&gt;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;qheader.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;qlistview.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;qcheckbox.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;qlineedit.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;qlayout.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;qtooltip.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;qwhatsthis.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;qimage.h&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;qpixmap.h&gt;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a><a class="code" href="PickTableBase_8cpp.html#aa8b62ee6c6995faa8cd7f6e33e93b888">00024</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="PickTableBase_8cpp.html#aa8b62ee6c6995faa8cd7f6e33e93b888">image0_data</a>[] = { 
<a name="l00025"></a>00025 <span class="stringliteral">&quot;48 48 6 1&quot;</span>,
<a name="l00026"></a>00026 <span class="stringliteral">&quot;. c None&quot;</span>,
<a name="l00027"></a>00027 <span class="stringliteral">&quot;b c #0000f6&quot;</span>,
<a name="l00028"></a>00028 <span class="stringliteral">&quot;# c #525052&quot;</span>,
<a name="l00029"></a>00029 <span class="stringliteral">&quot;d c #a4a1a4&quot;</span>,
<a name="l00030"></a>00030 <span class="stringliteral">&quot;c c #f60000&quot;</span>,
<a name="l00031"></a>00031 <span class="stringliteral">&quot;a c #f6f2f6&quot;</span>,
<a name="l00032"></a>00032 <span class="stringliteral">&quot;................................................&quot;</span>,
<a name="l00033"></a>00033 <span class="stringliteral">&quot;....#..............##....#..#...##.#............&quot;</span>,
<a name="l00034"></a>00034 <span class="stringliteral">&quot;..#..#...............#.#.#..#.#....##...........&quot;</span>,
<a name="l00035"></a>00035 <span class="stringliteral">&quot;.............................#..................&quot;</span>,
<a name="l00036"></a>00036 <span class="stringliteral">&quot;................................................&quot;</span>,
<a name="l00037"></a>00037 <span class="stringliteral">&quot;..##............................................&quot;</span>,
<a name="l00038"></a>00038 <span class="stringliteral">&quot;.#.....aaaa.aaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00039"></a>00039 <span class="stringliteral">&quot;...#...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00040"></a>00040 <span class="stringliteral">&quot;.......aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00041"></a>00041 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00042"></a>00042 <span class="stringliteral">&quot;.......aaaaaaaaaa..aabbbbbbbbbbaaaabbbbbbbbbba..&quot;</span>,
<a name="l00043"></a>00043 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaabbbbbbaaaaaaaabbbbbbaaa..&quot;</span>,
<a name="l00044"></a>00044 <span class="stringliteral">&quot;....#..aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00045"></a>00045 <span class="stringliteral">&quot;.#.....aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00046"></a>00046 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00047"></a>00047 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00048"></a>00048 <span class="stringliteral">&quot;.........aaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaa....&quot;</span>,
<a name="l00049"></a>00049 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00050"></a>00050 <span class="stringliteral">&quot;.......aaaaaaaaaa..aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00051"></a>00051 <span class="stringliteral">&quot;.......aaaaaaaaa...aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00052"></a>00052 <span class="stringliteral">&quot;...#...aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00053"></a>00053 <span class="stringliteral">&quot;....#..aaaaaaaaa.c.aaaaabbbbbbbbbbbbbbbbbbaaaa..&quot;</span>,
<a name="l00054"></a>00054 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00055"></a>00055 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00056"></a>00056 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00057"></a>00057 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00058"></a>00058 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00059"></a>00059 <span class="stringliteral">&quot;.......aaaaaaaaa.c.aaaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00060"></a>00060 <span class="stringliteral">&quot;.#.#...aaaaaaaaa.c..aaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00061"></a>00061 <span class="stringliteral">&quot;.........aaaaaaa.cc.aaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00062"></a>00062 <span class="stringliteral">&quot;.......aaaaaaaaa.cc.aaaabbbbaaaaaaaaaabbbbaa....&quot;</span>,
<a name="l00063"></a>00063 <span class="stringliteral">&quot;.......aaaaaaaaa.cc.aaaabbbbaaaaaaaaaabbbbaaaa..&quot;</span>,
<a name="l00064"></a>00064 <span class="stringliteral">&quot;.......aaaaaaaaa.cc.aaabbbbbbaaaaaaaabbbbbbaaa..&quot;</span>,
<a name="l00065"></a>00065 <span class="stringliteral">&quot;.......aaaaaaaaa.cc.abbbbbbbbbbaaaabbbbbbbbbba..&quot;</span>,
<a name="l00066"></a>00066 <span class="stringliteral">&quot;.......aaaaaaaa..cc.aaaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00067"></a>00067 <span class="stringliteral">&quot;.#.....aaaaaaaa.ccc..aaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00068"></a>00068 <span class="stringliteral">&quot;.......aaaaaaaa.cccc.aaaaaaaaaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00069"></a>00069 <span class="stringliteral">&quot;.......aaaaaaa..cccc.aaaaaa.aaaaaaaaaaaaaaaaaa..&quot;</span>,
<a name="l00070"></a>00070 <span class="stringliteral">&quot;.......aaaaaaa.ccccc..aaaaa.aaaaaaaaaaaaaa.aaa..&quot;</span>,
<a name="l00071"></a>00071 <span class="stringliteral">&quot;.......aaaaaa..cccccc..aaaa..aaaa.aaaaa..a.aaa..&quot;</span>,
<a name="l00072"></a>00072 <span class="stringliteral">&quot;.......aaaa...ccccccc..a..a....aa..aa.a..a.a.a..&quot;</span>,
<a name="l00073"></a>00073 <span class="stringliteral">&quot;.......aa....ccccccccc.......d...............a..&quot;</span>,
<a name="l00074"></a>00074 <span class="stringliteral">&quot;.#..............................................&quot;</span>,
<a name="l00075"></a>00075 <span class="stringliteral">&quot;.....#........#.......#.#..............#.#......&quot;</span>,
<a name="l00076"></a>00076 <span class="stringliteral">&quot;...#.#..........................................&quot;</span>,
<a name="l00077"></a>00077 <span class="stringliteral">&quot;................................................&quot;</span>,
<a name="l00078"></a>00078 <span class="stringliteral">&quot;................................................&quot;</span>,
<a name="l00079"></a>00079 <span class="stringliteral">&quot;................................................&quot;</span>};
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="comment">/*</span>
<a name="l00083"></a>00083 <span class="comment"> *  Constructs a PickTableBase as a child of &#39;parent&#39;, with the</span>
<a name="l00084"></a>00084 <span class="comment"> *  name &#39;name&#39; and widget flags set to &#39;f&#39;.</span>
<a name="l00085"></a>00085 <span class="comment"> *</span>
<a name="l00086"></a>00086 <span class="comment"> *  The dialog will by default be modeless, unless you set &#39;modal&#39; to</span>
<a name="l00087"></a>00087 <span class="comment"> *  TRUE to construct a modal dialog.</span>
<a name="l00088"></a>00088 <span class="comment"> */</span>
<a name="l00089"></a><a class="code" href="classPickTableBase.html#a35ded9da76ee2695094c5306f9d05ed8">00089</a> <a class="code" href="classPickTableBase.html#a35ded9da76ee2695094c5306f9d05ed8">PickTableBase::PickTableBase</a>( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qwidget.html">QWidget</a>* parent, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">bool</span> modal, WFlags fl )
<a name="l00090"></a>00090     : <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdialog.html">QDialog</a>( parent, name, modal, fl ),
<a name="l00091"></a>00091       image0( (const char **) <a class="code" href="PickTableBase_8cpp.html#aa8b62ee6c6995faa8cd7f6e33e93b888">image0_data</a> )
<a name="l00092"></a>00092 {
<a name="l00093"></a>00093     <span class="keywordflow">if</span> ( !name )
<a name="l00094"></a>00094         setName( <span class="stringliteral">&quot;PickTableBase&quot;</span> );
<a name="l00095"></a>00095     setIcon( <a class="code" href="classPickTableBase.html#a79d05c1373b30f1cf324abebc7b54759">image0</a> );
<a name="l00096"></a>00096 
<a name="l00097"></a>00097     <a class="code" href="classPickTableBase.html#a53db15e0f8931fc4bc72bc9ef4d76268">m_type</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlabel.html">QLabel</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_type&quot;</span> );
<a name="l00098"></a>00098     <a class="code" href="classPickTableBase.html#a53db15e0f8931fc4bc72bc9ef4d76268">m_type</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 207, 11, 302, 16 ) );
<a name="l00099"></a>00099 
<a name="l00100"></a>00100     <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html">QPushButton</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_clear&quot;</span> );
<a name="l00101"></a>00101     <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 317, 365, 80, 32 ) );
<a name="l00102"></a>00102 
<a name="l00103"></a>00103     <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html">QPushButton</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_delete&quot;</span> );
<a name="l00104"></a>00104     <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 403, 365, 106, 32 ) );
<a name="l00105"></a>00105 
<a name="l00106"></a>00106     <a class="code" href="classPickTableBase.html#ad3e69295952790beef96a1d5bb44b0c5">m_title</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlabel.html">QLabel</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_title&quot;</span> );
<a name="l00107"></a>00107     <a class="code" href="classPickTableBase.html#ad3e69295952790beef96a1d5bb44b0c5">m_title</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 11, 11, 190, 16 ) );
<a name="l00108"></a>00108 
<a name="l00109"></a>00109     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html">QListView</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_pick_table&quot;</span> );
<a name="l00110"></a>00110     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#addColumn">addColumn</a>( tr( <span class="stringliteral">&quot;Item number&quot;</span> ) );
<a name="l00111"></a>00111     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#addColumn">addColumn</a>( tr( <span class="stringliteral">&quot;X Value&quot;</span> ) );
<a name="l00112"></a>00112     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#addColumn">addColumn</a>( tr( <span class="stringliteral">&quot;Y Value&quot;</span> ) );
<a name="l00113"></a>00113     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#addColumn">addColumn</a>( tr( <span class="stringliteral">&quot;Z Value&quot;</span> ) );
<a name="l00114"></a>00114     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 11, 33, 498, 290 ) );
<a name="l00115"></a>00115     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#setAllColumnsShowFocus">setAllColumnsShowFocus</a>( TRUE );
<a name="l00116"></a>00116     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#setShowSortIndicator">setShowSortIndicator</a>( TRUE );
<a name="l00117"></a>00117     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#setItemMargin">setItemMargin</a>( 2 );
<a name="l00118"></a>00118     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#setResizeMode">setResizeMode</a>( QListView::AllColumns );
<a name="l00119"></a>00119     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#setTreeStepSize">setTreeStepSize</a>( 30 );
<a name="l00120"></a>00120 
<a name="l00121"></a>00121     <a class="code" href="classPickTableBase.html#a0bd4730e985fa825bc6f3100b9d1790c">m_pickedCheckBox</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qcheckbox.html">QCheckBox</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_pickedCheckBox&quot;</span> );
<a name="l00122"></a>00122     <a class="code" href="classPickTableBase.html#a0bd4730e985fa825bc6f3100b9d1790c">m_pickedCheckBox</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 10, 360, 150, 31 ) );
<a name="l00123"></a>00123     <a class="code" href="classPickTableBase.html#a0bd4730e985fa825bc6f3100b9d1790c">m_pickedCheckBox</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qcheckbox.html#setChecked">setChecked</a>( TRUE );
<a name="l00124"></a>00124 
<a name="l00125"></a>00125     <a class="code" href="classPickTableBase.html#a03cf734f6377b88128b17ce07245e5c4">xLineEdit</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlineedit.html">QLineEdit</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;xLineEdit&quot;</span> );
<a name="l00126"></a>00126     <a class="code" href="classPickTableBase.html#a03cf734f6377b88128b17ce07245e5c4">xLineEdit</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 111, 331, 90, 24 ) );
<a name="l00127"></a>00127     <a class="code" href="classPickTableBase.html#a03cf734f6377b88128b17ce07245e5c4">xLineEdit</a>-&gt;setFrameShape( QLineEdit::LineEditPanel );
<a name="l00128"></a>00128     <a class="code" href="classPickTableBase.html#a03cf734f6377b88128b17ce07245e5c4">xLineEdit</a>-&gt;setFrameShadow( QLineEdit::Sunken );
<a name="l00129"></a>00129 
<a name="l00130"></a>00130     <a class="code" href="classPickTableBase.html#a8428233c73b5ac13850c7c055a1fcc6e">yLineEdit</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlineedit.html">QLineEdit</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;yLineEdit&quot;</span> );
<a name="l00131"></a>00131     <a class="code" href="classPickTableBase.html#a8428233c73b5ac13850c7c055a1fcc6e">yLineEdit</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 207, 331, 90, 24 ) );
<a name="l00132"></a>00132 
<a name="l00133"></a>00133     <a class="code" href="classPickTableBase.html#a14cc19511d4396c7fe56b36f8074501f">zLineEdit</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlineedit.html">QLineEdit</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;zLineEdit&quot;</span> );
<a name="l00134"></a>00134     <a class="code" href="classPickTableBase.html#a14cc19511d4396c7fe56b36f8074501f">zLineEdit</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 303, 331, 90, 24 ) );
<a name="l00135"></a>00135 
<a name="l00136"></a>00136     <a class="code" href="classPickTableBase.html#a8ede3cf3f8181ef1f9fe1e970e245cd4">wLineEdit</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlineedit.html">QLineEdit</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;wLineEdit&quot;</span> );
<a name="l00137"></a>00137     <a class="code" href="classPickTableBase.html#a8ede3cf3f8181ef1f9fe1e970e245cd4">wLineEdit</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 399, 331, 90, 24 ) );
<a name="l00138"></a>00138 
<a name="l00139"></a>00139     <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html">QPushButton</a>( <span class="keyword">this</span>, <span class="stringliteral">&quot;m_add_entry&quot;</span> );
<a name="l00140"></a>00140     <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a>-&gt;setGeometry( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qrect.html">QRect</a>( 10, 331, 80, 25 ) );
<a name="l00141"></a>00141     <a class="code" href="classPickTableBase.html#af3fc56c2e83ab6bdbeb79d4335bd0a81">languageChange</a>();
<a name="l00142"></a>00142     resize( <a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qsize.html">QSize</a>(520, 406).expandedTo(minimumSizeHint()) );
<a name="l00143"></a>00143     clearWState( WState_Polished );
<a name="l00144"></a>00144 
<a name="l00145"></a>00145     <span class="comment">// signals and slots connections</span>
<a name="l00146"></a>00146     connect( <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classPickTableBase.html#a5eeb94d22b8366d1b68d0614384802fe">clear</a>() ) );
<a name="l00147"></a>00147     connect( <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classPickTableBase.html#a4930c2d85bbf5058703c7255eef45b52">deleteSelectedItem</a>() ) );
<a name="l00148"></a>00148     connect( <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>, SIGNAL( selectionChanged() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classPickTableBase.html#a76c501016cf60c41faffa5e4feceae2f">m_pick_table_selectionChanged</a>() ) );
<a name="l00149"></a>00149     connect( <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classPickTableBase.html#a7ee9356da271073a44d876ed4aa74a63">addEntry</a>() ) );
<a name="l00150"></a>00150     connect( <a class="code" href="classPickTableBase.html#a0bd4730e985fa825bc6f3100b9d1790c">m_pickedCheckBox</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classPickTableBase.html#a42e780747e19af06fe3c1a6bc668535e">pickedCheckBoxClicked</a>() ) );
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <span class="comment">// tab order</span>
<a name="l00153"></a>00153     setTabOrder( <a class="code" href="classPickTableBase.html#a03cf734f6377b88128b17ce07245e5c4">xLineEdit</a>, <a class="code" href="classPickTableBase.html#a8428233c73b5ac13850c7c055a1fcc6e">yLineEdit</a> );
<a name="l00154"></a>00154     setTabOrder( <a class="code" href="classPickTableBase.html#a8428233c73b5ac13850c7c055a1fcc6e">yLineEdit</a>, <a class="code" href="classPickTableBase.html#a14cc19511d4396c7fe56b36f8074501f">zLineEdit</a> );
<a name="l00155"></a>00155     setTabOrder( <a class="code" href="classPickTableBase.html#a14cc19511d4396c7fe56b36f8074501f">zLineEdit</a>, <a class="code" href="classPickTableBase.html#a8ede3cf3f8181ef1f9fe1e970e245cd4">wLineEdit</a> );
<a name="l00156"></a>00156     setTabOrder( <a class="code" href="classPickTableBase.html#a8ede3cf3f8181ef1f9fe1e970e245cd4">wLineEdit</a>, <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a> );
<a name="l00157"></a>00157     setTabOrder( <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a>, <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a> );
<a name="l00158"></a>00158     setTabOrder( <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a>, <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a> );
<a name="l00159"></a>00159     setTabOrder( <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a>, <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a> );
<a name="l00160"></a>00160 }
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 <span class="comment">/*</span>
<a name="l00163"></a>00163 <span class="comment"> *  Destroys the object and frees any allocated resources</span>
<a name="l00164"></a>00164 <span class="comment"> */</span>
<a name="l00165"></a><a class="code" href="classPickTableBase.html#a79280040b609c37c78a783b79b364cb8">00165</a> <a class="code" href="classPickTableBase.html#a79280040b609c37c78a783b79b364cb8">PickTableBase::~PickTableBase</a>()
<a name="l00166"></a>00166 {
<a name="l00167"></a>00167     <span class="comment">// no need to delete child widgets, Qt does it all for us</span>
<a name="l00168"></a>00168 }
<a name="l00169"></a>00169 
<a name="l00170"></a>00170 <span class="comment">/*</span>
<a name="l00171"></a>00171 <span class="comment"> *  Sets the strings of the subwidgets using the current</span>
<a name="l00172"></a>00172 <span class="comment"> *  language.</span>
<a name="l00173"></a>00173 <span class="comment"> */</span>
<a name="l00174"></a><a class="code" href="classPickTableBase.html#af3fc56c2e83ab6bdbeb79d4335bd0a81">00174</a> <span class="keywordtype">void</span> <a class="code" href="classPickTableBase.html#af3fc56c2e83ab6bdbeb79d4335bd0a81">PickTableBase::languageChange</a>()
<a name="l00175"></a>00175 {
<a name="l00176"></a>00176     setCaption( tr( <span class="stringliteral">&quot;Pick table&quot;</span> ) );
<a name="l00177"></a>00177     <a class="code" href="classPickTableBase.html#a53db15e0f8931fc4bc72bc9ef4d76268">m_type</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlabel.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Plot Type&quot;</span> ) );
<a name="l00178"></a>00178     <a class="code" href="classPickTableBase.html#afbc603c82d191279aa313e7a0d51e1cd">m_clear</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Clear&quot;</span> ) );
<a name="l00179"></a>00179     <a class="code" href="classPickTableBase.html#ab76649ab903a44ddc27cbb49c1e8592e">m_delete</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Delete selected&quot;</span> ) );
<a name="l00180"></a>00180     <a class="code" href="classPickTableBase.html#ad3e69295952790beef96a1d5bb44b0c5">m_title</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlabel.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Plot Title&quot;</span> ) );
<a name="l00181"></a>00181     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#header">header</a>()-&gt;setLabel( 0, tr( <span class="stringliteral">&quot;Item number&quot;</span> ) );
<a name="l00182"></a>00182     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#header">header</a>()-&gt;setLabel( 1, tr( <span class="stringliteral">&quot;X Value&quot;</span> ) );
<a name="l00183"></a>00183     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#header">header</a>()-&gt;setLabel( 2, tr( <span class="stringliteral">&quot;Y Value&quot;</span> ) );
<a name="l00184"></a>00184     <a class="code" href="classPickTableBase.html#ae156d78c4be6983c3c9119d3fab17c4b">m_pick_table</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qlistview.html#header">header</a>()-&gt;setLabel( 3, tr( <span class="stringliteral">&quot;Z Value&quot;</span> ) );
<a name="l00185"></a>00185     <a class="code" href="classPickTableBase.html#a0bd4730e985fa825bc6f3100b9d1790c">m_pickedCheckBox</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qcheckbox.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Show picked points&quot;</span> ) );
<a name="l00186"></a>00186     <a class="code" href="classPickTableBase.html#a183c0f049a67dd47d4aad31d845f45f7">m_add_entry</a>-&gt;<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qpushbutton.html#setText">setText</a>( tr( <span class="stringliteral">&quot;Add entry&quot;</span> ) );
<a name="l00187"></a>00187 }
<a name="l00188"></a>00188 
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>