File indexing completed on 2022-09-27 16:29:09

0001 /**
0002  * SPDX-FileCopyrightText: (C) 2003 by Sébastien Laoût <slaout@linux62.org>
0003  * SPDX-License-Identifier: GPL-2.0-or-later
0004  */
0005 
0006 #include "basketview.h"
0007 
0008 #include "basketscene.h"
0009 
0010 BasketView::BasketView(BasketScene *scene, QWidget *parent)
0011     : QGraphicsView(scene, parent)
0012 {
0013 }
0014 
0015 BasketView::~BasketView()
0016 {
0017 }
0018 
0019 void BasketView::resizeEvent(QResizeEvent *)
0020 {
0021     static_cast<BasketScene *>(scene())->relayoutNotes();
0022 }