33#include <NDEVR/QTDesignObject.h>
35#include <NDEVR/Model.h>
36#include <NDEVR/DesignParameter.h>
37#include <NDEVR/Pointer.h>
38#include <QAbstractTableModel>
39#include <QItemDelegate>
47 bool editorEvent(QEvent* event, QAbstractItemModel* model,
const QStyleOptionViewItem& option,
const QModelIndex& index)
override;
58 void setParametersToGlobalLinework();
59 void setParametersToGlobalLocations();
60 void setParametersToLocalLocations();
61 void autoPopulateColumns();
65 bool isSpecialCallbackIndex(
const QModelIndex& index)
const;
67 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
68 int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
69 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole)
override;
70 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const override;
71 Qt::ItemFlags flags(
const QModelIndex &index)
const override;
72 void onClicked(
const QModelIndex& index, QRect rect);
73 void onHovered(
const QModelIndex& index, QRect rect);
74 void setEditable(
bool editable);
75 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
92 bool m_is_editable =
false;
93 bool m_is_global =
false;
94 bool m_has_vertex_edit_column =
false;
95 bool m_has_primitive_edit_column =
false;
96 bool m_is_linework =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Pointer.hpp:303
Definition QTVertexManagerView.h:50
bool isEditable() const
Definition QTVertexManagerView.h:78
Buffer< DesignParameterAccumulator > m_properties
Definition QTVertexManagerView.h:89
uint04 m_num_of_decimal
Definition QTVertexManagerView.h:91
void setUseGlobalTransform(bool toggle)
Definition QTVertexManagerView.h:62
Buffer< uint04 > m_cached_indices
Definition QTVertexManagerView.h:88
DynamicPointer< QTDesignObject > m_root
Definition QTVertexManagerView.h:90
Definition QTVertexManagerView.h:43
VertexTableDelegate(QObject *parent=nullptr)
Definition QTVertexManagerView.cpp:419
bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override
Definition QTVertexManagerView.cpp:423
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition BaseValues.hpp:272