Browse Source

Create file: blank.fb2

Kandrashin Denis 13 years ago
parent
commit
619fd7999c
3 changed files with 22 additions and 2 deletions
  1. 2 1
      source/fb2edit.pro
  2. 18 0
      source/res/blank.fb2
  3. 2 1
      source/res/fb2edit.qrc

+ 2 - 1
source/fb2edit.pro

@@ -35,7 +35,8 @@ QT += network
 
 LIBS += -lqscintilla2
 
-OTHER_FILES += res/style.css
+OTHER_FILES += res/style.css \
+    res/blank.fb2
 
 if (win32) {
 

+ 18 - 0
source/res/blank.fb2

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fictionbook>
+  <description>
+    <title-info>
+      <author>
+        <first-name></first-name>
+        <middle-name></middle-name>
+        <last-name></last-name>
+      </author>
+      <book-title>Заголовок книги</book-title>
+      <annotation>Текст аннотации</annotation>
+    </title-info>
+  </description>
+  <body>
+    <title><p>Заголовок</p></title>
+    <section><p>Основной текст</p></section>
+  </body>
+</fictionbook>

+ 2 - 1
source/res/fb2edit.qrc

@@ -42,7 +42,8 @@
         <file>24/zoom-in.png</file>
         <file>24/zoom-original.png</file>
         <file>24/zoom-out.png</file>
+        <file>blank.fb2</file>
         <file>style.css</file>
-		<file alias ="ts/ru.qm">../ts/ru.qm</file>
+        <file alias="ts/ru.qm">../ts/ru.qm</file>
     </qresource>
 </RCC>