The PartListModel class.
More...
#include <partlistmodel.h>
Inherits QAbstractTableModel.
◆ Column
Enumerator |
---|
COLUMN_MPN | |
COLUMN_MANUFACTURER | |
COLUMN_ATTRIBUTES | |
COLUMN_ACTIONS | |
_COLUMN_COUNT | |
◆ PartListModel() [1/3]
◆ PartListModel() [2/3]
◆ PartListModel() [3/3]
◆ ~PartListModel()
◆ setInitialManufacturer()
◆ setPartList()
◆ setUndoStack()
◆ add()
void add |
( |
const QPersistentModelIndex & |
itemIndex | ) |
|
|
noexcept |
◆ copy()
void copy |
( |
const QPersistentModelIndex & |
itemIndex | ) |
|
|
noexcept |
◆ remove()
void remove |
( |
const QPersistentModelIndex & |
itemIndex | ) |
|
|
noexcept |
◆ moveUp()
void moveUp |
( |
const QPersistentModelIndex & |
itemIndex | ) |
|
|
noexcept |
◆ moveDown()
void moveDown |
( |
const QPersistentModelIndex & |
itemIndex | ) |
|
|
noexcept |
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ headerData()
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ flags()
Qt::ItemFlags flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ setData()
bool setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
◆ operator=()
◆ partListEdited()
◆ execCmd()
◆ mPartList
◆ mUndoStack
◆ mNewMpn
◆ mNewManufacturer
◆ mOnEditedSlot
The documentation for this class was generated from the following files: