Project

General

Profile

Bug #5468 ยป 0004-Place-ItemDataRole-enum-in-namespace.patch

Bruce Toll, 01/02/2017 07:36 AM

View differences:

src/Wt/Chart/WScatterData
*/
int ZSeriesColumn() const { return ZSeriesColumn_; }
#ifndef WT_TARGET_JAVA
//#ifndef WT_TARGET_JAVA
#if 0
/*! \brief Configure a column in the model to be used for the color of the
* points.
*
......
int ZSeriesColumn_;
int colorColumn_;
#ifndef WT_TARGET_JAVA
//#ifndef WT_TARGET_JAVA
#if 0
ItemDataRole asColorRole_;
ItemDataRole asSizeRole_;
#else
src/Wt/Chart/WScatterData.C
{
}
#ifndef WT_TARGET_JAVA
//#ifndef WT_TARGET_JAVA
#if 0
void WScatterData::setColorColumn(int columnNumber, ItemDataRole role)
{
colorColumn_ = columnNumber;
src/Wt/WModelIndex
*
* \ingroup modelview
*/
enum ItemDataRole {
namespace ItemDataRole {
enum ItemDataRole : int {
Display = 0, //!< Role for textual representation
Decoration = 1, //!< Role for the url of an icon
Edit = 2, //!< Role for the edited value
......
User = 32 //!< First role reserved for user purposes
};
}
/*! \brief Flags that indicate data item options
*
    (1-1/1)