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  FileView
 A specialized WTreeView that support editing using a WDialog box. 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 547 of file TreeViewDragDrop.C.

00548 {
00549   WApplication *app = new TreeViewDragDrop(env);
00550   app->setTitle("WTreeView Drag & Drop");
00551   app->useStyleSheet("styles.css");
00552   app->messageResourceBundle().use("about");
00553   app->refresh();
00554   
00555   return app;
00556 }

int main ( int  argc,
char **  argv 
)

Definition at line 558 of file TreeViewDragDrop.C.

00559 {
00560   return WRun(argc, argv, &createApplication);
00561 }


Variable Documentation

Date display format.

Definition at line 61 of file TreeViewDragDrop.C.

WString FileModel::dateEditFormat [static, inherited]

Date edit format.

Definition at line 64 of file TreeViewDragDrop.C.


Generated on Mon Jan 26 14:14:20 2009 for Wt by doxygen 1.5.6