|
Tulip Plugins
|
QItemDelegate to display and edit Tulip data in the Qt model/view architecture. More...
#include <TulipItemDelegate.h>
Public Member Functions | |
| TulipItemDelegate (QObject *parent=NULL) | |
| virtual | ~TulipItemDelegate () |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Protected Member Functions | |
| QWidget * | createFileNameEditor (QWidget *parent, const QString &defaultFileName, const QString &filenameFilter=QString()) const |
QItemDelegate to display and edit Tulip data in the Qt model/view architecture.
This file is part of Tulip (www.tulip-software.org)
Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| TulipItemDelegate::TulipItemDelegate | ( | QObject * | parent = NULL | ) | [inline] |
| virtual TulipItemDelegate::~TulipItemDelegate | ( | ) | [inline, virtual] |
| QWidget * TulipItemDelegate::createEditor | ( | QWidget * | parent, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
| QWidget * TulipItemDelegate::createFileNameEditor | ( | QWidget * | parent, |
| const QString & | defaultFileName, | ||
| const QString & | filenameFilter = QString() |
||
| ) | const [protected] |
| void TulipItemDelegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
| void TulipItemDelegate::setModelData | ( | QWidget * | editor, |
| QAbstractItemModel * | model, | ||
| const QModelIndex & | index | ||
| ) | const |
1.7.4