crazyFlyZoneTab.h 1.92 KB
Newer Older
1
//    Copyright (C) 2017, ETH Zurich, D-ITET, Angel Romero
roangel's avatar
roangel committed
2
//
3
4
5
//    This file is part of D-FaLL-System.
//    
//    D-FaLL-System is free software: you can redistribute it and/or modify
roangel's avatar
roangel committed
6
7
8
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
9
10
//    
//    D-FaLL-System is distributed in the hope that it will be useful,
roangel's avatar
roangel committed
11
12
13
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
14
//    
roangel's avatar
roangel committed
15
//    You should have received a copy of the GNU General Public License
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//    along with D-FaLL-System.  If not, see <http://www.gnu.org/licenses/>.
//    
//
//    ----------------------------------------------------------------------------------
//    DDDD        FFFFF        L     L           SSSS  Y   Y   SSSS  TTTTT  EEEEE  M   M
//    D   D       F      aaa   L     L          S       Y Y   S        T    E      MM MM
//    D   D  ---  FFFF  a   a  L     L     ---   SSS     Y     SSS     T    EEE    M M M
//    D   D       F     a  aa  L     L              S    Y        S    T    E      M   M
//    DDDD        F      aa a  LLLL  LLLL       SSSS     Y    SSSS     T    EEEEE  M   M
//
//
//    DESCRIPTION:
//    Tab that is created when we create a crazyflie zone
//
//    ----------------------------------------------------------------------------------

roangel's avatar
roangel committed
32

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef CRAZYFLYZONETAB_H
#define CRAZYFLYZONETAB_H

#include <QObject>
#include <QWidget>
#include <QPushButton>

class crazyFlyZoneTab : public QWidget
{
    Q_OBJECT
public:
    explicit crazyFlyZoneTab(int index, QWidget *parent = 0);
    QPushButton* center_button;
private:
    int _index;
    int _num_rows;
    int _num_columns;
signals:
    void centerButtonClickedSignal(int index);

public slots:
    void centerButtonClicked();
};


#endif