tuchulcha  0.10.1
Graphical Workflow Configuration Editor
CentralMdiArea.h
Go to the documentation of this file.
1 /* Copyright (C) 2012 David Stronczek
2 
3  This file is part of Tuchulcha.
4 
5  Tuchulcha is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  Tuchulcha 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 Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with Tuchulcha. If not, see <http://www.gnu.org/licenses/>.
17 */
24 #ifndef CENTRALMDIAREA_H_
25 #define CENTRALMDIAREA_H_
26 
27 #include <QMdiArea>
28 
30 
32 class CentralMdiArea : public QMdiArea {
33  Q_OBJECT
34 
35 public:
37 
39  CentralMdiArea(QWidget* parent = 0);
40 
41 signals:
43  void filesDropped(const QStringList list);
44 
45 protected:
47  virtual void dragEnterEvent(QDragEnterEvent* event);
48 
50  virtual void dragMoveEvent(QDragMoveEvent* event);
51 
53  virtual void dropEvent(QDropEvent* event);
54 };
55 
56 #endif /* CENTRALMDIAREA_H_ */
Central Mdi Area.
virtual void dragEnterEvent(QDragEnterEvent *event)
drag enter event
void filesDropped(const QStringList list)
files dropped inside area
virtual void dragMoveEvent(QDragMoveEvent *event)
drage move event
virtual void dropEvent(QDropEvent *event)
drop event
CentralMdiArea(QWidget *parent=0)
Default constructor, setting parent widget.