I have tried other things as well, but this one makes the most sense to me, but is unsuccessful (ends up to the upper left of the main window screen). Is there an easier way to do this? There is a bunch of old threads on this on other forums but non have had any successful conclusions...

In a nutshell, I want the center of my dialog box to be the same point as the center of the mainwindow.

I think setting the size policy of the Dialog window is irrelevant to this issue...I have the horizontal and vertical set to fixed since I don't want to allow re-sizing of the dialog window. Usually the size policy is used when using a QLayout of some sort. From my understanding, this will not "center" the window.

1+1=2, I will try to override the show event and just set some public variables to the x and y values instead of calling the function, before the show and see if this works.

Does the window size/geometry not get calculated until the showEvent() is called? I am adding widgets and what not in my constructor so I just figured it would be calculated once the constructor has completed.

Thanks!

Edit: I replaced the code I posted above into the show event and it worked perfectly. Thank you again.