26f1d1329a
* remove current shadow implementation * add our own shadow code
22 lines
604 B
C++
22 lines
604 B
C++
/******************************************************************************
|
|
* 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"
|