KLayout Manual: Main Index » Class Index » API reference - Class QItemDelegateAPI reference - Class QItemDelegateNotation used in Ruby API documentation Description: Binding of QItemDelegate Class hierarchy: QItemDelegate » QAbstractItemDelegate » QObject
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Detailed description[const] QRect check(const QStyleOptionViewItem option,const QRect bounding,const QVariant variant)Description: Method QRect QItemDelegate::check(const QStyleOptionViewItem &option, const QRect &bounding, const QVariant &variant) This method is protected and can only be called from inside a derived class. [virtual] void childEvent(QChildEvent ptr arg1)Description: Virtual method void QItemDelegate::childEvent(QChildEvent *) This method can be reimplemented in a derived class. [event] void closeEditor(QWidget ptr editor,const QAbstractItemDelegate_EndEditHint hint)Description: Signal declaration for QItemDelegate::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint) You can bind a procedure to this signal. [event] void commitData(QWidget ptr editor)Description: Signal declaration for QItemDelegate::commitData(QWidget *editor) You can bind a procedure to this signal. void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. [virtual,const] QWidget ptr createEditor(QWidget ptr parent,const QStyleOptionViewItem option,const QModelIndex index)Description: Virtual method QWidget * QItemDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) This method can be reimplemented in a derived class. [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QItemDelegate::customEvent(QEvent *) This method can be reimplemented in a derived class. [const] QPixmap decoration(const QStyleOptionViewItem option,const QVariant variant)Description: Method QPixmap QItemDelegate::decoration(const QStyleOptionViewItem &option, const QVariant &variant) This method is protected and can only be called from inside a derived class. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QItemDelegate::destroyed(QObject *) You can bind a procedure to this signal. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [virtual] void disconnectNotify(string signal)Description: Virtual method void QItemDelegate::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [const] void doLayout(const QStyleOptionViewItem option,QRect ptr checkRect,QRect ptr iconRect,QRect ptr textRect,bool hint)Description: Method void QItemDelegate::doLayout(const QStyleOptionViewItem &option, QRect *checkRect, QRect *iconRect, QRect *textRect, bool hint) This method is protected and can only be called from inside a derived class. [const] void drawBackground(QPainter ptr painter,const QStyleOptionViewItem option,const QModelIndex index)Description: Method void QItemDelegate::drawBackground(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) This method is protected and can only be called from inside a derived class. [virtual,const] void drawCheck(QPainter ptr painter,const QStyleOptionViewItem option,const QRect rect,const Qt_CheckState state)Description: Virtual method void QItemDelegate::drawCheck(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, Qt::CheckState state) This method can be reimplemented in a derived class. [virtual,const] void drawDecoration(QPainter ptr painter,const QStyleOptionViewItem option,const QRect rect,const QPixmap pixmap)Description: Virtual method void QItemDelegate::drawDecoration(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QPixmap &pixmap) This method can be reimplemented in a derived class. [virtual,const] void drawDisplay(QPainter ptr painter,const QStyleOptionViewItem option,const QRect rect,string text)Description: Virtual method void QItemDelegate::drawDisplay(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) This method can be reimplemented in a derived class. [virtual,const] void drawFocus(QPainter ptr painter,const QStyleOptionViewItem option,const QRect rect)Description: Virtual method void QItemDelegate::drawFocus(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) This method can be reimplemented in a derived class. [virtual] bool editorEvent(QEvent ptr event,QAbstractItemModel ptr model,const QStyleOptionViewItem option,const QModelIndex index)Description: Virtual method bool QItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) This method can be reimplemented in a derived class. [virtual] bool event(QEvent ptr arg1)Description: Virtual method bool QItemDelegate::event(QEvent *) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr object,QEvent ptr event)Description: Virtual method bool QItemDelegate::eventFilter(QObject *object, QEvent *event) This method can be reimplemented in a derived class. [const] bool hasClippingDescription: Method bool QItemDelegate::hasClipping() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [const] QItemEditorFactory ptr itemEditorFactoryDescription: Method QItemEditorFactory * QItemDelegate::itemEditorFactory() void itemEditorFactory=(QItemEditorFactory ptr factory)Description: Method void QItemDelegate::setItemEditorFactory(QItemEditorFactory *factory) [static] new QItemDelegate newDescription: Constructor QItemDelegate::QItemDelegate(QObject *parent) This method creates an object of class QItemDelegate. [static] new QItemDelegate new(QObject ptr parent)Description: Constructor QItemDelegate::QItemDelegate(QObject *parent) This method creates an object of class QItemDelegate. [virtual,const] void paint(QPainter ptr painter,const QStyleOptionViewItem option,const QModelIndex index)Description: Virtual method void QItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) This method can be reimplemented in a derived class. [const] int receivers(string signal)Description: Method int QItemDelegate::receivers(const char *signal) This method is protected and can only be called from inside a derived class. [const] QRect rect(const QStyleOptionViewItem option,const QModelIndex index,int role)Description: Method QRect QItemDelegate::rect(const QStyleOptionViewItem &option, const QModelIndex &index, int role) This method is protected and can only be called from inside a derived class. [const] QPixmap ptr selected(const QPixmap pixmap,const QPalette palette,bool enabled)Description: Method QPixmap * QItemDelegate::selected(const QPixmap &pixmap, const QPalette &palette, bool enabled) This method is protected and can only be called from inside a derived class. [const] QObject ptr senderDescription: Method QObject * QItemDelegate::sender() This method is protected and can only be called from inside a derived class. void setClipping(bool clip)Description: Method void QItemDelegate::setClipping(bool clip) [virtual,const] void setEditorData(QWidget ptr editor,const QModelIndex index)Description: Virtual method void QItemDelegate::setEditorData(QWidget *editor, const QModelIndex &index) This method can be reimplemented in a derived class. void setItemEditorFactory(QItemEditorFactory ptr factory)Description: Method void QItemDelegate::setItemEditorFactory(QItemEditorFactory *factory) [virtual,const] void setModelData(QWidget ptr editor,QAbstractItemModel ptr model,const QModelIndex index)Description: Virtual method void QItemDelegate::setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) This method can be reimplemented in a derived class. [const] QStyleOptionViewItem setOptions(const QModelIndex index,const QStyleOptionViewItem option)Description: Method QStyleOptionViewItem QItemDelegate::setOptions(const QModelIndex &index, const QStyleOptionViewItem &option) This method is protected and can only be called from inside a derived class. [virtual,const] QSize sizeHint(const QStyleOptionViewItem option,const QModelIndex index)Description: Virtual method QSize QItemDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) This method can be reimplemented in a derived class. [event] void sizeHintChanged(const QModelIndex arg1)Description: Signal declaration for QItemDelegate::sizeHintChanged(const QModelIndex &) You can bind a procedure to this signal. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [const] QRect textRectangle(QPainter ptr painter,const QRect rect,const QFont font,string text)Description: Method QRect QItemDelegate::textRectangle(QPainter *painter, const QRect &rect, const QFont &font, const QString &text) This method is protected and can only be called from inside a derived class. [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QItemDelegate::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [static] string tr(string s)Description: Static method QString QItemDelegate::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c)Description: Static method QString QItemDelegate::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QItemDelegate::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s)Description: Static method QString QItemDelegate::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c)Description: Static method QString QItemDelegate::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QItemDelegate::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. [virtual,const] void updateEditorGeometry(QWidget ptr editor,const QStyleOptionViewItem option,const QModelIndex index)Description: Virtual method void QItemDelegate::updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) This method can be reimplemented in a derived class. |