QtScript enhancements

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
wombats
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Dec 29, 2011 5:03 pm

QtScript enhancements

Post by wombats »

I'm really liking the Qt subsystem on Linux, but there are things I'm able to do with WinAPI and CocoaMessage that I can't do with QtScript. Would you consider implementing these, please?

WebGadget

I'd like to be able to determine if the WebGadget is able to go back or forwards on Linux with Qt. I am able to do this with CocoaScript on macOS and COMatePlus on Windows, but QtScript doesn't seem to give me access to what I need to do it on Linux.

QWebView has a history() function that returns a pointer to a QWebHistory object which in turn has canGoBack() and canGoForward() functions. Could support to access these be added to QtScript()?

Thank you.
wombats
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Dec 29, 2011 5:03 pm

Re: QtScript enhancements

Post by wombats »

ComboBoxGadget

showPopup - https://doc.qt.io/qt-5/qcombobox.html#showPopup
hidePopup - https://doc.qt.io/qt-5/qcombobox.html#hidePopup

StringGadget

setSelection - https://doc.qt.io/qt-5/qlineedit.html#setSelection

CanvasGadget/OpenGLGadget

Custom cursor (viewtopic.php?f=15&t=72287)

TreeGadget/ListIconGadget

editItem - https://doc.qt.io/qt-5/qtreewidget.html#editItem
Post Reply