mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-03 03:49:59 +02:00
graphics table properties editor : Add two buttons new button
Add new two new buttons : 1. Adjust the selected table to fit as well into folio. 2. Set current geometry to all linked tables : Apply the geometry (pos, height, width, row to display) of the selected table to all linked tables.
This commit is contained in:
@@ -46,6 +46,9 @@ class QetGraphicsTableItem : public QetGraphicsItem
|
||||
Q_PROPERTY(QSize size READ size WRITE setSize)
|
||||
Q_PROPERTY(int displayNRow READ displayNRow WRITE setDisplayNRow)
|
||||
|
||||
public :
|
||||
static void adjustTableToFolio(QetGraphicsTableItem *table, QMargins margins = QMargins(20,20,20,0));
|
||||
|
||||
public:
|
||||
QetGraphicsTableItem(QGraphicsItem *parent= nullptr);
|
||||
virtual ~QetGraphicsTableItem() override;
|
||||
|
||||
Reference in New Issue
Block a user