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.
|
|
|
import QtQuick 2.2
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: contractLibrary
|
|
|
|
property alias model: contractListModel;
|
|
|
|
|
|
|
|
Connections {
|
|
|
|
target: appContext
|
|
|
|
Component.onCompleted: {
|
|
|
|
|
|
|
|
//TODO: load a list, dependencies, ets, from external files
|
|
|
|
contractListModel.append({
|
|
|
|
name: "Config",
|
|
|
|
url: "qrc:///stdc/std.sol",
|
|
|
|
});
|
|
|
|
contractListModel.append({
|
|
|
|
name: "NameReg",
|
|
|
|
url: "qrc:///stdc/std.sol",
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ListModel {
|
|
|
|
id: contractListModel
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|