namespace added
This commit is contained in:
parent
4224613e15
commit
8add7e1b3a
@ -22,34 +22,37 @@
|
|||||||
|
|
||||||
#include <QGuiApplication>
|
#include <QGuiApplication>
|
||||||
|
|
||||||
class Rectangle : public Box
|
namespace
|
||||||
{
|
{
|
||||||
public:
|
class Rectangle : public Box
|
||||||
Rectangle( QQuickItem* parentItem )
|
|
||||||
: Box( parentItem )
|
|
||||||
{
|
{
|
||||||
}
|
public:
|
||||||
};
|
Rectangle( QQuickItem* parentItem )
|
||||||
|
: Box( parentItem )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
class RoundedRectangle : public Box
|
class RoundedRectangle : public Box
|
||||||
{
|
|
||||||
public:
|
|
||||||
RoundedRectangle( QQuickItem* parentItem )
|
|
||||||
: Box( parentItem )
|
|
||||||
{
|
{
|
||||||
setShape( 20, Qt::AbsoluteSize );
|
public:
|
||||||
}
|
RoundedRectangle( QQuickItem* parentItem )
|
||||||
};
|
: Box( parentItem )
|
||||||
|
{
|
||||||
|
setShape( 20, Qt::AbsoluteSize );
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
class Ellipse : public Box
|
class Ellipse : public Box
|
||||||
{
|
|
||||||
public:
|
|
||||||
Ellipse( QQuickItem* parentItem )
|
|
||||||
: Box( parentItem )
|
|
||||||
{
|
{
|
||||||
setShape( 100, Qt::RelativeSize );
|
public:
|
||||||
}
|
Ellipse( QQuickItem* parentItem )
|
||||||
};
|
: Box( parentItem )
|
||||||
|
{
|
||||||
|
setShape( 100, Qt::RelativeSize );
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
static void addTestRectangle( QskLinearBox* parent )
|
static void addTestRectangle( QskLinearBox* parent )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user