/******************************************************************************
 * Copyright (C) 2021 Edelhirsch Software GmbH
 *           SPDX-License-Identifier: BSD-3-Clause
 *****************************************************************************/

#pragma once

#include <QskPushButton.h>

class RoundedIcon : public QskPushButton
{
    Q_OBJECT

  public:
    QSK_SUBCONTROLS( Panel, PalePanel, Graphic )
    QSK_STATES( Bright ) // to differentiate between orange and purple

    enum
    {
        NormalRole,
        CheckedRole,
    } GraphicRole;

    RoundedIcon( bool isBright, QQuickItem* parent = nullptr );

    void setPale( bool );
};
