Re: [Interest] QWindows and objectNames

2021-09-24 Thread Thiago Macieira
On Friday, 24 September 2021 06:27:31 PDT Tor Arne Vestbø wrote: > That’s expected. The name of your widget is “myMainWindow”. The name of the > QWindow (QWidgetWindow) backing that QWidget has the widget name with a > “Window” suffix. > > Renaming your widget to “myMainWindowWidget” will make it

Re: [Interest] QWindows and objectNames

2021-09-24 Thread Tor Arne Vestbø
Hi, That’s expected. The name of your widget is “myMainWindow”. The name of the QWindow (QWidgetWindow) backing that QWidget has the widget name with a “Window” suffix. Renaming your widget to “myMainWindowWidget” will make it clearer :) Cheers, Tor Arne > On 24 Sep 2021, at 12:57, Yves Mauri

[Interest] QWindows and objectNames

2021-09-24 Thread Yves Maurischat
Hello, I've got an application (Qt 5.14.2 on Windows) with a MainWindow class derived from QWidget and with the flag Qt::Window set. In the MainWindow constructor the objectName is set to "myMainWindow". When iterating over all application windows using QGuiApplication::allWindows() (there is