The FootprintListModel class.
More...
#include <footprintlistmodel.h>
Inherits QAbstractTableModel.
◆ Column
| Enumerator |
|---|
| COLUMN_NAME | |
| COLUMN_MODEL_POSITION_X | |
| COLUMN_MODEL_POSITION_Y | |
| COLUMN_MODEL_POSITION_Z | |
| COLUMN_MODEL_ROTATION_X | |
| COLUMN_MODEL_ROTATION_Y | |
| COLUMN_MODEL_ROTATION_Z | |
| COLUMN_ACTIONS | |
| _COLUMN_COUNT | |
◆ FootprintListModel() [1/3]
◆ FootprintListModel() [2/3]
◆ FootprintListModel() [3/3]
◆ ~FootprintListModel()
◆ setPackage()
| void setPackage |
( |
Package * |
package | ) |
|
|
noexcept |
◆ 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=()
◆ footprintListEdited()
◆ execCmd()
◆ validateNameOrThrow()
| ElementName validateNameOrThrow |
( |
const QString & |
name | ) |
const |
|
private |
◆ mPackage
◆ mUndoStack
◆ mNewName
◆ mNewModelPosition
◆ mNewModelRotation
◆ mOnEditedSlot
The documentation for this class was generated from the following files: