Drag and drop in WTreeView example

Classes

class  FolderView
 A specialized treeview that supports a custom drop event. More...
class  FileModel
 A specialized standard item model which report a specific drag and drop mime type. More...
class  FileEditDialog
 A dialog for editing a 'file'. More...
class  TreeViewDragDrop
 Main application class. More...

Functions

WApplicationcreateApplication (const WEnvironment &env)
int main (int argc, char **argv)

Variables

static WString FileModel::dateDisplayFormat
 Date display format.
static WString FileModel::dateEditFormat
 Date edit format.

Function Documentation

WApplication* createApplication ( const WEnvironment env  ) 

Definition at line 619 of file TreeViewDragDrop.C.

00620 {
00621   WApplication *app = new TreeViewDragDrop(env);
00622   app->setTwoPhaseRenderingThreshold(0);
00623   app->setTitle("WTreeView Drag & Drop");
00624   app->useStyleSheet("styles.css");
00625   app->messageResourceBundle().use("about");
00626   app->refresh();
00627   
00628   return app;
00629 }

int main ( int  argc,
char **  argv 
)

Definition at line 631 of file TreeViewDragDrop.C.

00632 {
00633   return WRun(argc, argv, &createApplication);
00634 }


Variable Documentation

Date display format.

Definition at line 64 of file TreeViewDragDrop.C.

WString FileModel::dateEditFormat [static, inherited]

Date edit format.

Definition at line 67 of file TreeViewDragDrop.C.


Generated on Thu May 13 05:16:00 2010 for Wt by doxygen 1.6.3