rename Card to Box

This commit is contained in:
Peter Hartmann 2020-09-17 16:14:29 +02:00
parent 5199e1af1e
commit af16ec3696
6 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#include "Card.h"
#include "Box.h"
#include "DaytimeSkin.h"
#include <QskBoxBorderColors.h>
@ -6,7 +6,7 @@
#include <QskBoxShapeMetrics.h>
#include <QskTextLabel.h>
Card::Card( const QString& title, QQuickItem* parent )
Box::Box( const QString& title, QQuickItem* parent )
: QskLinearBox( Qt::Vertical, parent )
, m_title( title )
, m_label( new QskTextLabel( m_title, this ) )

View File

@ -5,10 +5,10 @@
class QskTextLabel;
class Card : public QskLinearBox
class Box : public QskLinearBox
{
public:
Card( const QString& title, QQuickItem* parent );
Box( const QString& title, QQuickItem* parent );
private:
QString m_title;

View File

@ -1,6 +1,6 @@
#include "MainContent.h"
#include "Card.h"
#include "Box.h"
#include "Diagram.h"
#include "Humidity.h"
#include "IndoorTemperature.h"

View File

@ -4,7 +4,7 @@
#include <QskTextLabel.h>
Usage::Usage( QQuickItem* parent )
: Card( "Usage", parent )
: Box( "Usage", parent )
{
auto* content = new QskLinearBox( Qt::Vertical, this );

View File

@ -1,10 +1,10 @@
#ifndef USAGE_H
#define USAGE_H
#include "Card.h"
#include "Box.h"
#include <QskLinearBox.h>
class Usage : public Card
class Usage : public Box
{
public:
Usage( QQuickItem* parent );

View File

@ -1,7 +1,7 @@
CONFIG += qskexample
SOURCES += \
Card.cpp \
Box.cpp \
CircularProgressBar.cpp \
DaytimeSkin.cpp \
Diagram.cpp \
@ -21,7 +21,7 @@ SOURCES += \
MainWindow.cpp
HEADERS += \
Card.h \
Box.h \
CircularProgressBar.h \
DaytimeSkin.h \
Diagram.h \