Nomenclature : Add dialog when insert a new nomenclature table

This commit is contained in:
Claveau Joshua
2020-05-05 20:38:31 +02:00
parent 3905371da6
commit efac27b9b8
14 changed files with 1050 additions and 29 deletions

View File

@@ -195,7 +195,7 @@ void QetGraphicsTableItem::paint(QPainter *painter, const QStyleOptionGraphicsIt
static_cast<int>(cell_height) - m_margin.top() - m_margin.bottom());
auto index_row = m_previous_table ? i + m_previous_table->displayNRowOffset() : i;
painter->drawText(QRectF(top_left, size),
m_model->data(m_model->index(0,0), Qt::TextAlignmentRole).toInt(),
m_model->data(m_model->index(0,0), Qt::TextAlignmentRole).toInt() | Qt::AlignVCenter,
m_model->index(index_row, j).data().toString());
}
}