Hi All,
I'm trying to get the value of an inputted value off a widget in a *.ui file, how do i do that?
Here's my code:
var ui_root; function cb_entryBox() { //How do we get the entry box value?"); } function ui_setup() { ui_root = new DzDialog(); var ui_loader = new DzUiLoader(); var widget = ui_loader.load("/some/path/test.ui", ui_root); var entryBox = widget.findChildOfWidget("lineEdit"); connect(entryBox, "returnPressed()", cb_entryBox); } ui_setup(); ui_root.exec();
Any pointers would be much appreciated (pun intended)