Changeset View
Changeset View
Standalone View
Standalone View
src/app/qml/listcomponents/BookTile.qml
Show All 18 Lines | |||||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | import QtQuick 2.1 | 22 | import QtQuick 2.1 | ||
23 | import QtQuick.Controls 2.2 as QtControls | 23 | import QtQuick.Controls 2.2 as QtControls | ||
24 | 24 | | |||
25 | import org.kde.kirigami 2.1 as Kirigami | 25 | import org.kde.kirigami 2.1 as Kirigami | ||
26 | 26 | | |||
27 | /** | ||||
28 | * @brief small window with book information. | ||||
29 | * | ||||
30 | * This shows a bit of information about the book and gives a | ||||
31 | * selector with the other books in the series. | ||||
32 | * | ||||
33 | * It pops up after finishing a book in Book, and when pressing long | ||||
34 | * on a BookTileTall item in BookShelf. | ||||
35 | * | ||||
36 | */ | ||||
27 | Item { | 37 | Item { | ||
28 | id: root; | 38 | id: root; | ||
29 | property bool selected: false; | 39 | property bool selected: false; | ||
30 | property alias title: bookTitle.text; | 40 | property alias title: bookTitle.text; | ||
31 | property string author; | 41 | property string author; | ||
32 | property string publisher; | 42 | property string publisher; | ||
33 | property alias filename: bookFile.text; | 43 | property alias filename: bookFile.text; | ||
34 | property alias thumbnail: coverImage.source; | 44 | property alias thumbnail: coverImage.source; | ||
▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines |