-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor release with mainly visual improvements. Code * Pins now align themselves automatically. * Blocks are round and transparent. * Connections are bèzier curves instead of straight line. * Added direction indicators. * Connections go behind the blocks. * Backgrounds looks good in all sizes. Documentation * Added image with new visual aspect. * Added directions for use. Package * Added minimum python version.
- Loading branch information
Showing
34 changed files
with
301 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
<Block>: | ||
# Fixed options | ||
size_hint: None, None | ||
size: '200dp', '75dp' | ||
drag_rectangle: self.x, self.y, self.width, self.height | ||
drag_timeout: 10000000 | ||
drag_distance: 0 | ||
# Fixed options | ||
size_hint: None, None | ||
width: '200dp' | ||
drag_rectangle: self.x, self.y, self.width, self.height | ||
drag_timeout: 10000000 | ||
drag_distance: 0 | ||
label: label | ||
canvas: | ||
Color: | ||
rgb: .2, .2, .2 | ||
Rectangle: | ||
rgba: .15, .15, .15, .8 | ||
RoundedRectangle: | ||
pos: self.pos | ||
size: self.size | ||
#canvas.before: | ||
#Color: | ||
#rgb: 1, 1, 1 | ||
#BorderImage: | ||
#pos: self.x - 5, self.y - 5 | ||
#size: self.width + 10, self.height + 10 | ||
#source: 'tex2.png' | ||
# Children | ||
Label: | ||
pos: root.x, root.y + root.height - 20 | ||
size_hint: None, None | ||
height: '20dp' | ||
# Children | ||
Label: | ||
id: label | ||
pos: root.x, root.y + root.height - 20 | ||
size_hint: None, None | ||
height: '20dp' | ||
width: root.width | ||
text: root.title | ||
canvas.before: | ||
Color: | ||
rgb: root.block_color | ||
Rectangle: | ||
pos: self.pos | ||
size: self.size | ||
canvas.before: | ||
Color: | ||
rgba: [*root.block_color, 0.8] | ||
RoundedRectangle: | ||
pos: self.pos | ||
size: self.size | ||
radius: [(10, 10), (10, 10), (0, 0), (0, 0)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,4 @@ | |
id: inputs | ||
InputPin: | ||
id: in_1 | ||
x: root.x + 5 | ||
y: root.y + root.height / 2 | ||
_type: root.t.DATAFRAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,4 @@ | |
id: inputs | ||
InputPin: | ||
id: in_1 | ||
x: root.x + 5 | ||
y: root.y + root.height / 2 | ||
_type: root.t.ANY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from .types import Type, BlockType, AbstractWidget | ||
from .circularbutton import CircularButton | ||
from .connection import Connection | ||
from .filedialog import FileDialog | ||
from .notification import Notification | ||
from .types import Type, BlockType, AbstractWidget | ||
|
||
from .pin import Pin | ||
from .inpin import InputPin | ||
from .outpin import OutputPin | ||
|
Oops, something went wrong.