Mantid
|
This class is used for formating the type of data allowed in each of the tables columns. More...
#include <FitScriptGeneratorDataTable.h>
Public Member Functions | |
CustomItemDelegate (FitScriptGeneratorDataTable *parent, ColumnIndex const &index) | |
CustomItemDelegate class methods. More... | |
Private Slots | |
void | handleItemEntered (QTableWidgetItem *item) |
void | handleItemExited (int newRowIndex) |
Private Member Functions | |
QWidget * | createEditor (QWidget *parent, QStyleOptionViewItem const &option, QModelIndex const &index) const override |
void | paint (QPainter *painter, QStyleOptionViewItem const &option, QModelIndex const &index) const override |
Private Attributes | |
ColumnIndex | m_columnIndex |
int | m_hoveredIndex |
FitScriptGeneratorDataTable * | m_tableWidget |
This class is used for formating the type of data allowed in each of the tables columns.
It is also used for setting various column properties, and will paint a row when it is hovered over.
Definition at line 100 of file FitScriptGeneratorDataTable.h.
MantidQt::MantidWidgets::CustomItemDelegate::CustomItemDelegate | ( | FitScriptGeneratorDataTable * | parent, |
ColumnIndex const & | index | ||
) |
CustomItemDelegate class methods.
Definition at line 303 of file FitScriptGeneratorDataTable.cpp.
References handleItemEntered(), handleItemExited(), and m_tableWidget.
|
overrideprivate |
Definition at line 319 of file FitScriptGeneratorDataTable.cpp.
References index, and m_columnIndex.
|
privateslot |
Definition at line 312 of file FitScriptGeneratorDataTable.cpp.
References m_hoveredIndex, and m_tableWidget.
Referenced by CustomItemDelegate().
|
privateslot |
Definition at line 317 of file FitScriptGeneratorDataTable.cpp.
References m_hoveredIndex.
Referenced by CustomItemDelegate().
|
overrideprivate |
Definition at line 342 of file FitScriptGeneratorDataTable.cpp.
References index, and m_hoveredIndex.
|
private |
Definition at line 115 of file FitScriptGeneratorDataTable.h.
Referenced by createEditor().
|
private |
Definition at line 116 of file FitScriptGeneratorDataTable.h.
Referenced by handleItemEntered(), handleItemExited(), and paint().
|
private |
Definition at line 114 of file FitScriptGeneratorDataTable.h.
Referenced by CustomItemDelegate(), and handleItemEntered().