Page Contents

Topics

Classes

QLFillControl Class

#include <QLayers/qlfillcontrol.h>

Inherits: QLWidget

Public Functions

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

Protected Functions

bool eventFilter(QObject* object, QEvent* event) override

Detailed Description

QLFillControl Example

A QLFillControl is a QLWidget that displays a fill to the user and generates a QLFillDialog when clicked, giving the user an interface for changing the fill's value.

A fill is an attribute type that represents either a color or a gradient value.

Member Function Documentation

QLFillControl(QWidget* parent = nullptr)

Constructs a fill control.

void set_attribute(LAttribute* attribute)

Links the control with attribute.