qskinny/examples/iotdashboard/MainContent.h
Peter Hartmann 26f1d1329a
Iot dashboard: Add own shadows (#135)
* remove current shadow implementation

* add our own shadow code
2021-10-31 11:16:03 +01:00

37 lines
789 B
C++

/******************************************************************************
* Copyright (C) 2021 Edelhirsch Software GmbH
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#pragma once
#include <QskGridBox.h>
#include <QskLinearBox.h>
class MainContentGridBox : public QskGridBox
{
Q_OBJECT
public:
QSK_SUBCONTROLS( Panel )
MainContentGridBox( QQuickItem* parent = nullptr )
: QskGridBox( parent )
{
setSubcontrolProxy( QskGridBox::Panel, Panel );
}
};
class MainContent : public QskLinearBox
{
Q_OBJECT
public:
QSK_SUBCONTROLS( Panel )
MainContent( QQuickItem* parent );
private:
QList< QskLinearBox* > m_columns;
};