You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
920 B

import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Dialogs 1.1
import QtQuick.Layouts 1.1
import Qt.labs.settings 1.0
import "js/Debugger.js" as Debugger
import "js/ErrorLocationFormater.js" as ErrorLocationFormater
import "."
Rectangle {
10 years ago
color: "#ededed"
property alias bc: blockChain
10 years ago
Connections
{
target: projectModel
onProjectLoaded: {
loader.init()
}
10 years ago
}
10 years ago
Column
{
anchors.margins: 10
anchors.fill: parent
spacing: 10
ScenarioLoader
{
height: 100
10 years ago
width: parent.width
id: loader
}
Connections
{
target: blockChain
onChainChanged:
{
loader.needSaveOrReload()
}
}
10 years ago
Rectangle
{
width: parent.parent.width
10 years ago
height: 1
color: "#cccccc"
}
10 years ago
Connections
{
target: loader
onLoaded:
{
10 years ago
blockChain.load(scenario)
}
}
10 years ago
BlockChain
{
id: blockChain
width: parent.width
}
}
}