Ubuntu Pastebin

Paste from cimi at Wed, 28 Jan 2015 12:50:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    GenericScopeView {
        id: scopeItem
        objectName: "dashTempScopeItem"

        property var scopeThatOpenedScope: null

        x: dashContent.x + width
        y: dashContent.y
        width: parent.width
        height: parent.height
        visible: scope != null
        hasBackAction: true
        isCurrent: visible
        onBackClicked: {
            closeOverlayScope();
            closePreview();
        }

        Connections {
            target: scopeItem.scope
            onGotoScope: {
                dashContent.gotoScope(scopeId);
            }
            onOpenScope: {
                scopeItem.closePreview();
                var replacedScope = scopeItem.scope;
                scopeItem.scope = scope;
                scopeItem.scopeThatOpenedScope.closeScope(replacedScope);
            }
        }
    }
Download as text