Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.2
- import QtQuick.Layouts 1.1
- import org.kde.plasma.plasmoid 2.0
- import org.kde.plasma.core 2.0 as PlasmaCore
- import org.kde.kcoreaddons 1.0 as KCoreAddons
- import QtQuick.Controls 1.0
- Item {
- id: fullRepresentation
- property date date: new Date()
- property string month: Qt.formatDate(fullRepresentation.date, "MM")
- property int imageWidth: 460
- property int imageHeight: 724
- width: imageWidth
- height: imageHeight
- Image {
- id: monthImage
- source: 'images/' + month + '.jpg'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment