class dtkViewLayoutItem : public QFrame {

%TypeHeaderCode
#include <dtkWidgets/dtkViewLayout.h>
#include <dtkWidgets/dtkViewLayoutItem.h>
#include <QtWidgets/QFrame>
%End

public:
     dtkViewLayoutItem(dtkViewLayoutItem *parent = 0);

public:
    dtkViewWidget *view();

public:
    dtkViewLayoutItem *parent();
    dtkViewLayoutItem *first();
    dtkViewLayoutItem *second();

public:
    void setOrientation(Qt::Orientation orientation);
    void setSizes(QList<int> sizes);

public:
    int canvasHeight();
    int footerHeight();
    int handleHeight();
    int handleWidth();

public:
    dtkViewLayout *layout();
};
