Version: 3.0.1 (using KDE 3.2.1, Gentoo) Compiler: gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) OS: Linux (i686) release 2.6.3-gentoo-r1 When I click on a .ui file in the project tree, kdevelop opens a gray empty editor window/tab (without any contents), and a kuiviewer-like dialog pops up. If I close the popup, an empty gray window stays visible in kdevelop. I have to close it, and re-open the file from the project tree to see the dialog again.
It's not only "kuiviewer-like", it IS KUIViewer. :) The problem is that KUIViewer doesn't "embed" dialogs, and that dialogs can be closed without the KUIViewer part closing. If this is a bug, it is KUIViewer's bug. BTW, for KDevelop use, you probably want to use Qt-Designer instead. This was unfortunately not properly fixed until KDevelop-3.0.2. With 3.0.2 and designer as the preferred handler of ".ui"-files in the KDE file association settings, clicking a .ui in KDevelop will launch Designer.
KUI Viewer just renders the widget. If the ui file was a QDialog it will pop up unrooted. If the widget is not a QDialog, then this is a bug, please post the UI file here and I will resolve it.
Thanks a lot for your clarifications, and quick response. Should I report a bug for KUIViewer, or will you attempt to address this problem in kdevelop? I'm not certain whether it's the default setting to open .ui files with KUIViewer, but I hope I don't have to change this setting for Konqueror. I like the option to preview a .ui file quickly without waiting for qtdesigner to load.
This problem appears to be fixed in KDevelop 3.1