Added toolbar icons
git-svn-id: http://comictagger.googlecode.com/svn/trunk@43 6c5673fe-1810-88d6-992b-cd32ca31540c
BIN
graphics/auto.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
graphics/browse.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
graphics/clear.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
graphics/open.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
graphics/parse.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
graphics/save.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
graphics/search.png
Normal file
After Width: | Height: | Size: 11 KiB |
@ -28,7 +28,7 @@ class PageBrowserWindow(QtGui.QDialog):
|
||||
|
||||
|
||||
def __init__(self, parent):
|
||||
super(PageBrowserWindow, self).__init__(None)
|
||||
super(PageBrowserWindow, self).__init__(parent)
|
||||
|
||||
uic.loadUi(os.path.join(ComicTaggerSettings.baseDir(), 'pagebrowser.ui' ), self)
|
||||
|
||||
|
@ -182,14 +182,21 @@ class TaggerWindow( QtGui.QMainWindow):
|
||||
self.actionParse_Filename.setStatusTip( 'Try to extract tags from filename' )
|
||||
self.actionParse_Filename.triggered.connect( self.useFilename )
|
||||
|
||||
self.actionQuery_Online.setShortcut( 'Ctrl+W' )
|
||||
self.actionQuery_Online.setStatusTip( 'Search online for tags' )
|
||||
self.actionQuery_Online.triggered.connect( self.queryOnline )
|
||||
self.actionSearchOnline.setShortcut( 'Ctrl+W' )
|
||||
self.actionSearchOnline.setStatusTip( 'Search online for tags' )
|
||||
self.actionSearchOnline.triggered.connect( self.queryOnline )
|
||||
|
||||
#self.actionAutoSearch.triggered.connect( self.autoSearch )
|
||||
|
||||
#self.actionClearEntryForm.setShortcut( 'Ctrl+C' )
|
||||
self.actionClearEntryForm.setStatusTip( 'Clear all the data on the screen' )
|
||||
self.actionClearEntryForm.triggered.connect( self.clearForm )
|
||||
|
||||
# Window Menu
|
||||
self.actionPageBrowser.setShortcut( 'Ctrl+P' )
|
||||
self.actionPageBrowser.setStatusTip( 'Show the page browser' )
|
||||
self.actionPageBrowser.triggered.connect( self.showPageBrowser )
|
||||
|
||||
# Help Menu
|
||||
self.actionAbout.setShortcut( 'Ctrl+A' )
|
||||
self.actionAbout.setStatusTip( 'Show the ' + self.appName + ' info' )
|
||||
@ -197,11 +204,21 @@ class TaggerWindow( QtGui.QMainWindow):
|
||||
|
||||
# ToolBar
|
||||
|
||||
self.actionLoad.setIcon( QtGui.QIcon('graphics/open.png') )
|
||||
self.actionWrite_Tags.setIcon( QtGui.QIcon('graphics/save.png') )
|
||||
self.actionParse_Filename.setIcon( QtGui.QIcon('graphics/parse.png') )
|
||||
self.actionSearchOnline.setIcon( QtGui.QIcon('graphics/search.png') )
|
||||
self.actionAutoSearch.setIcon( QtGui.QIcon('graphics/auto.png') )
|
||||
self.actionClearEntryForm.setIcon( QtGui.QIcon('graphics/clear.png') )
|
||||
self.actionPageBrowser.setIcon( QtGui.QIcon('graphics/browse.png') )
|
||||
|
||||
self.toolBar.addAction( self.actionLoad )
|
||||
self.toolBar.addAction( self.actionWrite_Tags )
|
||||
self.toolBar.addAction( self.actionParse_Filename )
|
||||
self.toolBar.addAction( self.actionQuery_Online )
|
||||
self.toolBar.addAction( self.actionSearchOnline )
|
||||
self.toolBar.addAction( self.actionAutoSearch )
|
||||
self.toolBar.addAction( self.actionClearEntryForm )
|
||||
self.toolBar.addAction( self.actionPageBrowser )
|
||||
#self.toolBar.addAction( self.actionRemoveCBLTags )
|
||||
#self.toolBar.addAction( self.actionRemoveCRTags )
|
||||
|
||||
|
@ -19,6 +19,9 @@
|
||||
<property name="windowTitle">
|
||||
<string>ComicTagger</string>
|
||||
</property>
|
||||
<property name="unifiedTitleAndToolBarOnMac">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
@ -949,11 +952,19 @@
|
||||
<string>Tags</string>
|
||||
</property>
|
||||
<addaction name="actionParse_Filename"/>
|
||||
<addaction name="actionQuery_Online"/>
|
||||
<addaction name="actionSearchOnline"/>
|
||||
<addaction name="actionAutoSearch"/>
|
||||
<addaction name="actionClearEntryForm"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuWindow">
|
||||
<property name="title">
|
||||
<string>Window</string>
|
||||
</property>
|
||||
<addaction name="actionPageBrowser"/>
|
||||
</widget>
|
||||
<addaction name="menuComicTagger"/>
|
||||
<addaction name="menuTags"/>
|
||||
<addaction name="menuWindow"/>
|
||||
<addaction name="menuHelp"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="toolBar">
|
||||
@ -963,6 +974,12 @@
|
||||
<property name="movable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="allowedAreas">
|
||||
<set>Qt::NoToolBarArea</set>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonFollowStyle</enum>
|
||||
</property>
|
||||
<property name="floatable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
@ -1004,14 +1021,14 @@
|
||||
<string>Parse Filename</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuery_Online">
|
||||
<action name="actionSearchOnline">
|
||||
<property name="text">
|
||||
<string>Query Online</string>
|
||||
<string>Search Online</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionClearEntryForm">
|
||||
<property name="text">
|
||||
<string>Clear Entry Form</string>
|
||||
<string>Clear Form</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRemoveCRTags">
|
||||
@ -1044,6 +1061,34 @@
|
||||
<string>Settings...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAutoSearch">
|
||||
<property name="text">
|
||||
<string>Search and Auto-Select</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Auto-Select</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Search online for tags and auto-select best match</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Search online for tags and auto-select best match</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPageBrowser">
|
||||
<property name="text">
|
||||
<string>Show Page Browser</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Page Browser</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show the Page Browser to inspect the comic</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Page Browser to inspect the comic</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources/>
|
||||
|