Changeset View
Changeset View
Standalone View
Standalone View
src/app/qml/listcomponents/BookTileTall.qml
Show All 25 Lines | |||||
26 | 26 | | |||
27 | /** | 27 | /** | ||
28 | * @brief A button to select a book to read with a nice big thumbnail. | 28 | * @brief A button to select a book to read with a nice big thumbnail. | ||
29 | */ | 29 | */ | ||
30 | Item { | 30 | Item { | ||
31 | id: root; | 31 | id: root; | ||
32 | property bool selected: false; | 32 | property bool selected: false; | ||
33 | property alias title: bookTitle.text; | 33 | property alias title: bookTitle.text; | ||
34 | property string author; | 34 | property var author: []; | ||
35 | property string filename; | 35 | property string filename; | ||
36 | property int categoryEntriesCount; | 36 | property int categoryEntriesCount; | ||
37 | property string currentPage; | 37 | property string currentPage; | ||
38 | property string totalPages; | 38 | property string totalPages; | ||
39 | property double progress: currentPage / totalPages; | 39 | property double progress: currentPage / totalPages; | ||
40 | property string thumbnail; | 40 | property string thumbnail; | ||
41 | property bool pressIndicator: false; | 41 | property bool pressIndicator: false; | ||
42 | signal bookSelected(string filename, int currentPage); | 42 | signal bookSelected(string filename, int currentPage); | ||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |