--- /dev/null
+#include "profiledialog.h"
+#include "ui_profiledialog.h"
+
+ProfileDialog::ProfileDialog(QWidget *parent) :
+ QDialog(parent),
+ ui(new Ui::ProfileDialog)
+{
+ ui->setupUi(this);
+}
+
+ProfileDialog::~ProfileDialog()
+{
+ delete ui;
+}
+
+void ProfileDialog::changeEvent(QEvent *e)
+{
+ QDialog::changeEvent(e);
+ switch (e->type()) {
+ case QEvent::LanguageChange:
+ ui->retranslateUi(this);
+ break;
+ default:
+ break;
+ }
+}
--- /dev/null
+#ifndef PROFILEDIALOG_H
+#define PROFILEDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+ class ProfileDialog;
+}
+
+class ProfileDialog : public QDialog {
+ Q_OBJECT
+public:
+ ProfileDialog(QWidget *parent = 0);
+ ~ProfileDialog();
+
+protected:
+ void changeEvent(QEvent *e);
+
+private:
+ Ui::ProfileDialog *ui;
+};
+
+#endif // PROFILEDIALOG_H
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>ProfileDialog</class>
+ <widget class="QDialog" name="ProfileDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>800</width>
+ <height>380</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Dialog</string>
+ </property>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>