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

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

int main ( int  argc,
char **  argv 
)

Definition at line 633 of file TreeViewDragDrop.C.

00634 {
00635   return WRun(argc, argv, &createApplication);
00636 }


Variable Documentation

Date display format.

Definition at line 65 of file TreeViewDragDrop.C.

WString FileModel::dateEditFormat [static, inherited]

Date edit format.

Definition at line 68 of file TreeViewDragDrop.C.


Generated on Tue Nov 3 15:34:40 2009 for Wt by doxygen 1.5.6