15#ifndef QGSLAYOUTUNITSCOMBOBOX_H
16#define QGSLAYOUTUNITSCOMBOBOX_H
22#include <QDoubleSpinBox>
65 void linkToWidget( QDoubleSpinBox *widget );
98 void indexChanged(
int index );
105 QList<QPointer<QDoubleSpinBox>> mLinkedSpinBoxes;
LayoutUnit
Layout measurement units.
@ Millimeters
Millimeters.
This class provides a method of converting QgsLayoutMeasurements from one unit to another.
A custom combo box for selecting units for layout settings.
void unitChanged(Qgis::LayoutUnit unit)
Emitted when the unit is changed.
void changed(int unit)
Emitted when the unit is changed.