2019-06-20 12:02:28 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2017-12-22 14:52:41 +01:00
|
|
|
#ifndef BUTTON_BAR_H
|
|
|
|
#define BUTTON_BAR_H
|
2017-07-26 17:54:25 +02:00
|
|
|
|
|
|
|
#include <QskLinearBox.h>
|
|
|
|
|
|
|
|
class ButtonBar : public QskLinearBox
|
|
|
|
{
|
2018-08-03 08:15:28 +02:00
|
|
|
public:
|
2017-07-26 17:54:25 +02:00
|
|
|
QSK_SUBCONTROLS( Indicator )
|
|
|
|
|
|
|
|
ButtonBar( QQuickItem* = nullptr );
|
|
|
|
void addIndicator( const char* name );
|
|
|
|
|
2018-08-03 08:15:28 +02:00
|
|
|
protected:
|
2019-09-10 17:01:47 +02:00
|
|
|
QSizeF layoutSizeHint( Qt::SizeHint, const QSizeF& ) const override;
|
2017-07-26 17:54:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|