The AssemblyVariantListModel class.
More...
#include <assemblyvariantlistmodel.h>
Inherits QAbstractTableModel.
◆ Column
Enumerator |
---|
COLUMN_NAME | |
COLUMN_DESCRIPTION | |
COLUMN_ACTIONS | |
_COLUMN_COUNT | |
◆ AssemblyVariantListModel() [1/3]
◆ AssemblyVariantListModel() [2/3]
◆ AssemblyVariantListModel() [3/3]
◆ ~AssemblyVariantListModel()
◆ setCircuit()
void setCircuit |
( |
Circuit * |
circuit | ) |
|
|
noexcept |
◆ setUndoStack()
◆ setParentWidget()
void setParentWidget |
( |
QWidget * |
widget | ) |
|
|
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=()
◆ listEdited()
◆ execCmd()
◆ mParentWidget
QPointer<QWidget> mParentWidget |
|
private |
◆ mCircuit
◆ mUndoStack
◆ mOnEditedSlot
The documentation for this class was generated from the following files: