mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Document the new file button
This commit is contained in:
parent
8da8e4ea5a
commit
f94cea6a52
@ -150,7 +150,7 @@ from the OPF file, saving you that chore. However, references in other places
|
||||
are not removed, you can use the Check Book tool to easily find and
|
||||
remove/replace them.
|
||||
|
||||
Export/import of files
|
||||
Export of files
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can export a file from inside the book to somewhere else on your computer.
|
||||
@ -163,6 +163,14 @@ book, by right clicking on the file again and choosing :guilabel:`Replace with
|
||||
file...` which will allow you to replace the file in the book with
|
||||
the previously exported file.
|
||||
|
||||
Adding new images/fonts/etc. or creating new blank files
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can add a new image, font, stylesheet, etc. from your computer into the
|
||||
book by clicking :guilabel:`File->New file`. This lets you either import a file
|
||||
by clicking the :guilabel:`Import resource file` button or create a new blank html file
|
||||
or stylesheet by simply entering the file name into the box for the new file.
|
||||
|
||||
|
||||
Search & Replace
|
||||
-------------------
|
||||
|
@ -616,6 +616,8 @@ class NewFileDialog(QDialog): # {{{
|
||||
bb.rejected.connect(self.reject)
|
||||
self.imp_button = b = bb.addButton(_('Import resource file (image/font/etc.)'), bb.ActionRole)
|
||||
b.setIcon(QIcon(I('view-image.png')))
|
||||
b.setToolTip(_('Import a file from your computer as a new'
|
||||
' file into the book.'))
|
||||
b.clicked.connect(self.import_file)
|
||||
|
||||
self.ok_button = bb.button(bb.Ok)
|
||||
|
Loading…
x
Reference in New Issue
Block a user