0ab382bdfc692209f5aeaf4c86b9c0624286324f
[staging/HomeScreen.git] / HomeScreen / src / controlbarwidget.h
1 /*
2  * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef CONTROLBARWIDGET_H
18 #define CONTROLBARWIDGET_H
19
20 #include <QWidget>
21
22 namespace Ui {
23 class ControlBarWidget;
24 }
25
26 class ControlBarWidget : public QWidget
27 {
28     Q_OBJECT
29
30 public:
31     explicit ControlBarWidget(QWidget *parent = 0);
32     ~ControlBarWidget();
33 public slots:
34     void updateColorScheme();
35 signals:
36     void settingsButtonPressed();
37     void homeButtonPressed();
38
39 private slots:
40     void on_pushButton_Settings_clicked();
41     void on_pushButton_Home_clicked();
42
43 private:
44     Ui::ControlBarWidget *mp_ui;
45 };
46
47 #endif // CONTROLBARWIDGET_H