-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathWAbstractItemDelegate.C
More file actions
44 lines (34 loc) · 927 Bytes
/
WAbstractItemDelegate.C
File metadata and controls
44 lines (34 loc) · 927 Bytes
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
44
/*
* Copyright (C) 2009 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#include "Wt/WAbstractItemDelegate.h"
namespace Wt {
WAbstractItemDelegate::WAbstractItemDelegate()
{ }
WAbstractItemDelegate::~WAbstractItemDelegate()
{ }
void WAbstractItemDelegate::updateModelIndex(WWidget *widget,
const WModelIndex& index)
{ }
cpp17::any WAbstractItemDelegate::editState(WWidget *widget,
const WModelIndex& index) const
{
return cpp17::any();
}
void WAbstractItemDelegate::setEditState(WWidget *widget,
const WModelIndex& index,
const cpp17::any& value) const
{ }
void WAbstractItemDelegate::setModelData(const cpp17::any& editState,
WAbstractItemModel *model,
const WModelIndex& index) const
{ }
ValidationState WAbstractItemDelegate::validate(const WModelIndex& index,
const cpp17::any& editState)
const
{
return ValidationState::Valid;
}
}