Browse Source

removed splitter.qml

cl-refactor
arkpar 10 years ago
parent
commit
fca289876f
  1. 1
      libjsqrc/ethereumjs/dist/ethereum.js
  2. 47
      mix/qml/Splitter.qml
  3. 1
      mix/res.qrc

1
libjsqrc/ethereumjs/dist/ethereum.js

@ -903,7 +903,6 @@ var ProviderManager = function() {
data.data._id = self.id; data.data._id = self.id;
self.id++; self.id++;
var result = self.provider.send(data.data); var result = self.provider.send(data.data);
result = JSON.parse(result); result = JSON.parse(result);
// dont call the callback if result is not an array, or empty one // dont call the callback if result is not an array, or empty one

47
mix/qml/Splitter.qml

@ -1,47 +0,0 @@
import QtQuick 2.2
Rectangle {
property variant itemToStick;
property int itemMinimumWidth;
property string direction;
property variant brother;
Component.onCompleted:
{
if (direction === "left")
anchors.right = itemToStick.left;
else if (direction === "right")
anchors.left = itemToStick.right;
}
width: 5
height: parent.height
anchors.top: parent.top;
MouseArea
{
property int startX: 0;
anchors.fill: parent
onPressed: startX = mouseX;
onPositionChanged:
{
parent.x += mouseX;
var diff = 0;
if (direction == "left")
diff = mouseX - startX;
else if (direction == "right")
diff = -(mouseX - startX);
if (itemMinimumWidth > itemToStick.width - diff)
{
brother.width = brother.width + diff;
itemToStick.width = itemMinimumWidth;
}
else
{
brother.width = brother.width + diff;
itemToStick.width = itemToStick.width - diff;
}
}
cursorShape: Qt.SizeHorCursor
}
}

1
mix/res.qrc

@ -44,7 +44,6 @@
<file>qml/BigIntValue.qml</file> <file>qml/BigIntValue.qml</file>
<file>qml/js/QEtherHelper.js</file> <file>qml/js/QEtherHelper.js</file>
<file>qml/js/TransactionHelper.js</file> <file>qml/js/TransactionHelper.js</file>
<file>qml/Splitter.qml</file>
<file>qml/ContractLibrary.qml</file> <file>qml/ContractLibrary.qml</file>
<file>stdc/config.sol</file> <file>stdc/config.sol</file>
<file>stdc/namereg.sol</file> <file>stdc/namereg.sol</file>

Loading…
Cancel
Save