Wt examples  3.3.6
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

WApplication * createApplication (const WEnvironment &env)
 
int main (int argc, char **argv)
 

Variables

static WString FileModel::dateDisplayFormat
 Date display format. More...
 
static WString FileModel::dateEditFormat
 Date edit format. More...
 

Detailed Description

Function Documentation

§ createApplication()

WApplication* createApplication ( const WEnvironment &  env)

Definition at line 651 of file TreeViewDragDrop.C.

652 {
653  WApplication *app = new TreeViewDragDrop(env);
654  app->setTwoPhaseRenderingThreshold(0);
655  app->setTitle("WTreeView Drag & Drop");
656  app->useStyleSheet("styles.css");
657  app->messageResourceBundle().use(WApplication::appRoot() + "about");
658  app->refresh();
659 
660  return app;
661 }
Main application class.

§ main()

int main ( int  argc,
char **  argv 
)

Definition at line 663 of file TreeViewDragDrop.C.

664 {
665  return WRun(argc, argv, &createApplication);
666 }
WApplication * createApplication(const WEnvironment &env)

Variable Documentation

§ dateDisplayFormat

WString FileModel::dateDisplayFormat
static

Date display format.

Definition at line 66 of file TreeViewDragDrop.C.

§ dateEditFormat

WString FileModel::dateEditFormat
static

Date edit format.

Definition at line 69 of file TreeViewDragDrop.C.


Generated on Thu Jan 12 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.12