Page Contents

Topics

Classes

QLRadioButtonPool Class

#include <QLayers/qlradiobuttonpool.h>

Inherits: QObject

Public Functions

QLRadioButtonPool(QList<QLRadioButton*> radio_buttons)
void set_active(QLRadioButton* button)

Detailed Description

A QLRadioButtonPool is a QObject that manages a group of QLRadioButton widgets and ensures that only one can be active a time.

Member Function Documentation

QLRadioButtonPool(QList<QLRadioButton*> radio_buttons)

Constructs a radio button pool with a set of radio_buttons.

void set_active(QLRadioButton* button)

Sets button as the active radio button in the pool.