add support icons
[groove] / bottombar.cpp
1 #include "bottombar.h"
2 #include "ui_bottombar.h"
3
4 bottomBar::bottomBar(QWidget *parent) :
5     QWidget(parent),
6     ui(new Ui::bottomBar)
7 {
8     ui->setupUi(this);
9 }
10
11 bottomBar::~bottomBar()
12 {
13     delete ui;
14 }
15 void bottomBar::on_addButton_clicked()
16 {
17     emit this->addB();
18 }
19
20 void bottomBar::changeEvent(QEvent *e)
21 {
22     QWidget::changeEvent(e);
23     switch (e->type()) {
24     case QEvent::LanguageChange:
25         ui->retranslateUi(this);
26         break;
27     default:
28         break;
29     }
30 }