-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathStdWidgetItemImpl.h
More file actions
43 lines (33 loc) · 1.05 KB
/
StdWidgetItemImpl.h
File metadata and controls
43 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef STD_WIDGET_ITEM_IMPL_H_
#define STD_WIDGET_ITEM_IMPL_H_
#include "StdLayoutItemImpl.h"
#include "Wt/WWidgetItemImpl.h"
namespace Wt {
class StdWidgetItemImpl : public StdLayoutItemImpl, public WWidgetItemImpl
{
public:
StdWidgetItemImpl(WWidgetItem *item);
virtual ~StdWidgetItemImpl();
static const char *childrenResizeJS();
static const char *childrenGetPSJS();
static const char *secondResizeJS();
static const char *secondGetPSJS();
const std::string id() const override;
int minimumHeight() const override;
int minimumWidth() const override;
int maximumHeight() const override;
int maximumWidth() const override;
WLayoutItem *layoutItem() const override;
DomElement *createDomElement(DomElement *parent, bool fitWidth,
bool fitHeight, WApplication *app) override;
private:
WWidgetItem *item_;
};
}
#endif // STD_WIDGET_ITEM_IMPL_H_