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