helpForUsers files added.
authorJanne Änäkkälä <janne_anakkala@hotmail.com>
Mon, 31 May 2010 07:36:37 +0000 (10:36 +0300)
committerJanne Änäkkälä <janne_anakkala@hotmail.com>
Mon, 31 May 2010 07:36:37 +0000 (10:36 +0300)
Client/helpusersdialog.cpp [new file with mode: 0644]
Client/helpusersdialog.h [new file with mode: 0644]
Client/helpusersdialog.ui [new file with mode: 0644]

diff --git a/Client/helpusersdialog.cpp b/Client/helpusersdialog.cpp
new file mode 100644 (file)
index 0000000..1e6ade4
--- /dev/null
@@ -0,0 +1,26 @@
+#include "helpusersdialog.h"
+#include "ui_helpusersdialog.h"
+
+HelpUsersDialog::HelpUsersDialog(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::HelpUsersDialog)
+{
+    ui->setupUi(this);
+}
+
+HelpUsersDialog::~HelpUsersDialog()
+{
+    delete ui;
+}
+
+void HelpUsersDialog::changeEvent(QEvent *e)
+{
+    QDialog::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}
diff --git a/Client/helpusersdialog.h b/Client/helpusersdialog.h
new file mode 100644 (file)
index 0000000..f497b7a
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef HELPUSERSDIALOG_H
+#define HELPUSERSDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+    class HelpUsersDialog;
+}
+
+class HelpUsersDialog : public QDialog {
+    Q_OBJECT
+public:
+    HelpUsersDialog(QWidget *parent = 0);
+    ~HelpUsersDialog();
+
+protected:
+    void changeEvent(QEvent *e);
+
+private:
+    Ui::HelpUsersDialog *ui;
+};
+
+#endif // HELPUSERSDIALOG_H
diff --git a/Client/helpusersdialog.ui b/Client/helpusersdialog.ui
new file mode 100644 (file)
index 0000000..950f3b5
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>HelpUsersDialog</class>
+ <widget class="QDialog" name="HelpUsersDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>800</width>
+    <height>380</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Help for users view </string>
+  </property>
+  <widget class="QLabel" name="labelInfo1">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>20</y>
+     <width>431</width>
+     <height>321</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Users view lists all registered users
+and by clicking the wanted username
+it gives information about user. </string>
+   </property>
+  </widget>
+  <widget class="QLabel" name="labelUsersPic">
+   <property name="geometry">
+    <rect>
+     <x>490</x>
+     <y>80</y>
+     <width>291</width>
+     <height>211</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string/>
+   </property>
+   <property name="pixmap">
+    <pixmap resource="graphics.qrc">:/new/prefix1/Graphics/userspic.png</pixmap>
+   </property>
+   <property name="scaledContents">
+    <bool>true</bool>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::LinksAccessibleByMouse</set>
+   </property>
+  </widget>
+ </widget>
+ <resources>
+  <include location="graphics.qrc"/>
+ </resources>
+ <connections/>
+</ui>