From 6d8d90d5b727d70580f1eff2474e4b35a6b46639 Mon Sep 17 00:00:00 2001 From: beville Date: Wed, 5 Dec 2012 07:34:53 +0000 Subject: [PATCH] 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 --- taggerwindow.py | 12 ++++++++++++ taggerwindow.ui | 21 ++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/taggerwindow.py b/taggerwindow.py index 5ab20b6..c6daaa7 100644 --- a/taggerwindow.py +++ b/taggerwindow.py @@ -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/") diff --git a/taggerwindow.ui b/taggerwindow.ui index 6ed6d96..06eec8f 100644 --- a/taggerwindow.ui +++ b/taggerwindow.ui @@ -1042,7 +1042,7 @@ 0 0 959 - 22 + 25 @@ -1084,6 +1084,10 @@ Help + + + + @@ -1238,6 +1242,21 @@ View Raw ComicBookLover Tags + + + Report Bug... + + + + + ComicTagger Forum... + + + + + Online Docs... + +