In "launchPcDialog" you are creating an instance of PartCountEditorDialog, which creates the UI elements, and then you create another set of UI elements that the dialog has no access to.
So the code in your showPartDescription slot accesses the first set of elements, which is no longer visible since they are hidden by the second second set.
Just don't create the second set.
Cheers,
_
Bookmarks