mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-19 19:29:58 +02:00
Mod doc set style de same
This commit is contained in:
@@ -28,17 +28,17 @@ class QAbstractItemModel;
|
||||
class QetGraphicsHeaderItem;
|
||||
|
||||
/**
|
||||
* @brief The QetGraphicsTableItem class
|
||||
* This item display a table destined to represent the content of a QAbstractItemModel
|
||||
* The table have a few parameters to edit her visual aspect.
|
||||
* Margins, to edit the margin between the cell and the text.
|
||||
* Text font.
|
||||
* Text alignment in the cell
|
||||
* These three parameters are not settable directly with the table but trough the model to be displayed by the table.
|
||||
* The table search these parameters only in the index(0,0) for all the table.
|
||||
* By consequence, set data in other index than 0,0 is useless also these parameter can't be set individually for each cell.
|
||||
* The margins is stored in the model in index Qt::UserRole+1 and for value a QString. See QETUtils::marginsFromString and QETUtils::marginsToString
|
||||
*/
|
||||
@brief The QetGraphicsTableItem class
|
||||
This item display a table destined to represent the content of a QAbstractItemModel
|
||||
The table have a few parameters to edit her visual aspect.
|
||||
Margins, to edit the margin between the cell and the text.
|
||||
Text font.
|
||||
Text alignment in the cell
|
||||
These three parameters are not settable directly with the table but trough the model to be displayed by the table.
|
||||
The table search these parameters only in the index(0,0) for all the table.
|
||||
By consequence, set data in other index than 0,0 is useless also these parameter can't be set individually for each cell.
|
||||
The margins is stored in the model in index Qt::UserRole+1 and for value a QString. See QETUtils::marginsFromString and QETUtils::marginsToString
|
||||
*/
|
||||
class QetGraphicsTableItem : public QetGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user