Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MouseArea{
- Item {
- width: parent.width
- height: 70
- RowLayout {
- anchors.fill: parent
- spacing: 10
- Rectangle {
- width: 5
- height: 70
- }
- Rectangle {
- width: 40
- height: 40
- radius: 50
- }
- ColumnLayout {
- Text {
- text: '<b>Name:</b> ' + name
- visible: !renameSpace.visible
- }
- TextField{
- id: renameSpace
- height: 25
- visible: false
- onAccepted: { khipuModel.rename(renameSpace.text); renameSpace.visible = false }
- text: "new space name"
- focus: true
- }
- Text {
- text: '<b>Type:</b> ' + type
- }
- }
- }
- }
- onClicked: {
- spacesList.currentIndex = index
- }
- onDoubleClicked: {
- renameSpace.visible = true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement