Subclass of QStyledItemDelegate to display/edit librepcb::Length values.
More...
#include <lengthdelegate.h>
Inherits QStyledItemDelegate.
Subclass of QStyledItemDelegate to display/edit librepcb::Length values.
◆ LengthDelegate() [1/2]
◆ LengthDelegate() [2/2]
◆ ~LengthDelegate()
◆ setUnit()
◆ displayText()
QString displayText |
( |
const QVariant & |
value, |
|
|
const QLocale & |
locale |
|
) |
| const |
|
override |
◆ createEditor()
QWidget * createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
void setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setModelData()
void setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ updateEditorGeometry()
void updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ operator=()
◆ editingFinished()
◆ mUnit
The documentation for this class was generated from the following files: