Changeset View
Changeset View
Standalone View
Standalone View
src/creator/qml/CreateNewBook.qml
Show All 19 Lines | |||||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | import QtQuick 2.2 | 22 | import QtQuick 2.2 | ||
23 | import QtQuick.Dialogs 1.2 | 23 | import QtQuick.Dialogs 1.2 | ||
24 | import QtQuick.Controls 2.2 as QtControls | 24 | import QtQuick.Controls 2.2 as QtControls | ||
25 | 25 | | |||
26 | import org.kde.kirigami 2.1 as Kirigami | 26 | import org.kde.kirigami 2.1 as Kirigami | ||
27 | import org.kde.peruse 0.1 as Peruse | 27 | import org.kde.peruse 0.1 as Peruse | ||
28 | 28 | /** | |||
29 | * @brief page with a form for creating a new comic. | ||||
30 | * | ||||
31 | * It asks for the default title, folder and cover image, | ||||
32 | * and when done it open the new book in Book. | ||||
33 | */ | ||||
29 | Kirigami.Page { | 34 | Kirigami.Page { | ||
30 | id: root; | 35 | id: root; | ||
31 | property string categoryName: "createNewBook"; | 36 | property string categoryName: "createNewBook"; | ||
32 | title: i18nc("title of the new book creation page", "Create New Book"); | 37 | title: i18nc("title of the new book creation page", "Create New Book"); | ||
33 | 38 | | |||
34 | actions { | 39 | actions { | ||
35 | main: Kirigami.Action { | 40 | main: Kirigami.Action { | ||
36 | text: i18nc("Accept button which will create a new book", "Create Book"); | 41 | text: i18nc("Accept button which will create a new book", "Create Book"); | ||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |