Added some help menu items to direct to web URLs

git-svn-id: http://comictagger.googlecode.com/svn/trunk@208 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville 2012-12-05 07:34:53 +00:00
parent 117d8d8998
commit 6d8d90d5b7
2 changed files with 32 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import platform
import os
import pprint
import json
import webbrowser
from volumeselectionwindow import VolumeSelectionWindow
from options import MetaDataStyle
@ -251,6 +252,9 @@ class TaggerWindow( QtGui.QMainWindow):
self.actionAbout.setShortcut( 'Ctrl+A' )
self.actionAbout.setStatusTip( 'Show the ' + self.appName + ' info' )
self.actionAbout.triggered.connect( self.aboutApp )
self.actionWiki.triggered.connect( self.showWiki )
self.actionReportBug.triggered.connect( self.reportBug )
self.actionComicTaggerForum.triggered.connect( self.showForum )
# ToolBar
@ -1259,5 +1263,13 @@ class TaggerWindow( QtGui.QMainWindow):
dlg.setText(text )
dlg.setWindowTitle( "Raw ComicBookLover Tag View" )
dlg.exec_()
def showWiki( self ):
webbrowser.open("http://code.google.com/p/comictagger/wiki/Home?tm=6")
def reportBug( self ):
webbrowser.open("http://code.google.com/p/comictagger/issues/list")
def showForum( self ):
webbrowser.open("http://comictagger.forumotion.com/")

View File

@ -1042,7 +1042,7 @@
<x>0</x>
<y>0</y>
<width>959</width>
<height>22</height>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuComicTagger">
@ -1084,6 +1084,10 @@
<property name="title">
<string>Help</string>
</property>
<addaction name="actionWiki"/>
<addaction name="actionReportBug"/>
<addaction name="actionComicTaggerForum"/>
<addaction name="separator"/>
<addaction name="actionAbout"/>
</widget>
<widget class="QMenu" name="menuTags">
@ -1238,6 +1242,21 @@
<string>View Raw ComicBookLover Tags</string>
</property>
</action>
<action name="actionReportBug">
<property name="text">
<string>Report Bug...</string>
</property>
</action>
<action name="actionComicTaggerForum">
<property name="text">
<string>ComicTagger Forum...</string>
</property>
</action>
<action name="actionWiki">
<property name="text">
<string>Online Docs...</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>