// This code is auto-generated by Qul's qmltocpp tool from the file 'ProgressBar.qml'
// WARNING! All changes made in this file will be lost!
#include "ProgressBar.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_progressbar_2Dprogress_13794051059923927174_handle;
extern const Qul::Private::RasterBuffer *const qul_rasterBuffer_progressbar_2Dbackground_14365083936487772959_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_f7235dc9c92f607d92654d031e24dec0e161b9e3();
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_f7235dc9c92f607d92654d031e24dec0e161b9e3();
    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 ProgressBar::anchor_functor::operator()(ProgressBar *self, int _switch_index) const
{
    int properties[2] = {};

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

int ProgressBar::ProgressBar_1194660730_bindingFunctor::operator()(ProgressBar *self) const
{
    (void) self;
    int r2__width = 0;
    QUL_DECL_UNUSED ProgressBar * r2_3 = NULL;
    Qul::qreal r2__position = 0.0;
    QUL_DECL_UNUSED item__2_Item * r2 = NULL;
    int r7__width = 0;
    // width: parent.width * root.position; height: 16
    // line 40  "ProgressBar.qml"
    r2 = self->borderimage_2.parent<item__2_Item >();
    r2__width = r2->width.value();
    r7__width = r2__width;
    r2_3 = self;
    r2__position = r2_3->position.value();
    r2__position = r7__width * r2__position;
    return int(r2__position);
    
}
int ProgressBar::ProgressBar_2197009696_bindingFunctor::operator()(ProgressBar *self) const
{
    (void) self;
    QUL_DECL_UNUSED item__Item * r2 = NULL;
    int r2__width = 0;
    // width: parent.width; height: 16
    // line 27  "ProgressBar.qml"
    r2 = self->borderimage.parent<item__Item >();
    r2__width = r2->width.value();
    return r2__width;
    
}
int ProgressBar::ProgressBar_1979022036_bindingFunctor::operator()(ProgressBar *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;
    // implicitHeight: Math.max((background ? background.implicitHeight : 0) + topInset + bottomInset,
    // line 12  "ProgressBar.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->implicitHeight.value();
    goto label_1;;
    label_0:;
    r2_2 = 0;
    label_1:;
    r12 = r2_2;
    r2_2 = self->topInset.value();
    r2_2 = r12 + r2_2;
    r13 = r2_2;
    r2_2 = self->bottomInset.value();
    r2_2 = r13 + r2_2;
    r10 = r2_2;
    // (contentItem ? contentItem.implicitHeight : 0) + topPadding + bottomPadding)
    // line 13  "ProgressBar.qml"
    r2_3 = self->contentItem.value();
    if (!r2_3) goto label_2;;
    r2_3 = self->contentItem.value();
    r2_2 = r2_3->itemExtraProperties->implicitHeight.value();
    goto label_3;;
    label_2:;
    r2_2 = 0;
    label_3:;
    r12 = r2_2;
    r2_2 = self->topPadding.value();
    r2_2 = r12 + r2_2;
    r13 = r2_2;
    r2_2 = self->bottomPadding.value();
    r2_2 = r13 + r2_2;
    r11 = r2_2;
    r2_1 = r7->max(r10, r11);
    return int(r2_1);
    
}
int ProgressBar::ProgressBar_3988550022_bindingFunctor::operator()(ProgressBar *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  "ProgressBar.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  "ProgressBar.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);
    
}

ProgressBar::ProgressBar()

    : borderimage_2_y_anchor_binding(anchor_functor())
    , borderimage_y_anchor_binding(anchor_functor())
    , ExtraStorage_itemExtraProperties_this_instance(this)
    , ExtraStorage_itemExtraProperties_item__2_instance(&item__2)
    , ExtraStorage_itemExtraProperties_item__instance(&item_)
    , borderimage_2_width_binding(ProgressBar_1194660730_bindingFunctor())
    , borderimage_width_binding(ProgressBar_2197009696_bindingFunctor())
    , _implicitHeight_binding(ProgressBar_1979022036_bindingFunctor())
    , _implicitWidth_binding(ProgressBar_3988550022_bindingFunctor())
{
#if __cplusplus < 201103L
    // border.bottom: 7
    // line 45  "ProgressBar.qml"
    borderimage_2.border.bottom.setValue(7);
    // border.top: 7
    // line 44  "ProgressBar.qml"
    borderimage_2.border.top.setValue(7);
    // border.right: 6
    // line 43  "ProgressBar.qml"
    borderimage_2.border.right.setValue(6);
    // border.left: 6
    // line 42  "ProgressBar.qml"
    borderimage_2.border.left.setValue(6);
    // width: parent.width * root.position; height: 16
    // line 40  "ProgressBar.qml"
    borderimage_2.height.setValue(16);
    // border.bottom: 7
    // line 32  "ProgressBar.qml"
    borderimage.border.bottom.setValue(7);
    // border.top: 7
    // line 31  "ProgressBar.qml"
    borderimage.border.top.setValue(7);
    // border.right: 7
    // line 30  "ProgressBar.qml"
    borderimage.border.right.setValue(7);
    // border.left: 7
    // line 29  "ProgressBar.qml"
    borderimage.border.left.setValue(7);
    // width: parent.width; height: 16
    // line 27  "ProgressBar.qml"
    borderimage.height.setValue(16);
    // bottomPadding: DefaultStyle.padding
    // line 22  "ProgressBar.qml"
    bottomPadding.setValue(5);
    // rightPadding: DefaultStyle.padding
    // line 21  "ProgressBar.qml"
    rightPadding.setValue(5);
    // topPadding: DefaultStyle.padding
    // line 20  "ProgressBar.qml"
    topPadding.setValue(5);
    // leftPadding: DefaultStyle.padding
    // line 19  "ProgressBar.qml"
    leftPadding.setValue(5);
    // bottomInset: DefaultStyle.inset
    // line 18  "ProgressBar.qml"
    bottomInset.setValue(5);
    // rightInset: DefaultStyle.inset
    // line 17  "ProgressBar.qml"
    rightInset.setValue(5);
    // topInset: DefaultStyle.inset
    // line 16  "ProgressBar.qml"
    topInset.setValue(5);
    // leftInset: DefaultStyle.inset
    // line 15  "ProgressBar.qml"
    leftInset.setValue(5);
#else
    using OffsetType14508472848368190223 = Qul::Private::Choose<uint16_t, uint32_t, (UINT16_MAX >
        Qul::Private::Max<offsetof(ProgressBar, borderimage_2.border.bottom) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage_2.border.top) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage_2.border.right) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage_2.border.left) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage_2.height) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage.border.bottom) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage.border.top) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage.border.right) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage.border.left) / 4,
        Qul::Private::Max<offsetof(ProgressBar, borderimage.height) / 4,
        Qul::Private::Max<offsetof(ProgressBar, bottomPadding) / 4,
        Qul::Private::Max<offsetof(ProgressBar, rightPadding) / 4,
        Qul::Private::Max<offsetof(ProgressBar, topPadding) / 4,
        Qul::Private::Max<offsetof(ProgressBar, leftPadding) / 4,
        Qul::Private::Max<offsetof(ProgressBar, bottomInset) / 4,
        Qul::Private::Max<offsetof(ProgressBar, rightInset) / 4,
        Qul::Private::Max<offsetof(ProgressBar, topInset) / 4,
        Qul::Private::Max<offsetof(ProgressBar, leftInset) / 4,
        0
        >::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V>::V
        )>::Type;
    OffsetType14508472848368190223 propertyOffsets14508472848368190223[] = {
        std::is_same<decltype(borderimage_2.border.bottom), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage_2.border.bottom) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage_2.border.top), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage_2.border.top) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage_2.border.right), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage_2.border.right) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage_2.border.left), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage_2.border.left) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage_2.height), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage_2.height) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage.border.bottom), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage.border.bottom) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage.border.top), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage.border.top) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage.border.right), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage.border.right) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage.border.left), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage.border.left) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(borderimage.height), Qul::Property<int>>::value ? (offsetof(ProgressBar, borderimage.height) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(bottomPadding), Qul::Property<int>>::value ? (offsetof(ProgressBar, bottomPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(rightPadding), Qul::Property<int>>::value ? (offsetof(ProgressBar, rightPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(topPadding), Qul::Property<int>>::value ? (offsetof(ProgressBar, topPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(leftPadding), Qul::Property<int>>::value ? (offsetof(ProgressBar, leftPadding) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(bottomInset), Qul::Property<int>>::value ? (offsetof(ProgressBar, bottomInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(rightInset), Qul::Property<int>>::value ? (offsetof(ProgressBar, rightInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(topInset), Qul::Property<int>>::value ? (offsetof(ProgressBar, topInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
        std::is_same<decltype(leftInset), Qul::Property<int>>::value ? (offsetof(ProgressBar, leftInset) / 4) : std::numeric_limits<OffsetType14508472848368190223>::max(),
    };
    static constexpr int8_t propertyValues14508472848368190223[] = {
        // border.bottom: 7
        // line 45  "ProgressBar.qml"
        7,
        // border.top: 7
        // line 44  "ProgressBar.qml"
        7,
        // border.right: 6
        // line 43  "ProgressBar.qml"
        6,
        // border.left: 6
        // line 42  "ProgressBar.qml"
        6,
        // width: parent.width * root.position; height: 16
        // line 40  "ProgressBar.qml"
        16,
        // border.bottom: 7
        // line 32  "ProgressBar.qml"
        7,
        // border.top: 7
        // line 31  "ProgressBar.qml"
        7,
        // border.right: 7
        // line 30  "ProgressBar.qml"
        7,
        // border.left: 7
        // line 29  "ProgressBar.qml"
        7,
        // width: parent.width; height: 16
        // line 27  "ProgressBar.qml"
        16,
        // bottomPadding: DefaultStyle.padding
        // line 22  "ProgressBar.qml"
        5,
        // rightPadding: DefaultStyle.padding
        // line 21  "ProgressBar.qml"
        5,
        // topPadding: DefaultStyle.padding
        // line 20  "ProgressBar.qml"
        5,
        // leftPadding: DefaultStyle.padding
        // line 19  "ProgressBar.qml"
        5,
        // bottomInset: DefaultStyle.inset
        // line 18  "ProgressBar.qml"
        5,
        // rightInset: DefaultStyle.inset
        // line 17  "ProgressBar.qml"
        5,
        // topInset: DefaultStyle.inset
        // line 16  "ProgressBar.qml"
        5,
        // leftInset: DefaultStyle.inset
        // line 15  "ProgressBar.qml"
        5,
    };
    Qul::Private::initializeProperties<int>(this, propertyOffsets14508472848368190223, propertyValues14508472848368190223,
        sizeof(propertyOffsets14508472848368190223) / sizeof(propertyOffsets14508472848368190223[0]));
    // border.bottom: 7
    // line 45  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage_2.border.bottom), Qul::Property<int>>::value)
        borderimage_2.border.bottom.setValue(7);
    // border.top: 7
    // line 44  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage_2.border.top), Qul::Property<int>>::value)
        borderimage_2.border.top.setValue(7);
    // border.right: 6
    // line 43  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage_2.border.right), Qul::Property<int>>::value)
        borderimage_2.border.right.setValue(6);
    // border.left: 6
    // line 42  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage_2.border.left), Qul::Property<int>>::value)
        borderimage_2.border.left.setValue(6);
    // width: parent.width * root.position; height: 16
    // line 40  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage_2.height), Qul::Property<int>>::value)
        borderimage_2.height.setValue(16);
    // border.bottom: 7
    // line 32  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage.border.bottom), Qul::Property<int>>::value)
        borderimage.border.bottom.setValue(7);
    // border.top: 7
    // line 31  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage.border.top), Qul::Property<int>>::value)
        borderimage.border.top.setValue(7);
    // border.right: 7
    // line 30  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage.border.right), Qul::Property<int>>::value)
        borderimage.border.right.setValue(7);
    // border.left: 7
    // line 29  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage.border.left), Qul::Property<int>>::value)
        borderimage.border.left.setValue(7);
    // width: parent.width; height: 16
    // line 27  "ProgressBar.qml"
    if (!std::is_same<decltype(borderimage.height), Qul::Property<int>>::value)
        borderimage.height.setValue(16);
    // bottomPadding: DefaultStyle.padding
    // line 22  "ProgressBar.qml"
    if (!std::is_same<decltype(bottomPadding), Qul::Property<int>>::value)
        bottomPadding.setValue(5);
    // rightPadding: DefaultStyle.padding
    // line 21  "ProgressBar.qml"
    if (!std::is_same<decltype(rightPadding), Qul::Property<int>>::value)
        rightPadding.setValue(5);
    // topPadding: DefaultStyle.padding
    // line 20  "ProgressBar.qml"
    if (!std::is_same<decltype(topPadding), Qul::Property<int>>::value)
        topPadding.setValue(5);
    // leftPadding: DefaultStyle.padding
    // line 19  "ProgressBar.qml"
    if (!std::is_same<decltype(leftPadding), Qul::Property<int>>::value)
        leftPadding.setValue(5);
    // bottomInset: DefaultStyle.inset
    // line 18  "ProgressBar.qml"
    if (!std::is_same<decltype(bottomInset), Qul::Property<int>>::value)
        bottomInset.setValue(5);
    // rightInset: DefaultStyle.inset
    // line 17  "ProgressBar.qml"
    if (!std::is_same<decltype(rightInset), Qul::Property<int>>::value)
        rightInset.setValue(5);
    // topInset: DefaultStyle.inset
    // line 16  "ProgressBar.qml"
    if (!std::is_same<decltype(topInset), Qul::Property<int>>::value)
        topInset.setValue(5);
    // leftInset: DefaultStyle.inset
    // line 15  "ProgressBar.qml"
    if (!std::is_same<decltype(leftInset), Qul::Property<int>>::value)
        leftInset.setValue(5);
#endif
    // implicitHeight: 16
    // line 38  "ProgressBar.qml"
    item__2.itemExtraProperties->implicitHeight.setValue(16);
    // implicitWidth: 200
    // line 37  "ProgressBar.qml"
    item__2.itemExtraProperties->implicitWidth.setValue(200);
    // BorderImage {
    // line 39  "ProgressBar.qml"
    appendChild(&this->item__2, &borderimage_2);
    // source: "qrc:/images/progressbar-progress.png"
    // line 46  "ProgressBar.qml"
    borderimage_2.source.setValue(Qul::Private::ImagePrivate::fromRasterBuffer(qul_rasterBuffer_progressbar_2Dprogress_13794051059923927174_handle));
    borderimage_2_y_anchor_binding.init<ProgressBar, &ProgressBar::borderimage_2_y_anchor_binding, 0>(borderimage_2.y);
    borderimage_2.y.setBinding(&borderimage_2_y_anchor_binding);
    borderimage_2_width_binding.init<ProgressBar, &ProgressBar::borderimage_2_width_binding>(borderimage_2.width);
    // width: parent.width * root.position; height: 16
    // line 40  "ProgressBar.qml"
    borderimage_2.width.setBinding (&borderimage_2_width_binding);
    // contentItem: Item {
    // line 36  "ProgressBar.qml"
    contentItem.setValue(&item__2);
    // implicitHeight: 16
    // line 25  "ProgressBar.qml"
    item_.itemExtraProperties->implicitHeight.setValue(16);
    // implicitWidth: 200
    // line 24  "ProgressBar.qml"
    item_.itemExtraProperties->implicitWidth.setValue(200);
    // BorderImage {
    // line 26  "ProgressBar.qml"
    appendChild(&this->item_, &borderimage);
    // source: "qrc:/images/progressbar-background.png"
    // line 33  "ProgressBar.qml"
    borderimage.source.setValue(Qul::Private::ImagePrivate::fromRasterBuffer(qul_rasterBuffer_progressbar_2Dbackground_14365083936487772959_handle));
    borderimage_y_anchor_binding.init<ProgressBar, &ProgressBar::borderimage_y_anchor_binding, 1>(borderimage.y);
    borderimage.y.setBinding(&borderimage_y_anchor_binding);
    borderimage_width_binding.init<ProgressBar, &ProgressBar::borderimage_width_binding>(borderimage.width);
    // width: parent.width; height: 16
    // line 27  "ProgressBar.qml"
    borderimage.width.setBinding (&borderimage_width_binding);
    // background: Item {
    // line 23  "ProgressBar.qml"
    background.setValue(&item_);
    _implicitHeight_binding.init<ProgressBar, &ProgressBar::_implicitHeight_binding>(itemExtraProperties->implicitHeight);
    // implicitHeight: Math.max((background ? background.implicitHeight : 0) + topInset + bottomInset,
    // line 12  "ProgressBar.qml"
    itemExtraProperties->implicitHeight.setBinding (&_implicitHeight_binding);
    _implicitWidth_binding.init<ProgressBar, &ProgressBar::_implicitWidth_binding>(itemExtraProperties->implicitWidth);
    // implicitWidth: Math.max((background ? background.implicitWidth : 0) + leftInset + rightInset,
    // line 10  "ProgressBar.qml"
    itemExtraProperties->implicitWidth.setBinding (&_implicitWidth_binding);
}

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