Changeset View
Changeset View
Standalone View
Standalone View
src/creator/qml/AddPageSheet.qml
Show All 18 Lines | |||||
19 | * | 19 | * | ||
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 | 27 | /** | |||
28 | * @brief overlay with options for adding a page. | ||||
29 | * | ||||
30 | * It is accessed from Book | ||||
31 | */ | ||||
28 | Kirigami.OverlaySheet { | 32 | Kirigami.OverlaySheet { | ||
29 | id: root; | 33 | id: root; | ||
30 | property int addPageAfter: 0; | 34 | property int addPageAfter: 0; | ||
31 | property QtObject model; | 35 | property QtObject model; | ||
32 | Column { | 36 | Column { | ||
33 | height: childrenRect.height; | 37 | height: childrenRect.height; | ||
34 | spacing: Kirigami.Units.smallSpacing; | 38 | spacing: Kirigami.Units.smallSpacing; | ||
35 | Kirigami.Heading { | 39 | Kirigami.Heading { | ||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |