Changing zoom to doubles.
This commit is contained in:
parent
c15da47743
commit
21f7ce3133
2 changed files with 6 additions and 6 deletions
|
@ -31,8 +31,8 @@ Canvas {
|
||||||
|
|
||||||
property double xmin: 0
|
property double xmin: 0
|
||||||
property double ymax: 0
|
property double ymax: 0
|
||||||
property int xzoom: 10
|
property double xzoom: 10
|
||||||
property int yzoom: 10
|
property double yzoom: 10
|
||||||
property string xaxisstep: "4"
|
property string xaxisstep: "4"
|
||||||
property string yaxisstep: "4"
|
property string yaxisstep: "4"
|
||||||
property string xlabel: ""
|
property string xlabel: ""
|
||||||
|
|
|
@ -27,8 +27,8 @@ ScrollView {
|
||||||
|
|
||||||
property int settingWidth: settings.width - ScrollBar.vertical.width
|
property int settingWidth: settings.width - ScrollBar.vertical.width
|
||||||
|
|
||||||
property int xzoom: 100
|
property double xzoom: 100
|
||||||
property int yzoom: 10
|
property double yzoom: 10
|
||||||
property double xmin: 5/10
|
property double xmin: 5/10
|
||||||
property double ymax: 25
|
property double ymax: 25
|
||||||
property string xaxisstep: "4"
|
property string xaxisstep: "4"
|
||||||
|
@ -68,7 +68,7 @@ ScrollView {
|
||||||
TextSetting {
|
TextSetting {
|
||||||
id: zoomX
|
id: zoomX
|
||||||
height: 30
|
height: 30
|
||||||
isInt: true
|
isDouble: true
|
||||||
label: "X Zoom"
|
label: "X Zoom"
|
||||||
min: 1
|
min: 1
|
||||||
icon: "icons/settings/xzoom.svg"
|
icon: "icons/settings/xzoom.svg"
|
||||||
|
@ -83,7 +83,7 @@ ScrollView {
|
||||||
TextSetting {
|
TextSetting {
|
||||||
id: zoomY
|
id: zoomY
|
||||||
height: 30
|
height: 30
|
||||||
isInt: true
|
isDouble: true
|
||||||
label: "Y Zoom"
|
label: "Y Zoom"
|
||||||
icon: "icons/settings/yzoom.svg"
|
icon: "icons/settings/yzoom.svg"
|
||||||
width: settings.settingWidth
|
width: settings.settingWidth
|
||||||
|
|
Loading…
Reference in a new issue