Re: [Interest] QFileDialog Qt5

2015-12-17 Thread Duane
On 17/12/2015 3:15 AM, Jan Dasselaar wrote: On 16-12-2015 15:02, Duane wrote: 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() with Q

Re: [Interest] QFileDialog Qt5

2015-12-17 Thread Jan Dasselaar
On 16-12-2015 15:02, Duane wrote: 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() with Qt4 but with Qt5 this returns null. Any sugge

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 10:33 AM, Jan Dasselaar wrote: On 16-12-2015 16:16, Duane wrote: 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.

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Jan Dasselaar
On 16-12-2015 16:16, Duane wrote: 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.

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Giuseppe D'Angelo
Il 16/12/2015 14:10, Duane ha scritto: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? Where are you doing that findChild? A non-native QFileDialog is lazily populated. T

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
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() w

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread André Somers
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() with Qt4 but with Qt5 this returns null. Any

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread 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() with Qt4 but with Qt5 this returns null. Any suggestions? XY problem. Why do you n

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Duane
On 16/12/2015 8:14 AM, André Somers wrote: Op 16/12/2015 om 14:10 schreef Duane: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? Are you sure you are not getting a nativ

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread Thiago Macieira
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() with Qt4 but with > Qt5 this returns null. Any suggestions? XY problem. Why do you need to get the pointer to the line edit? Wha

Re: [Interest] QFileDialog Qt5

2015-12-16 Thread André Somers
Op 16/12/2015 om 14:10 schreef Duane: I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? Are you sure you are not getting a native file dialog? If so, then obviously there

[Interest] QFileDialog Qt5

2015-12-16 Thread Duane
I'm subclassing a QFileDialog. I need to get a pointer to the filename box. I was doing this with findChild() with Qt4 but with Qt5 this returns null. Any suggestions? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/m