qskinny/examples/layouts/ButtonBox.h

19 lines
545 B
C
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
2021-08-04 10:11:12 +02:00
#pragma once
2017-07-21 18:21:34 +02:00
#include <QskLinearBox.h>
#include <functional>
class ButtonBox : public QskLinearBox
{
2018-08-03 08:15:28 +02:00
public:
2017-07-21 18:21:34 +02:00
ButtonBox( QQuickItem* parent = nullptr );
void addButton( const QString& text,
std::function< void() > func, bool autoRepeat = false );
};