Added a web-link for "Help and Support".

This commit is contained in:
LoRd_MuldeR 2012-02-16 23:58:33 +01:00
parent c91451069e
commit 1033990705
5 changed files with 14 additions and 1 deletions

View File

@ -343,6 +343,7 @@
</widget>
<addaction name="actionWebMulder"/>
<addaction name="actionWebX264"/>
<addaction name="actionWebSupport"/>
<addaction name="separator"/>
<addaction name="menuDownloadX264"/>
<addaction name="actionWebAvisynth32"/>
@ -583,6 +584,15 @@
<string>Restart Job</string>
</property>
</action>
<action name="actionWebSupport">
<property name="icon">
<iconset resource="../res/resources.qrc">
<normaloff>:/buttons/group.png</normaloff>:/buttons/group.png</iconset>
</property>
<property name="text">
<string>Help and Support</string>
</property>
</action>
</widget>
<tabstops>
<tabstop>buttonAddJob</tabstop>

BIN
res/buttons/group.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

View File

@ -18,6 +18,7 @@
<file>buttons/exclamation.png</file>
<file>buttons/find.png</file>
<file>buttons/folder_magnify.png</file>
<file>buttons/group.png</file>
<file>buttons/hourglass.png</file>
<file>buttons/information.png</file>
<file>buttons/lightning.png</file>

View File

@ -22,7 +22,7 @@
#define VER_X264_MAJOR 2
#define VER_X264_MINOR 0
#define VER_X264_PATCH 2
#define VER_X264_BUILD 216
#define VER_X264_BUILD 217
#define VER_X264_MINIMUM_REV 2146
#define VER_X264_CURRENT_API 120

View File

@ -144,6 +144,7 @@ MainWindow::MainWindow(const x264_cpu_t *const cpuFeatures)
connect(actionWebBluRay, SIGNAL(triggered()), this, SLOT(showWebLink()));
connect(actionWebAvsWiki, SIGNAL(triggered()), this, SLOT(showWebLink()));
connect(actionWebSecret, SIGNAL(triggered()), this, SLOT(showWebLink()));
connect(actionWebSupport, SIGNAL(triggered()), this, SLOT(showWebLink()));
connect(actionPreferences, SIGNAL(triggered()), this, SLOT(showPreferences()));
//Create floating label
@ -491,6 +492,7 @@ void MainWindow::showWebLink(void)
if(QObject::sender() == actionWebWiki) QDesktopServices::openUrl(QUrl("http://mewiki.project357.com/wiki/X264_Settings"));
if(QObject::sender() == actionWebBluRay) QDesktopServices::openUrl(QUrl("http://www.x264bluray.com/"));
if(QObject::sender() == actionWebAvsWiki) QDesktopServices::openUrl(QUrl("http://avisynth.org/mediawiki/Main_Page#Usage"));
if(QObject::sender() == actionWebSupport) QDesktopServices::openUrl(QUrl("http://forum.doom9.org/showthread.php?t=144140"));
if(QObject::sender() == actionWebSecret) QDesktopServices::openUrl(QUrl("http://www.youtube.com/watch_popup?v=AXIeHY-OYNI"));
}