Page Contents

Topics

Classes

QLWidget Class

#include <QLayers/qlwidget.h>

Inherits: QWidget, QLThemeableBox

Public Functions

QLWidget(QWidget* parent = nullptr)

Protected Functions

virtual void paintEvent(QPaintEvent* event) override

Detailed Description

A QLWidget is a QWidget and a QLThemeableBox that serves as a base class for user interface objects in Layers applications.

The widget is painted by the themeable box which contains attributes and painting functionality for a box shape.

Member Function Documentation

QLWidget(QWidget* parent = nullptr)

Constructs a widget.

void paintEvent(QPaintEvent* event)

Protected

Virtual

Override

Calls QLThemeableBox::paint() to paint the box onto the widget.