[Interest] QFileDialog Qt5

Duane duane.hebert at group-upc.com
Wed Dec 16 16:16:58 CET 2015


On 16/12/2015 9:24 AM, André Somers wrote:
>
>
> Op 16/12/2015 om 15:02 schreef Duane:
>> On 16/12/2015 8:53 AM, Thiago Macieira wrote:
>>> On Wednesday 16 December 2015 08:10:44 Duane wrote:
>>>> I'm subclassing a QFileDialog.  I need to get a pointer to the filename
>>>> box.  I was doing this with findChild<QLineEdit*>() with Qt4 but with
>>>> Qt5 this returns null.  Any suggestions?
>>>
>>> XY problem. Why do you need to get the pointer to the line edit? What
>>> are you
>>> trying to do?
>>>
>>
>> Not sure what you mean by XY problem.
> http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem
>
> André
>

:-)

So my question should have been how can I get the filename that the user 
enters in the filedialog.








More information about the Interest mailing list