<file>Graphics/route_load.png</file>
<file>Graphics/users.png</file>
<file>Graphics/users_selected.png</file>
+ <file>Graphics/userspic.png</file>
</qresource>
</RCC>
helpRoutingDialog = NULL;
creditsDialog = NULL;
helpSettingsDialog = NULL;
+ helpUsersDialog = NULL;
}
/**
delete helpSettingsDialog;
helpSettingsDialog = NULL;
}
+
+ if(helpUsersDialog)
+ {
+ qDebug() << "__Help kill: helpUsersDialog";
+ delete helpUsersDialog;
+ helpUsersDialog = NULL;
+ }
+}
+
+/**
+ * This slot function called when ever help users button clicked.
+ */
+void HelpDialog::on_pushButtonHelpUsers_clicked()
+{
+ if(!helpUsersDialog)
+ {
+ helpUsersDialog = new HelpUsersDialog;
+ }
+ connect(helpUsersDialog, SIGNAL(rejected()), this, SLOT(killHelpDialogs()));
+ helpUsersDialog->show();
}
#include <helproutingdialog.h>
#include <helpsettingsdialog.h>
#include "creditsdialog.h"
+#include <helpusersdialog.h>
namespace Ui {
class HelpDialog;
HelpRoutingDialog *helpRoutingDialog;
CreditsDialog *creditsDialog;
HelpSettingsDialog *helpSettingsDialog;
+ HelpUsersDialog *helpUsersDialog;
protected:
void changeEvent(QEvent *e);
private slots:
+ void on_pushButtonHelpUsers_clicked();
void on_pushButtonHelpSettings_clicked();
void on_pushButtonCredits_clicked();
void on_pushButtonHelpRoute_clicked();
<property name="geometry">
<rect>
<x>230</x>
- <y>30</y>
+ <y>10</y>
<width>231</width>
<height>41</height>
</rect>
<property name="geometry">
<rect>
<x>140</x>
- <y>20</y>
- <width>61</width>
- <height>61</height>
+ <y>10</y>
+ <width>50</width>
+ <height>50</height>
</rect>
</property>
<property name="text">
</property>
<property name="iconSize">
<size>
- <width>60</width>
- <height>60</height>
+ <width>50</width>
+ <height>50</height>
</size>
</property>
</widget>
<property name="geometry">
<rect>
<x>140</x>
- <y>90</y>
- <width>61</width>
- <height>61</height>
+ <y>70</y>
+ <width>50</width>
+ <height>50</height>
</rect>
</property>
<property name="text">
</property>
<property name="iconSize">
<size>
- <width>60</width>
- <height>60</height>
+ <width>50</width>
+ <height>50</height>
</size>
</property>
</widget>
<property name="geometry">
<rect>
<x>140</x>
- <y>160</y>
- <width>61</width>
- <height>61</height>
+ <y>130</y>
+ <width>50</width>
+ <height>50</height>
</rect>
</property>
<property name="text">
</property>
<property name="iconSize">
<size>
- <width>60</width>
- <height>60</height>
+ <width>50</width>
+ <height>50</height>
</size>
</property>
</widget>
<property name="geometry">
<rect>
<x>140</x>
- <y>230</y>
- <width>61</width>
- <height>61</height>
+ <y>190</y>
+ <width>50</width>
+ <height>50</height>
</rect>
</property>
<property name="text">
</property>
<property name="iconSize">
<size>
- <width>55</width>
- <height>55</height>
+ <width>50</width>
+ <height>50</height>
</size>
</property>
</widget>
<property name="geometry">
<rect>
<x>230</x>
- <y>100</y>
+ <y>80</y>
<width>261</width>
<height>41</height>
</rect>
<property name="geometry">
<rect>
<x>230</x>
- <y>170</y>
+ <y>140</y>
<width>171</width>
<height>41</height>
</rect>
<property name="geometry">
<rect>
<x>230</x>
- <y>240</y>
+ <y>190</y>
<width>171</width>
<height>41</height>
</rect>
<property name="geometry">
<rect>
<x>140</x>
- <y>300</y>
- <width>55</width>
- <height>55</height>
+ <y>310</y>
+ <width>50</width>
+ <height>50</height>
</rect>
</property>
<property name="text">
<bool>true</bool>
</property>
</widget>
+ <widget class="QLabel" name="labelHelpUsers">
+ <property name="geometry">
+ <rect>
+ <x>230</x>
+ <y>250</y>
+ <width>171</width>
+ <height>41</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <family>Bitstream Charter</family>
+ </font>
+ </property>
+ <property name="text">
+ <string>Users view</string>
+ </property>
+ </widget>
+ <widget class="QPushButton" name="pushButtonHelpUsers">
+ <property name="geometry">
+ <rect>
+ <x>140</x>
+ <y>250</y>
+ <width>50</width>
+ <height>50</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="graphics.qrc">
+ <normaloff>:/new/prefix1/Graphics/users.png</normaloff>:/new/prefix1/Graphics/users.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>50</width>
+ <height>50</height>
+ </size>
+ </property>
+ </widget>
</widget>
<resources>
<include location="graphics.qrc"/>
profiledialog.cpp \
filereader.cpp \
usersdialog.cpp \
- registerdialog.cpp
+ registerdialog.cpp \
+ helpusersdialog.cpp
HEADERS += mainwindow.h \
creditsdialog.h \
routedialog.h \
profiledialog.h \
filereader.h \
usersdialog.h \
- registerdialog.h
+ registerdialog.h \
+ helpusersdialog.h
FORMS += mainwindow.ui \
creditsdialog.ui \
routedialog.ui \
helproutingdialog.ui \
helpsettingsdialog.ui \
profiledialog.ui \
- usersdialog.ui \
- registerdialog.ui
+ usersdialog.ui \
+ registerdialog.ui \
+ helpusersdialog.ui
RESOURCES += graphics.qrc
contains(QT_CONFIG, hildon):CONFIG += hildon
CONFIG += link_pkgconfig