#include "WSampleWidget.h"
#include <Wt/WPushButton.h>
#include <Wt/WGridLayout.h>
#include <Wt/WVBoxLayout.h>
#include <Wt/WImage.h>
#include <Wt/WLabel.h>
#include <Wt/WCssDecorationStyle.h>
#include <Platform.h>
Go to the source code of this file.
◆ DECLARE_PERIDYNO_SAMPLE
#define DECLARE_PERIDYNO_SAMPLE |
( |
| NAME | ) |
|
Value: class NAME :
public Sample { \
public:\
std::string
name()
const {
return #NAME;};\
std::string
thumbnail()
const {
return std::string(
"samples/") + #NAME +
".jpg";};\
std::string
source()
const {
return getAssetPath() + std::string(
"python_web_sample/") + #NAME +
".py";};\
};
virtual std::string name() const =0
virtual std::string thumbnail() const
virtual std::string source() const =0
Definition at line 12 of file WSampleWidget.cpp.
◆ _createItem()
Wt::WContainerWidget * _createItem |
( |
Sample * | sample | ) |
|