mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a link to the moving calibre data instructions tothe welcome wizard. Fixes #1809203 [[Enhancement] - New installs](https://bugs.launchpad.net/calibre/+bug/1809203)
This commit is contained in:
parent
e35dbe4401
commit
5961223f77
@ -652,6 +652,11 @@ class LibraryPage(QWizardPage, LibraryUI):
|
|||||||
self.init_languages()
|
self.init_languages()
|
||||||
self.language.currentIndexChanged[int].connect(self.change_language)
|
self.language.currentIndexChanged[int].connect(self.change_language)
|
||||||
self.location.textChanged.connect(self.location_text_changed)
|
self.location.textChanged.connect(self.location_text_changed)
|
||||||
|
self.move_lib_label.setText(_(
|
||||||
|
'If you are moving calibre from an old computer to a new one,'
|
||||||
|
' please read <a href="{0}">the instructions</a>.').format(
|
||||||
|
localize_user_manual_link(
|
||||||
|
'https://manual.calibre-ebook.com/faq.html#how-do-i-move-my-calibre-data-from-one-computer-to-another')))
|
||||||
|
|
||||||
def location_text_changed(self, newtext):
|
def location_text_changed(self, newtext):
|
||||||
self.completeChanged.emit()
|
self.completeChanged.emit()
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<string>WizardPage</string>
|
<string>WizardPage</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Welcome to calibre</string>
|
<string>Welcome &to calibre</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="subTitle">
|
<property name="subTitle">
|
||||||
<string>The one stop solution to all your e-book needs.</string>
|
<string>The one stop solution to all your e-book needs.</string>
|
||||||
@ -30,25 +30,18 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1" colspan="2">
|
<item row="1" column="0">
|
||||||
<widget class="QComboBox" name="language"/>
|
<spacer name="verticalSpacer">
|
||||||
</item>
|
<property name="orientation">
|
||||||
<item row="2" column="0" colspan="3">
|
<enum>Qt::Vertical</enum>
|
||||||
<widget class="QLabel" name="libloc_label1">
|
|
||||||
<property name="text">
|
|
||||||
<string><p>Choose a location for your books. When you add books to calibre, they will be copied here. Use an <b>empty folder</b> for a new calibre library:</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="sizeHint" stdset="0">
|
||||||
<bool>true</bool>
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</spacer>
|
||||||
</item>
|
|
||||||
<item row="3" column="0" colspan="2">
|
|
||||||
<widget class="QLineEdit" name="location">
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="2">
|
<item row="3" column="2">
|
||||||
<widget class="QPushButton" name="button_change">
|
<widget class="QPushButton" name="button_change">
|
||||||
@ -67,18 +60,12 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="3" column="0" colspan="2">
|
||||||
<spacer name="verticalSpacer">
|
<widget class="QLineEdit" name="location">
|
||||||
<property name="orientation">
|
<property name="readOnly">
|
||||||
<enum>Qt::Vertical</enum>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
</widget>
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0">
|
<item row="5" column="0">
|
||||||
<spacer name="verticalSpacer_2">
|
<spacer name="verticalSpacer_2">
|
||||||
@ -93,6 +80,35 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="0" column="1" colspan="2">
|
||||||
|
<widget class="QComboBox" name="language"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0" colspan="3">
|
||||||
|
<widget class="QLabel" name="libloc_label1">
|
||||||
|
<property name="text">
|
||||||
|
<string><p>Choose a location for your books. When you add books to calibre, they will be copied here. Use an <b>empty folder</b> for a new calibre library:</string>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="0" colspan="3">
|
||||||
|
<widget class="QLabel" name="move_lib_label">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="textFormat">
|
||||||
|
<enum>Qt::RichText</enum>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user