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 628 of file TreeViewDragDrop.C.

00629 {
00630   WApplication *app = new TreeViewDragDrop(env);
00631   app->setTwoPhaseRenderingThreshold(0);
00632   app->setTitle("WTreeView Drag & Drop");
00633   app->useStyleSheet("styles.css");
00634   app->messageResourceBundle().use("about");
00635   app->refresh();
00636   
00637   return app;
00638 }

int main ( int  argc,
char **  argv 
)

Definition at line 640 of file TreeViewDragDrop.C.

00641 {
00642   return WRun(argc, argv, &createApplication);
00643 }


Variable Documentation

Date display format.

Definition at line 66 of file TreeViewDragDrop.C.

WString FileModel::dateEditFormat [static, inherited]

Date edit format.

Definition at line 69 of file TreeViewDragDrop.C.


Generated on Thu May 20 18:14:56 2010 for Wt by doxygen 1.5.6