Hi Andrew,
I finally got a chance to return to my issue with QEForm.
Description of problem:
A typical usage of QEForm widget is to display a ui file created with
designer.
Often I need to have access to a widget, which is a child of the ui
object, from the parent of the QEForm object.
This is what I have done to test how this could be accomplished.
1. I modified QEForm.h file where I added a public function
QWidget* getUiHandle(){ return(ui);}
2. In my test program I can then get address of the widget in question using
MyWidget* mywidget=qeform->findChild<MyWidget*>("mywidgetobjectname");
This works, but there is no convenient way to tell when the ui pointer
in QEForm object gets a valid address.
I am asking if you could make the following modification to QEForm:
1. add a public function to QEForm.h, something like what I did for testing.
2. add a signal which would be emitted when QEForm is ready for action.
Thank you Andrew,
Zen
- Navigate by Date:
- Prev:
epicsqt and caQtDM Andrew Rhyder
- Next:
Re: QEForm Zenon Szalata
- Index:
2012
2013
2014
<2015>
2016
2017
2018
2019
- Navigate by Thread:
- Prev:
epicsqt and caQtDM Andrew Rhyder
- Next:
Re: QEForm Zenon Szalata
- Index:
2012
2013
2014
<2015>
2016
2017
2018
2019
|