blob: 053f70f5d19aa59e62bee82a3bc602c4c3caadc0 [file] [log] [blame]
Edric Milaret627500d2015-03-27 16:41:40 -04001/***************************************************************************
Edric Milaret4bba46d2015-04-29 16:33:38 -04002 * Copyright (C) 2015 by Savoir-Faire Linux *
Edric Milaret627500d2015-03-27 16:41:40 -04003 * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU 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 * 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 * You should have received a copy of the GNU General Public License *
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17 **************************************************************************/
18
19#ifndef NAVWIDGET_H
20#define NAVWIDGET_H
21
22#include <QWidget>
23
24enum ScreenEnum {
25 Main,
26 Nav,
27 //DO not add main widget screen before callScreen
28 CallScreen,
29 //PivotScreen,
30 ConfScreen,
31 END
32};
33
34class NavWidget : public QWidget
35{
36 Q_OBJECT
37
38public:
39 NavWidget(ScreenEnum barDesired, QWidget* parent = 0);
40 ~NavWidget();
41 ScreenEnum barDesired;
42 virtual void atExit() = 0;
43
44signals:
45 void NavigationRequested(ScreenEnum screen);
46 void BackRequested();
47};
48
49#endif // NAVSIGNALHELPER_H