mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-01 02:29:58 +02:00
qet graphics table item : to/from xml change
The font, alignment and margins is not saved by the table anymore but by the model.
This commit is contained in:
@@ -28,6 +28,9 @@ class QETProject;
|
||||
* @brief The NomenclatureModel class
|
||||
* An element nomenclature Model.
|
||||
* This model represent a 2D data.
|
||||
*
|
||||
* NOTE : qelectrotech use the data Qt::UserRole+1 on this model to store a QMargins formated to a QString
|
||||
* This is important because to/from XML of this class store the data Qt::UserRole+1 as QString.
|
||||
*/
|
||||
class NomenclatureModel : public QAbstractTableModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user