// This code is auto-generated by Qul's qmltocpp tool from the file 'RadioButton.qml'
// WARNING! All changes made in this file will be lost!
#include "RadioButton.h"
#include <qul/private/graphicsdevice.h>
#include <qul/private/filecache.h>

#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Winvalid-offsetof"
#endif

extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_radiobutton_2Ddisabled_2924171873965041612_handle;
extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_radiobutton_2Dchecked_2Dpressed_1045045686096008533_handle;
extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_radiobutton_2Dchecked_5511976546139964538_handle;
extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_radiobutton_2Dpressed_2579755744388265124_handle;
extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_radiobutton_18216712924164089054_handle;
static const Qul::Private::String qulCurrentFileDir(".", 1);
namespace QtQuick {
namespace Controls {
namespace StyleDefault {
extern Qul::Private::Items::ItemBase *loaderItemAllocator(const Qul::Private::String &uri, const Qul::Private::String &currentFileDir);

} // namespace QtQuick
} // namespace Controls
} // namespace StyleDefault
namespace Qul { namespace Private {
Qul::Property<int> &translationIndexProperty_main();
extern uint32_t qul_translation_base_offset_02181e30725d845a9d6231cffdcacab93af56aec();
extern const char *qul_translation_string(int lang, uint32_t base, int entry);
}}

namespace QtQuick {
namespace Controls {
namespace StyleDefault {

namespace {
#if defined(QUL_CC_IAR)
#pragma diag_suppress=Pe177 // declared but never referenced
#elif defined(QUL_CC_GNU)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
static Qul::Property<int> &translationIndexProperty() { return Qul::Private::translationIndexProperty_main(); }
static int translationIndex() { return translationIndexProperty().value(); }
static const char *qul_translation(int entry) {
    const uint32_t base_offset = Qul::Private::qul_translation_base_offset_02181e30725d845a9d6231cffdcacab93af56aec();
    return Qul::Private::qul_translation_string(translationIndex(), base_offset, entry);
}
#if defined(QUL_CC_IAR)
#pragma diag_default=Pe177 // declared but never referenced
#elif defined(QUL_CC_GNU)
#pragma GCC diagnostic pop
#endif
}


int RadioButton::RadioButton_3118561595_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    int r2_1 = 0;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::Items::ItemBase * r2__indicator = NULL;
    int r7__indicator_width = 0;
    // implicitWidth: control.indicator ? control.indicator.width + control.spacing : 0
    // line 51  "RadioButton.qml"
    r2 = self;
    r2__indicator = r2->indicator.value();
    if (!r2__indicator) {
    goto label_0;};
    r2 = self;
    r2__indicator = r2->indicator.value();
    r2_1 = r2__indicator->width.value();
    r7__indicator_width = r2_1;
    r2 = self;
    r2_1 = r2->spacing.value();
    r2_1 = r7__indicator_width + r2_1;
    goto label_1;;
    {
    }
    label_0:;
    r2_1 = 0;
    label_1:;
    return r2_1;
    
}
int RadioButton::anchor_functor::operator()(RadioButton *self, int _switch_index) const
{
    int properties[2] = {};

    switch(_switch_index) {
    case 0: properties[0] = self->row.height.value(); properties[1] = self->text_.height.value();  break;
    }
    return int((int(properties[0]) + 1)/2 - ((properties[1])/2.0));
}

Qul::PlatformInterface::Rgba32 RadioButton::RadioButton_3085104519_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    QUL_DECL_UNUSED Qul::PlatformInterface::Rgba32 r2__disabledTextColor;
    bool r2__enabled = false;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    QUL_DECL_UNUSED  ::QtQuick::Controls::StyleDefault::DefaultStyle * r2_3 = NULL;
    // color: control.enabled ? DefaultStyle.textColor : DefaultStyle.disabledTextColor
    // line 57  "RadioButton.qml"
    r2 = self;
    r2__enabled = r2->enabled.value();
    if (!r2__enabled) goto label_0;;
    r2_3 = & ::QtQuick::Controls::StyleDefault::DefaultStyle ::instance();
    r2__disabledTextColor = r2_3->textColor.value();
    goto label_1;;
    label_0:;
    r2_3 = & ::QtQuick::Controls::StyleDefault::DefaultStyle ::instance();
    r2__disabledTextColor = r2_3->disabledTextColor.value();
    label_1:;
    return r2__disabledTextColor;
    
}
Qul::Private::FontPointer RadioButton::RadioButton_350459312_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::FontPointer r2__font;
    // font: control.font
    // line 56  "RadioButton.qml"
    r2 = self;
    r2__font = r2->font.value();
    return r2__font;
    
}
Qul::Private::String RadioButton::RadioButton_4011053975_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::String r2__text;
    // text: control.text
    // line 55  "RadioButton.qml"
    r2 = self;
    r2__text = r2->text.value();
    return r2__text;
    
}
Qul::SharedImage RadioButton::RadioButton_1274248586_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    bool r2__down = false;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::String r2_2;
    /*
    source: !control.enabled
    ? "qrc:/images/radiobutton-disabled.png"
    */
    // line 35  "RadioButton.qml"
    r2 = self;
    r2__down = r2->enabled.value();
    r2__down = !r2__down;
    if (!r2__down) goto label_0;;
    r2_2 = Qul::Private::String(Qul::Private::ImageIdValue::create("qrc:/images/radiobutton-disabled.png", qul_rasterBuffer_radiobutton_2Ddisabled_2924171873965041612_handle), 36);
    goto label_1;;
    label_0:;
    r2 = self;
    // : (control.checked
    // line 37  "RadioButton.qml"
    r2__down = r2->checked.value();
    if (!r2__down) goto label_2;;
    r2 = self;
    // ? (control.down ? "qrc:/images/radiobutton-checked-pressed.png" : "qrc:/images/radiobutton-checked.png")
    // line 38  "RadioButton.qml"
    r2__down = r2->down.value();
    if (!r2__down) goto label_3;;
    r2_2 = Qul::Private::String(Qul::Private::ImageIdValue::create("qrc:/images/radiobutton-checked-pressed.png", qul_rasterBuffer_radiobutton_2Dchecked_2Dpressed_1045045686096008533_handle), 43);
    goto label_4;;
    label_3:;
    r2_2 = Qul::Private::String(Qul::Private::ImageIdValue::create("qrc:/images/radiobutton-checked.png", qul_rasterBuffer_radiobutton_2Dchecked_5511976546139964538_handle), 35);
    label_4:;
    goto label_1;;
    label_2:;
    r2 = self;
    // : (control.down ? "qrc:/images/radiobutton-pressed.png" : "qrc:/images/radiobutton.png"))
    // line 39  "RadioButton.qml"
    r2__down = r2->down.value();
    if (!r2__down) goto label_5;;
    r2_2 = Qul::Private::String(Qul::Private::ImageIdValue::create("qrc:/images/radiobutton-pressed.png", qul_rasterBuffer_radiobutton_2Dpressed_2579755744388265124_handle), 35);
    goto label_1;;
    label_5:;
    r2_2 = Qul::Private::String(Qul::Private::ImageIdValue::create("qrc:/images/radiobutton.png", qul_rasterBuffer_radiobutton_18216712924164089054_handle), 27);
    label_1:;
    return Qul::Private::findImageForString(r2_2);
    
}
int RadioButton::RadioButton_3637927520_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    int r8__availableHeight = 0;
    int r2_2 = 0;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    Qul::qreal r2_1 = 0.0;
    int r9 = 0;
    int r7__topPadding = 0;
    // y: control.topPadding + (control.availableHeight - height) / 2
    // line 34  "RadioButton.qml"
    r2 = self;
    r2_2 = r2->topPadding.value();
    r7__topPadding = r2_2;
    r2 = self;
    r2_2 = r2->availableHeight.value();
    r8__availableHeight = r2_2;
    r2_2 = self->image.height.value();
    r2_2 = r8__availableHeight - r2_2;
    r9 = r2_2;
    r2_2 = 2;
    r2_1 = Qul::qreal(r9) / r2_2;
    r2_1 = r7__topPadding + r2_1;
    return int(r2_1);
    
}
int RadioButton::RadioButton_4001282052_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    int r2__leftPadding = 0;
    QUL_DECL_UNUSED RadioButton * r2 = NULL;
    // x: control.leftPadding
    // line 33  "RadioButton.qml"
    r2 = self;
    r2__leftPadding = r2->leftPadding.value();
    return r2__leftPadding;
    
}
int RadioButton::RadioButton_471296976_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    QUL_DECL_UNUSED Qul::Private::Builtins::Math * r7 = NULL;
    int r13 = 0;
    int r16 = 0;
    int r2_1 = 0;
    Qul::qreal r2_3 = 0.0;
    QUL_DECL_UNUSED Qul::Private::Builtins::Math * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::Items::ItemBase * r2_2 = NULL;
    int r10 = 0;
    int r12_1 = 0;
    QUL_DECL_UNUSED Qul::Private::Builtins::Math * r12 = NULL;
    int r17 = 0;
    int r15 = 0;
    Qul::qreal r11 = 0.0;
    int r18 = 0;
    // implicitHeight: Math.max((background ? background.implicitHeight : 0) + topInset + bottomInset,
    // line 16  "RadioButton.qml"
    r2 = &Qul::Private::Builtins::Math ::instance();
    r7 = r2;
    r2_2 = self->background.value();
    if (!r2_2) goto label_0;;
    r2_2 = self->background.value();
    r2_1 = r2_2->itemExtraProperties->implicitHeight.value();
    goto label_1;;
    label_0:;
    r2_1 = 0;
    label_1:;
    r12_1 = r2_1;
    r2_1 = self->topInset.value();
    r2_1 = r12_1 + r2_1;
    r13 = r2_1;
    r2_1 = self->bottomInset.value();
    r2_1 = r13 + r2_1;
    r10 = r2_1;
    r2 = &Qul::Private::Builtins::Math ::instance();
    r12 = r2;
    // Math.max((contentItem ? contentItem.implicitHeight : 0) + topPadding + bottomPadding,
    // line 17  "RadioButton.qml"
    r2_2 = self->contentItem.value();
    if (!r2_2) goto label_2;;
    r2_2 = self->contentItem.value();
    r2_1 = r2_2->itemExtraProperties->implicitHeight.value();
    goto label_3;;
    label_2:;
    r2_1 = 0;
    label_3:;
    r17 = r2_1;
    r2_1 = self->topPadding.value();
    r2_1 = r17 + r2_1;
    r18 = r2_1;
    r2_1 = self->bottomPadding.value();
    r2_1 = r18 + r2_1;
    r15 = r2_1;
    // (indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding))
    // line 18  "RadioButton.qml"
    r2_2 = self->indicator.value();
    if (!r2_2) goto label_4;;
    r2_2 = self->indicator.value();
    r2_1 = r2_2->itemExtraProperties->implicitHeight.value();
    goto label_5;;
    label_4:;
    r2_1 = 0;
    label_5:;
    r17 = r2_1;
    r2_1 = self->topPadding.value();
    r2_1 = r17 + r2_1;
    r18 = r2_1;
    r2_1 = self->bottomPadding.value();
    r2_1 = r18 + r2_1;
    r16 = r2_1;
    r2_3 = r12->max(r15, r16);
    r11 = r2_3;
    r2_3 = r7->max(r10, r11);
    return int(r2_3);
    
}
int RadioButton::RadioButton_3988550022_bindingFunctor::operator()(RadioButton *self) const
{
    (void) self;
    int r2_2 = 0;
    Qul::qreal r2_1 = 0.0;
    QUL_DECL_UNUSED Qul::Private::Builtins::Math * r2 = NULL;
    QUL_DECL_UNUSED Qul::Private::Items::ItemBase * r2_3 = NULL;
    int r10 = 0;
    int r12 = 0;
    int r11 = 0;
    QUL_DECL_UNUSED Qul::Private::Builtins::Math * r7 = NULL;
    int r13 = 0;
    // implicitWidth: Math.max((background ? background.implicitWidth : 0) + leftInset + rightInset,
    // line 10  "RadioButton.qml"
    r2 = &Qul::Private::Builtins::Math ::instance();
    r7 = r2;
    r2_3 = self->background.value();
    if (!r2_3) goto label_0;;
    r2_3 = self->background.value();
    r2_2 = r2_3->itemExtraProperties->implicitWidth.value();
    goto label_1;;
    label_0:;
    r2_2 = 0;
    label_1:;
    r12 = r2_2;
    r2_2 = self->leftInset.value();
    r2_2 = r12 + r2_2;
    r13 = r2_2;
    r2_2 = self->rightInset.value();
    r2_2 = r13 + r2_2;
    r10 = r2_2;
    // (contentItem ? contentItem.implicitWidth : 0) + leftPadding + rightPadding)
    // line 11  "RadioButton.qml"
    r2_3 = self->contentItem.value();
    if (!r2_3) goto label_2;;
    r2_3 = self->contentItem.value();
    r2_2 = r2_3->itemExtraProperties->implicitWidth.value();
    goto label_3;;
    label_2:;
    r2_2 = 0;
    label_3:;
    r12 = r2_2;
    r2_2 = self->leftPadding.value();
    r2_2 = r12 + r2_2;
    r13 = r2_2;
    r2_2 = self->rightPadding.value();
    r2_2 = r13 + r2_2;
    r11 = r2_2;
    r2_1 = r7->max(r10, r11);
    return int(r2_1);
    
}

RadioButton::RadioButton()

    : text__y_anchor_binding(anchor_functor())
    , ExtraStorage_itemExtraProperties_this_instance(this)
    , ExtraStorage_itemExtraProperties_item__2_instance(&item__2)
    , ExtraStorage_itemExtraProperties_row_instance(&row)
    , ExtraStorage_itemExtraProperties_item__instance(&item_)
    , ExtraStorage_itemExtraProperties_image_instance(&image)
    , item__2_implicitWidth_binding(RadioButton_3118561595_bindingFunctor())
    , text__color_binding(RadioButton_3085104519_bindingFunctor())
    , font_font_binding(RadioButton_350459312_bindingFunctor())
    , text__text_binding(RadioButton_4011053975_bindingFunctor())
    , image_source_binding(RadioButton_1274248586_bindingFunctor())
    , image_y_binding(RadioButton_3637927520_bindingFunctor())
    , image_x_binding(RadioButton_4001282052_bindingFunctor())
    , _implicitHeight_binding(RadioButton_471296976_bindingFunctor())
    , _implicitWidth_binding(RadioButton_3988550022_bindingFunctor())
{
#if __cplusplus < 201103L
    // spacing: 10
    // line 30  "RadioButton.qml"
    spacing.setValue(10);
    // bottomInset: DefaultStyle.inset
    // line 28  "RadioButton.qml"
    bottomInset.setValue(5);
    // rightInset: DefaultStyle.inset
    // line 27  "RadioButton.qml"
    rightInset.setValue(5);
    // topInset: DefaultStyle.inset
    // line 26  "RadioButton.qml"
    topInset.setValue(5);
    // leftInset: DefaultStyle.inset
    // line 25  "RadioButton.qml"
    leftInset.setValue(5);
    // bottomPadding: DefaultStyle.padding
    // line 23  "RadioButton.qml"
    bottomPadding.setValue(5);
    // topPadding: DefaultStyle.padding
    // line 22  "RadioButton.qml"
    topPadding.setValue(5);
    // rightPadding: DefaultStyle.padding
    // line 21  "RadioButton.qml"
    rightPadding.setValue(5);
    // leftPadding: DefaultStyle.padding
    // line 20  "RadioButton.qml"
    leftPadding.setValue(5);
#else
    using OffsetType14508472848368190223 = Qul::Private::Choose<uint16_t, uint32_t, (UINT16_MAX >
        Qul::Private::Max<offsetof(RadioButton, spacing) / 4,
        Qul::Private::Max<offsetof(RadioButton, bottomInset) / 4,
        Qul::Private::Max<offsetof(RadioButton, rightInset) / 4,
        Qul::Private::Max<offsetof(RadioButton, topInset) / 4,
        Qul::Private::Max<offsetof(RadioButton, leftInset) / 4,
        Qul::Private::Max<offsetof(RadioButton, bottomPadding) / 4,
        Qul::Private::Max<offsetof(RadioButton, topPadding) / 4,
        Qul::Private::Max<offsetof(RadioButton, rightPadding) / 4,
        Qul::Private::Max<offsetof(RadioButton, leftPadding) / 4,
        0
        >::V>::V>::V>::V>::V>::V>::V>::V>::V
        )>::Type;
    OffsetType14508472848368190223 propertyOffsets14508472848368190223[] = {
        std::is_same<decltype(spacing), Qul::Property<int>>::value ? (offsetof(RadioButton, spacing) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(bottomInset), Qul::Property<int>>::value ? (offsetof(RadioButton, bottomInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(rightInset), Qul::Property<int>>::value ? (offsetof(RadioButton, rightInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(topInset), Qul::Property<int>>::value ? (offsetof(RadioButton, topInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(leftInset), Qul::Property<int>>::value ? (offsetof(RadioButton, leftInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(bottomPadding), Qul::Property<int>>::value ? (offsetof(RadioButton, bottomPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(topPadding), Qul::Property<int>>::value ? (offsetof(RadioButton, topPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(rightPadding), Qul::Property<int>>::value ? (offsetof(RadioButton, rightPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(leftPadding), Qul::Property<int>>::value ? (offsetof(RadioButton, leftPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
    };
    static constexpr int8_t propertyValues14508472848368190223[] = {
        // spacing: 10
        // line 30  "RadioButton.qml"
        10,
        // bottomInset: DefaultStyle.inset
        // line 28  "RadioButton.qml"
        5,
        // rightInset: DefaultStyle.inset
        // line 27  "RadioButton.qml"
        5,
        // topInset: DefaultStyle.inset
        // line 26  "RadioButton.qml"
        5,
        // leftInset: DefaultStyle.inset
        // line 25  "RadioButton.qml"
        5,
        // bottomPadding: DefaultStyle.padding
        // line 23  "RadioButton.qml"
        5,
        // topPadding: DefaultStyle.padding
        // line 22  "RadioButton.qml"
        5,
        // rightPadding: DefaultStyle.padding
        // line 21  "RadioButton.qml"
        5,
        // leftPadding: DefaultStyle.padding
        // line 20  "RadioButton.qml"
        5,
    };
    Qul::Private::initializeProperties<int>(this, propertyOffsets14508472848368190223, propertyValues14508472848368190223,
        sizeof(propertyOffsets14508472848368190223) / sizeof(propertyOffsets14508472848368190223[0]));
    // spacing: 10
    // line 30  "RadioButton.qml"
    if (!std::is_same<decltype(spacing), Qul::Property<int>>::value)
        spacing.setValue(10);
    // bottomInset: DefaultStyle.inset
    // line 28  "RadioButton.qml"
    if (!std::is_same<decltype(bottomInset), Qul::Property<int>>::value)
        bottomInset.setValue(5);
    // rightInset: DefaultStyle.inset
    // line 27  "RadioButton.qml"
    if (!std::is_same<decltype(rightInset), Qul::Property<int>>::value)
        rightInset.setValue(5);
    // topInset: DefaultStyle.inset
    // line 26  "RadioButton.qml"
    if (!std::is_same<decltype(topInset), Qul::Property<int>>::value)
        topInset.setValue(5);
    // leftInset: DefaultStyle.inset
    // line 25  "RadioButton.qml"
    if (!std::is_same<decltype(leftInset), Qul::Property<int>>::value)
        leftInset.setValue(5);
    // bottomPadding: DefaultStyle.padding
    // line 23  "RadioButton.qml"
    if (!std::is_same<decltype(bottomPadding), Qul::Property<int>>::value)
        bottomPadding.setValue(5);
    // topPadding: DefaultStyle.padding
    // line 22  "RadioButton.qml"
    if (!std::is_same<decltype(topPadding), Qul::Property<int>>::value)
        topPadding.setValue(5);
    // rightPadding: DefaultStyle.padding
    // line 21  "RadioButton.qml"
    if (!std::is_same<decltype(rightPadding), Qul::Property<int>>::value)
        rightPadding.setValue(5);
    // leftPadding: DefaultStyle.padding
    // line 20  "RadioButton.qml"
    if (!std::is_same<decltype(leftPadding), Qul::Property<int>>::value)
        leftPadding.setValue(5);
#endif
    // Item {
    // line 50  "RadioButton.qml"
    appendChild(&this->row, &item__2);
    item__2_implicitWidth_binding.init<RadioButton, &RadioButton::item__2_implicitWidth_binding>(item__2.itemExtraProperties->implicitWidth);
    // implicitWidth: control.indicator ? control.indicator.width + control.spacing : 0
    // line 51  "RadioButton.qml"
    item__2.itemExtraProperties->implicitWidth.setBinding (&item__2_implicitWidth_binding);
    // Text {
    // line 54  "RadioButton.qml"
    appendChild(&this->row, &text_);
    text__y_anchor_binding.init<RadioButton, &RadioButton::text__y_anchor_binding, 0>(text_.y);
    text_.y.setBinding(&text__y_anchor_binding);
    text__color_binding.init<RadioButton, &RadioButton::text__color_binding>(text_.color);
    // color: control.enabled ? DefaultStyle.textColor : DefaultStyle.disabledTextColor
    // line 57  "RadioButton.qml"
    text_.color.setBinding (&text__color_binding);
    font_font_binding.init<RadioButton, &RadioButton::font_font_binding>(text_.font);
    // font: control.font
    // line 56  "RadioButton.qml"
    text_.font.setBinding (&font_font_binding);
    text__text_binding.init<RadioButton, &RadioButton::text__text_binding>(text_.text);
    // text: control.text
    // line 55  "RadioButton.qml"
    text_.text.setBinding (&text__text_binding);
    // contentItem: Row {
    // line 49  "RadioButton.qml"
    contentItem.setValue(&row);
    // implicitHeight: 42
    // line 45  "RadioButton.qml"
    item_.itemExtraProperties->implicitHeight.setValue(42);
    // implicitWidth: 100
    // line 44  "RadioButton.qml"
    item_.itemExtraProperties->implicitWidth.setValue(100);
    // background: Item {
    // line 43  "RadioButton.qml"
    background.setValue(&item_);
    image_source_binding.init<RadioButton, &RadioButton::image_source_binding>(image.source);
    // source: !control.enabled
    // line 35  "RadioButton.qml"
    image.source.setBinding (&image_source_binding);
    image_y_binding.init<RadioButton, &RadioButton::image_y_binding>(image.y);
    // y: control.topPadding + (control.availableHeight - height) / 2
    // line 34  "RadioButton.qml"
    image.y.setBinding (&image_y_binding);
    image_x_binding.init<RadioButton, &RadioButton::image_x_binding>(image.x);
    // x: control.leftPadding
    // line 33  "RadioButton.qml"
    image.x.setBinding (&image_x_binding);
    // indicator: Image {
    // line 32  "RadioButton.qml"
    indicator.setValue(&image);
    _implicitHeight_binding.init<RadioButton, &RadioButton::_implicitHeight_binding>(itemExtraProperties->implicitHeight);
    // implicitHeight: Math.max((background ? background.implicitHeight : 0) + topInset + bottomInset,
    // line 16  "RadioButton.qml"
    itemExtraProperties->implicitHeight.setBinding (&_implicitHeight_binding);
    _implicitWidth_binding.init<RadioButton, &RadioButton::_implicitWidth_binding>(itemExtraProperties->implicitWidth);
    // implicitWidth: Math.max((background ? background.implicitWidth : 0) + leftInset + rightInset,
    // line 10  "RadioButton.qml"
    itemExtraProperties->implicitWidth.setBinding (&_implicitWidth_binding);
}

} // namespace QtQuick
} // namespace Controls
} // namespace StyleDefault
