11 #include <Wt/WContainerWidget.h>
12 #include <Wt/WTreeView.h>
13 #include <Wt/WStandardItemModel.h>
29 const std::string& examplesRoot,
30 const std::string& examplesType);
40 std::shared_ptr<WStandardItemModel>
model_;
43 const boost::filesystem::path& path);
45 const boost::filesystem::path& path);
47 const boost::filesystem::path& srcPath,
48 const std::string packageName);
54 void handlePathChange();
56 void setExample(
const std::string& exampleDir,
57 const std::string& example);
A simple widget to visualise a set of example source files.
std::shared_ptr< WStandardItemModel > model_
std::string examplesType_
std::string examplesRoot_
View class for source code.