Page Contents

Topics

Classes

QLFillDialog Class

#include <QLayers/qlfilldialog.h>

Inherits: QLWidget

Public Functions

QLFillDialog(QWidget* parent = nullptr)
void set_attribute(LAttribute* attribute)

Detailed Description

QLFillDialog Example

A QLFillDialog is a QLDialog that provides an interface for changing a fill value.

The dialog contains a QLToggleSwitch for switching the fill type between color and gradient. If the fill type is color, then a QLColorControl is shown to allow for changing the color. If the fill type is gradient, a QLGradientControl is shown to allow for changing the gradient.

Member Function Documentation

QLFillDialog(QWidget* parent = nullptr)

Constructs a fill dialog.

void set_attribute(LAttribute* attribute)

Links the control with attribute.