VICI
0.11.815
Visual Chart Interpreter
|
An item delegate that uses QLineEdit for editing list and table entries. More...
#include <vici/libgui.h>
Signals | |
void | validationError (const QModelIndex &) const |
This signal can be emitted if there is a validation error. | |
Public Member Functions | |
ItemDelegate (QObject *parent=0) | |
Constructor. | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Create a QLineEdit for editing the item. | |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
Copy the data from the model to the editor. | |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Copy the data from the editor to the model. | |
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Notification that the shape of the owner has changed. | |
bool | hasEditor () const |
Check if delegate is in edit mode. | |
An item delegate that uses QLineEdit for editing list and table entries.
The QListWidget and QTableWidget have faulty editing capability. This item can replace the default one to provide a much nicer user experience when editing the items in lists and tables.