Update applications/getquoteshistory/GetQuotesHistoryDraw-v1.3.ring - Window size, Default position, Drawing style (Mountain) & Start by drawing the chart
@@ -91,12 +91,12 @@ myCrumb = "abcdefghijklmnopqrstuvwxyz"
###-------------------------------
### Window Size
- WinLeft = 80 ### 80 Window position on screen
- WinTop = 80 ### 80 Window position on screen
- WinWidth = 1200 ### 1000 Window Size - Horizontal-X WinWidth
- WinHeight = 750 ### 750 Window Size - Vertical-Y WinHeight
- WinRight = WinLeft + WinWidth ### 1080
- WinBottom = WinTop + WinHeight ### 830
+ WinLeft = 80 ### Window position on screen
+ WinTop = 80 ### Window position on screen
+ WinWidth = 800 ### Window Size - Horizontal-X WinWidth
+ WinHeight = 600 ### Window Size - Vertical-Y WinHeight
+ WinRight = WinLeft + WinWidth
+ WinBottom = WinTop + WinHeight
###----------------------------
### Label1 Box Size
@@ -146,9 +146,9 @@ myCrumb = "abcdefghijklmnopqrstuvwxyz"
New qapp {
win1 = new qwidget() {
- ### Position and Size on Screen
+ ### Size on Screen
setwindowtitle("GetQuotesHistory-DrawChart using QPainter")
- setgeometry( WinLeft, WinTop, WinWidth, WinHeight)
+ resize(WinWidth, WinHeight)
win1{ setwindowtitle("Initial Window Position: " +" L " + WinLeft +" T " + WinTop +" Width" + width() +" Height " + height() ) }
@@ -244,6 +244,7 @@ New qapp {
setGeometry(BoxLeft +380+EXTRAWIDTH*2, BoxTop -BoxTop, 80, 20)
alist = ["Line","Bar","Mountain","Actual","Log","HeikenAshi"]
for x in aList additem(x,0) next
+ setCurrentIndex(2)
}
###----------------------------------------------------------
@@ -427,6 +428,7 @@ New qapp {
show()
+ NextSymbol()
}
exec()
}
