LMMS
Loading...
Searching...
No Matches
plugins
CarlaBase
carla
source
frontend
widgets
draggablegraphicsview.h
Go to the documentation of this file.
1
/*
2
* Middle-click draggable QGraphicsView
3
* Copyright (C) 2016-2019 Filipe Coelho <falktx@falktx.com>
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation; either version 2 of
8
* the License, or any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
16
*/
17
18
#ifndef DRAGGABLEGRAPHICSVIEW_H_INCLUDED
19
#define DRAGGABLEGRAPHICSVIEW_H_INCLUDED
20
21
#include <QtWidgets/QGraphicsView>
22
23
class
DraggableGraphicsView
:
public
QGraphicsView
24
{
25
public
:
26
DraggableGraphicsView
(QWidget*
const
parent
)
27
: QGraphicsView(
parent
) {}
28
};
29
30
#endif
// DRAGGABLEGRAPHICSVIEW_H_INCLUDED
DraggableGraphicsView::DraggableGraphicsView
DraggableGraphicsView(QWidget *const parent)
Definition
draggablegraphicsview.h:26
parent
static uintptr_t parent
Definition
pugl.h:1644
Generated on
for LMMS by
1.16.1