FOEDAG icon indicating copy to clipboard operation
FOEDAG copied to clipboard

Add possibility to transfer qt widgets into tcl for the testing purposes

Open KochynVolodymyr opened this issue 2 years ago • 2 comments

We want to have access to qt widgets from tcl scripts. For example:

% set widget [expr getWidget "console"]
% ...

@alain-rs please describe more requirements for this feature.

KochynVolodymyr avatar Mar 09 '22 13:03 KochynVolodymyr

This is basically done since no any other requirement.

KochynVolodymyr avatar Jun 14 '22 22:06 KochynVolodymyr

Examples:

set widget [getWidget "console"] send_action $widget "text_entry" "Hello!" send_action $widget "text_clear"

set widget [getWidget "editor"] send_action $widget "open_file" "test.v" set widget [getWidget "editor" "test.v"] send_action $widget "highlight" "test.v" 10 << Line

alain-rs avatar Oct 19 '22 03:10 alain-rs