Skip to content

Instantly share code, notes, and snippets.

@bitwalk123
bitwalk123 / flowlayout.py
Created November 12, 2021 00:50 — forked from minoue/flowlayout.py
PySide flowlayout
#!/usr/bin/env python
#############################################################################
##
## Copyright (C) 2010 Riverbank Computing Limited.
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
## All rights reserved.
##
## This file is part of the examples of PyQt.
@bitwalk123
bitwalk123 / LineChartZoomable.java
Last active April 6, 2016 03:14 — forked from james-d/ZoomableLineChart.java
LineChartZoomable class that can be zoomed via mouse.
package linechartzoomable;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.geometry.Point2D;
import javafx.scene.chart.Axis;
import javafx.scene.chart.LineChart;
import javafx.scene.chart.NumberAxis;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.StackPane;
@bitwalk123
bitwalk123 / AnalogClock.java
Last active October 7, 2019 17:40 — forked from jewelsea/Clock.java
Clock in JavaFX
package clock;
/*
Reference
https://gist.github.com/jewelsea/2658491
*/
import java.util.Calendar;
import java.util.GregorianCalendar;
import javafx.animation.Animation;
import javafx.animation.Interpolator;