hints in .ui files?
-
Hi,
we found these "hints" inside the connection specifications in some old .ui files:
<connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver> ... </receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> ...
Does anyone know the purpose of these hints? They seem to be a kind of coordinates. But what are they doing in signal slot connections?
-
@tkansgar
I never do connections in Designer. But when you do it draws or shows the sender and receiver on the design canvas somehow, or maybe when you click to show the connections? I suspect you then see those two strings on the canvas near where the sender/receiver are? -
No, I cannot see anything in the Designer canvas, which could be related to the connections. When I display the preview in Designer and click on the buttons in the button box (which is the signal sender), then simply the preview is closed.
Any other ideas?
-
@tkansgar
Try looking in manual? I'm pretty sure there is a visual thing, you need to be viewing signals/slots somewhere in the UI. You can see the XML is a<connection>
, you can see what it is connecting, and you can see the<hints>
element is inside it.