Value column: elide middle; no editor.
More...
#include <lua_debugger_watch.h>
|
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| | Custom paint method to elide text in the middle.
|
| |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| | Blocks editor creation by returning a null pointer.
|
| |
Value column: elide middle; no editor.
◆ createEditor()
| QWidget * LuaDbgWatchValueColumnDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Blocks editor creation by returning a null pointer.
- Parameters
-
| parent | The parent widget. |
| option | The style option used for the item. |
| index | The model index of the item. |
- Returns
- nullptr to prevent editing.
◆ paint()
| void LuaDbgWatchValueColumnDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Custom paint method to elide text in the middle.
- Parameters
-
| painter | The painter to use. |
| option | The style option used for the item. |
| index | The model index of the item. |
The documentation for this class was generated from the following files: