2#include <NDEVR/QTDesignObject.h>
3#include <NDEVR/DesignObjectWidgetInterface.h>
9 class GridlineDialogUI;
13 class QCustomLineEdit;
18 class GridlinesDialog :
public QWidget,
public DesignObjectWidgetInterface
22 GridlinesDialog(QWidget* parent =
nullptr);
23 void updateSpacingFromDialog();
24 [[nodiscard]] Vector<4, fltp08> currentSpacing()
const;
25 Material materialFromTarget()
const;
26 void updateSpacingFromDialog(uint01 axis);
27 void onTargetUpdated(UUID
id)
override;
28 virtual void removeTarget(
const DynamicPointer<QTDesignObject>&
object)
override;
29 virtual void addTarget(
const DynamicPointer<QTDesignObject>&
object)
override;
30 void setUseGridlines(
bool use_gridlines);
33 void orientationDialogUpdated()
const;
36 Ui::GridlineDialogUI* ui;
37 QCustomLineEdit* m_spacing[4] = {
nullptr,
nullptr,
nullptr,
nullptr };
38 Toggle* m_use_spacing[4] = {
nullptr,
nullptr,
nullptr,
nullptr };
Definition FontEditor.h:6