Wt examples  3.3.0
Classes | Functions | Variables
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 643 of file TreeViewDragDrop.C.

{
  WApplication *app = new TreeViewDragDrop(env);
  app->setTwoPhaseRenderingThreshold(0);
  app->setTitle("WTreeView Drag & Drop");
  app->useStyleSheet("styles.css");
  app->messageResourceBundle().use(WApplication::appRoot() + "about");
  app->refresh();
  
  return app;
}
int main ( int  argc,
char **  argv 
)

Definition at line 655 of file TreeViewDragDrop.C.

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

Variable Documentation

Date display format.

Definition at line 66 of file TreeViewDragDrop.C.

Date edit format.

Definition at line 69 of file TreeViewDragDrop.C.


Generated on Mon Apr 8 2013 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1