This commit is contained in:
Kovid Goyal 2011-03-02 16:21:08 -07:00
parent 4ca767b9fc
commit 9fe3d1a44b
2 changed files with 4 additions and 2 deletions

View File

@ -107,6 +107,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
'yesno': 9,
'tags' : 1,
'series': 3,
'rating': 8,
}.get(which, 10))
self.column_name_box.setText(which)
self.column_heading_box.setText({
@ -115,6 +116,7 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
'yesno':_('Yes/No'),
'tags': _('My Tags'),
'series': _('My Series'),
'rating': _('My Rating'),
'last_modified':_('Last Modified')}[which])
if self.composite_box.isVisible():
self.composite_box.setText(

View File

@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>603</width>
<height>292</height>
<height>344</height>
</rect>
</property>
<property name="sizePolicy">
@ -267,7 +267,7 @@ four values, the first of them being the empty value.</string>
<item row="3" column="0">
<widget class="QLabel" name="shortcuts">
<property name="text">
<string>Quick create: &lt;a href=&quot;col:isbn&quot; title=&quot;Show the books' ISBN in the column&quot;&gt;ISBN&lt;/a&gt;, &lt;a href=&quot;col:formats&quot; title=&quot;Show the books' formats in the column&quot;&gt;Formats&lt;/a&gt;, &lt;a href=&quot;col:last_modified&quot; title=&quot;Show the date the books' metadata was last modified in the column&quot;&gt;Last Modified&lt;/a&gt;, &lt;a href=&quot;col:yesno&quot;&gt;Yes/No&lt;/a&gt;, &lt;a href=&quot;col:tags&quot;&gt;Tags&lt;/a&gt;, &lt;a href=&quot;col:series&quot;&gt;Series&lt;/a&gt;</string>
<string>Quick create: &lt;a href=&quot;col:isbn&quot; title=&quot;Show the books' ISBN in the column&quot;&gt;ISBN&lt;/a&gt;, &lt;a href=&quot;col:formats&quot; title=&quot;Show the books' formats in the column&quot;&gt;Formats&lt;/a&gt;, &lt;a href=&quot;col:last_modified&quot; title=&quot;Show the date the books' metadata was last modified in the column&quot;&gt;Last Modified&lt;/a&gt;, &lt;a href=&quot;col:yesno&quot;&gt;Yes/No&lt;/a&gt;, &lt;a href=&quot;col:tags&quot;&gt;Tags&lt;/a&gt;, &lt;a href=&quot;col:series&quot;&gt;Series&lt;/a&gt;, &lt;a href=&quot;col:rating&quot;&gt;Rating&lt;/a&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>