#include <xmlRpcItemDelegate.h>
Public Slots | |
void | setDoubleDecimals (unsigned int decs) |
Public Member Functions | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
QString | displayText (const QVariant &value, const QLocale &locale) const |
unsigned int | getDoubleDecimals () const |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
XmlRpcItemDelegate (QObject *parent=NULL) | |
~XmlRpcItemDelegate () | |
Protected Attributes | |
unsigned int | doubleDecimals |
Definition at line 34 of file xmlRpcItemDelegate.h.
XmlRpcItemDelegate::XmlRpcItemDelegate | ( | QObject * | parent = NULL | ) |
Definition at line 37 of file xmlRpcItemDelegate.cpp.
Definition at line 42 of file xmlRpcItemDelegate.cpp.
QWidget * XmlRpcItemDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 46 of file xmlRpcItemDelegate.cpp.
QString XmlRpcItemDelegate::displayText | ( | const QVariant & | value, |
const QLocale & | locale | ||
) | const |
Definition at line 86 of file xmlRpcItemDelegate.cpp.
unsigned int XmlRpcItemDelegate::getDoubleDecimals | ( | ) | const [inline] |
Definition at line 52 of file xmlRpcItemDelegate.h.
void XmlRpcItemDelegate::setDoubleDecimals | ( | unsigned int | decs | ) | [inline, slot] |
Definition at line 55 of file xmlRpcItemDelegate.h.
void XmlRpcItemDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Definition at line 70 of file xmlRpcItemDelegate.cpp.
void XmlRpcItemDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 75 of file xmlRpcItemDelegate.cpp.
void XmlRpcItemDelegate::updateEditorGeometry | ( | QWidget * | editor, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 80 of file xmlRpcItemDelegate.cpp.
unsigned int XmlRpcItemDelegate::doubleDecimals [protected] |
Definition at line 58 of file xmlRpcItemDelegate.h.