#include <attributedelegates.h>
File-path editor — a QLineEdit plus a "…" button that opens a QFileDialog with the column's name filter (ColumnSpec::fileFilter). The cell value is the plain path string; typing and clearing stay possible, Browse merely fills the line edit. First user: rain gage Rain File (path), multi-column series files (spec §4 task 4).
◆ FileBrowseDelegate()
| openswmmvis::FileBrowseDelegate::FileBrowseDelegate |
( |
QObject * |
parent, |
|
|
QString |
nameFilter |
|
) |
| |
◆ createEditor()
| QWidget * openswmmvis::FileBrowseDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
opt, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
| void openswmmvis::FileBrowseDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
| void openswmmvis::FileBrowseDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
The documentation for this class was generated from the following files: