It is currently Sun Dec 15, 2019 2:56 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: QEdit = EditorGadget (Access to QTextCursor)
PostPosted: Sat Jun 30, 2018 10:33 pm 
Offline
User
User

Joined: Sat Jun 23, 2018 5:21 pm
Posts: 99
Hello,
how to access internal QT class structures / members ("Probably used by PureBasic?)

(Move cursor)
QTextCursor :: position
(setPosition, movePosition, ...)

Maybe not implemented yet ? (For QTScript)

.......

And I need examples of:

QtScript(~"runtime.set(...)")

It is working:
Code:
test = 12
Runtime test
QtScript(~"runtime.set(\"test\", 24)")
Debug test


Can I use that for any other internal QT stuff?

So far you can only get a lot, but how can you adjust that (set) ?
For example: (It is working)
Code:
test = "12"
Runtime test
QtScript(~"runtime.set(\"test\", gadget(1).pos);")
Debug test
QtScript(~"var p = \"3, 5\"; gadget(1).pos = p; runtime.set(\"test\", p);")
Debug test
QtScript(~"runtime.set(\"test\", gadget(1).pos);")


How can I use QPoint, QCursor, ...?
Is this usable via QML in PureBasic?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye