/******************************************************************************
* Copyright (C) 2021 Edelhirsch Software GmbH
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#include "Box.h"
#include "Skin.h"
#include <QskTextLabel.h>
Box::Box( const QString& title, QQuickItem* parent )
: ShadowedBox( Qt::Vertical, parent )
{
if ( !title.isEmpty() )
auto label = new QskTextLabel( title, this );
label->setFontRole( Skin::TitleFont );
}
#include "moc_Box.cpp"