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

00584 {
00585   WApplication *app = new TreeViewDragDrop(env);
00586   app->setTwoPhaseRenderingThreshold(0);
00587   app->setTitle("WTreeView Drag & Drop");
00588   app->useStyleSheet("styles.css");
00589   app->messageResourceBundle().use("about");
00590   app->refresh();
00591   
00592   return app;
00593 }

int main ( int  argc,
char **  argv 
)

Definition at line 595 of file TreeViewDragDrop.C.

00596 {
00597   return WRun(argc, argv, &createApplication);
00598 }


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 Mon Mar 9 08:28:56 2009 for Wt by doxygen 1.5.6