19#include "AViewContainer.h"
20#include <AUI/Common/AMap.h>
21#include <AUI/ASS/Selector/Selected.h>
47 bool mChecked =
false;
49 bool selectableIsSelectedImpl()
override;
60 [[nodiscard]]
bool isChecked()
const {
64 void setChecked(
const bool checked) {
66 emit customCssPropertyChanged();
67 emit ARadioButton::checked(checked);
80 ~Group()
override =
default;
85 [[nodiscard]]
int getSelectedId()
const;
87 void setSelectedId(
int id);
89 [[nodiscard]]
bool isSelected()
const {
90 return mSelectedRadio.lock() !=
nullptr;
94 for (
auto& b : mButtons) {
95 b.second->setChecked(
false);
108namespace declarative {
A std::map with AUI extensions.
Definition: AMap.h:218
A base object class.
Definition: AObject.h:49
Represents a Unicode character string.
Definition: AString.h:37
A view that represents a set of views.
Definition: AViewContainerBase.h:68
void onPointerReleased(const APointerReleasedEvent &event) override
Called on pointer (mouse) released event.
Definition: AViewContainerBase.cpp:327
Base class of all UI objects.
Definition: AView.h:77
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177
Definition: Selected.h:18
#define emit
emits the specified signal in context of this object.
Definition: AObject.h:196
Pointing method press event.
Definition: APointerReleasedEvent.h:19
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:51
Definition: Declarative.h:91