New UI, Vkbd and unicode support
[groove] / bottombar.cpp
diff --git a/bottombar.cpp b/bottombar.cpp
new file mode 100644 (file)
index 0000000..9ae4ea5
--- /dev/null
@@ -0,0 +1,30 @@
+#include "bottombar.h"
+#include "ui_bottombar.h"
+
+bottomBar::bottomBar(QWidget *parent) :
+    QWidget(parent),
+    ui(new Ui::bottomBar)
+{
+    ui->setupUi(this);
+}
+
+bottomBar::~bottomBar()
+{
+    delete ui;
+}
+void bottomBar::on_addButton_clicked()
+{
+    emit this->addB();
+}
+
+void bottomBar::changeEvent(QEvent *e)
+{
+    QWidget::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}