Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
KochynVolodymyr opened this issue Mar 9, 2022 · 2 comments
Assignees

Comments

@KochynVolodymyr
Copy link
Contributor

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
Copy link
Contributor Author

This is basically done since no any other requirement.

@alain-rs
Copy link
Contributor

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

shivaahir1508 pushed a commit that referenced this issue Jun 15, 2023
* openfpga fix

* openfpga script fix

Co-authored-by: Alain Dargelas <alain.dargelas@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants