Changeset View
Changeset View
Standalone View
Standalone View
examples/simpleexamples/customdrawer.qml
Show All 12 Lines | |||||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public | ||
15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.1 | 20 | import QtQuick 2.1 | ||
21 | import org.kde.kirigami 1.0 as Kirigami | 21 | import org.kde.kirigami 2.0 as Kirigami | ||
22 | 22 | | |||
23 | Kirigami.ApplicationWindow { | 23 | Kirigami.ApplicationWindow { | ||
24 | id: root | 24 | id: root | ||
25 | 25 | | |||
26 | globalDrawer: Kirigami.OverlayDrawer { | 26 | globalDrawer: Kirigami.OverlayDrawer { | ||
27 | contentItem: Rectangle { | 27 | contentItem: Rectangle { | ||
28 | implicitWidth: Kirigami.Units.gridUnit * 10 | 28 | implicitWidth: Kirigami.Units.gridUnit * 10 | ||
29 | color: "red" | 29 | color: "red" | ||
Show All 21 Lines |