1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/SharerMax-VMS

Клонировать/Скачать
combodelegate.h 747
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
SharerMax Отправлено 07.11.2013 19:55 8a3891f
#ifndef COMBODELEGATE_H
#define COMBODELEGATE_H
#include <QItemDelegate>
#include <QComboBox>
class ComboDelegate : public QItemDelegate
{
Q_OBJECT
public:
ComboDelegate(QObject *parent = 0);
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
const QModelIndex &index) 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;
};
#endif // COMBODELEGATE_H

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/SharerMax-VMS.git
git@api.gitlife.ru:oschina-mirror/SharerMax-VMS.git
oschina-mirror
SharerMax-VMS
SharerMax-VMS
master