qt creator - where is the generated code of "Qt Signals/Slots editor"? -
qtcreator 2.7.2 ,i use qt creator design connection , can see in file *.ui ,but can't find in generated file ui_*.h after build, ? i'm curious.
it's there, end of setupui method. better.
for instance, chunk in .ui
<connections> <connection> <sender>checkbox</sender> <signal>toggled(bool)</signal> <receiver>checkbox_2</receiver> <slot>setchecked(bool)</slot> </connection> </connections>
results in
qobject::connect(checkbox, signal(toggled(bool)), checkbox_2, slot(setchecked(bool)));
in generated header.
Comments
Post a Comment