qskinny/examples/layouts/ButtonBox.h
2017-12-07 14:56:12 +01:00

22 lines
578 B
C++

/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#ifndef BUTTON_BOX
#define BUTTON_BOX 1
#include <QskLinearBox.h>
#include <functional>
class ButtonBox : public QskLinearBox
{
public:
ButtonBox( QQuickItem* parent = nullptr );
void addButton( const QString& text,
std::function< void() > func, bool autoRepeat = false );
};
#endif