File: group__treeviewdragdrop.html

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (184 lines) | stat: -rw-r--r-- 11,028 bytes parent folder | download
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt examples: Drag and drop in WTreeView example</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt examples
   &#160;<span id="projectnumber">3.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Drag and drop in WTreeView example</div>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFolderView.html">FolderView</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A specialized treeview that supports a custom drop event.  <a href="classFolderView.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileModel.html">FileModel</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A specialized standard item model which report a specific drag and drop mime type.  <a href="classFileModel.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileEditDialog.html">FileEditDialog</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A dialog for editing a 'file'.  <a href="classFileEditDialog.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTreeViewDragDrop.html">TreeViewDragDrop</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Main application class.  <a href="classTreeViewDragDrop.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html">WApplication</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#gacb337c09cd35644b56da8b0e5bb17b9c">createApplication</a> (const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WEnvironment.html">WEnvironment</a> &amp;env)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#ga3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#gaf69754b77374aac3aa0eed57360fbb7f">FileModel::dateDisplayFormat</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Date display format.  <a href="#gaf69754b77374aac3aa0eed57360fbb7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__treeviewdragdrop.html#ga7bb540f8c352707933d4bd36c8282aba">FileModel::dateEditFormat</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Date edit format.  <a href="#ga7bb540f8c352707933d4bd36c8282aba"></a><br/></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gacb337c09cd35644b56da8b0e5bb17b9c"></a><!-- doxytag: member="TreeViewDragDrop.C::createApplication" ref="gacb337c09cd35644b56da8b0e5bb17b9c" args="(const WEnvironment &amp;env)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html">WApplication</a>* createApplication </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WEnvironment.html">WEnvironment</a> &amp;&#160;</td>
          <td class="paramname"><em>env</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00642">642</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html">WApplication</a> *app = <span class="keyword">new</span> <a class="code" href="classTreeViewDragDrop.html" title="Main application class.">TreeViewDragDrop</a>(env);
  app-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html#a63d991e268c9af8898329217a1242563">setTwoPhaseRenderingThreshold</a>(0);
  app-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html#a71a3f7da5abb9a76df94fab69ba61670">setTitle</a>(<span class="stringliteral">&quot;WTreeView Drag &amp; Drop&quot;</span>);
  app-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html#af377d541443b4bcea5fcc40be7c70173">useStyleSheet</a>(<span class="stringliteral">&quot;styles.css&quot;</span>);
  app-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html#a4f304244f6bc75be6cd5f41798ea5e2e">messageResourceBundle</a>().<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WMessageResourceBundle.html#a01368946b2a2aaceab3a64cddb1cb1e2">use</a>(WApplication::appRoot() + <span class="stringliteral">&quot;about&quot;</span>);
  app-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WApplication.html#a02b9d8aa1b6c2d0dc9edc1b9c63f86dc">refresh</a>();
  
  <span class="keywordflow">return</span> app;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ga3c04138a5bfe5d72780bb7e82a18e627"></a><!-- doxytag: member="TreeViewDragDrop.C::main" ref="ga3c04138a5bfe5d72780bb7e82a18e627" args="(int argc, char **argv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00654">654</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> WRun(argc, argv, &amp;<a class="code" href="ComposeExample_8C.html#acb337c09cd35644b56da8b0e5bb17b9c">createApplication</a>);
}
</pre></div>
</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="gaf69754b77374aac3aa0eed57360fbb7f"></a><!-- doxytag: member="FileModel::dateDisplayFormat" ref="gaf69754b77374aac3aa0eed57360fbb7f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> <a class="el" href="group__treeviewdragdrop.html#gaf69754b77374aac3aa0eed57360fbb7f">FileModel::dateDisplayFormat</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Date display format. </p>

<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00066">66</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>

</div>
</div>
<a class="anchor" id="ga7bb540f8c352707933d4bd36c8282aba"></a><!-- doxytag: member="FileModel::dateEditFormat" ref="ga7bb540f8c352707933d4bd36c8282aba" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> <a class="el" href="group__treeviewdragdrop.html#ga7bb540f8c352707933d4bd36c8282aba">FileModel::dateEditFormat</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Date edit format. </p>

<p>Definition at line <a class="el" href="TreeViewDragDrop_8C_source.html#l00069">69</a> of file <a class="el" href="TreeViewDragDrop_8C_source.html">TreeViewDragDrop.C</a>.</p>

</div>
</div>
</div>
<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Fri Mar 30 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>