Summary: | Need default .ui file for QT Designer | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Mark J. Materna <mjmaterna60193> |
Component: | kdevelop 2.x (obsolete) | Assignee: | KDevelop-Devel List <kdevelop-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mark J. Materna
2003-02-01 06:37:57 UTC
Just add the ui file to your project and it will be compiled automatically (don't forget to rebuild the Makefiles by running configure and friends). KDE doesn't use Qt Designer's Toolbars/Menubars, check the developer documentation on how to use KDE's XML GUI. Harald, What am I not making clear to you?? I realize that you could add the .ui to the project, but no where in the documentation does it cover how to modify the default main window to add tool bars etc. from QT designer. In other words how to add graphicall elements of the default main window main window in the IDE, and then use the IDE to generate the correct files. Currently IDE kicks out to QT designer, but that's about it. It doesn't seem to able to add the changes to the existing project, i.e. change the source so that when the project is built, the change in the GUI is reflected. This is a pretty basic operation of all moden GUI development tools. What are you talking about when you say "KDE doesn't use Qt Designer's Toolbars/Menubars, check the developer documentation on how to use KDE's XML GUI." The KDE Development users manual is very poor in this respect (section 4.3) It acccutal suggests using QT designer. I've also read the KDevelop Programming Handbook (Section 6.5) which suggest changing the inheritance of the base class. Which I did, but in order to get it to complie, you need to shell out to run uic, to create the correct .h and .cpp files. You really need to be more specific, because I really don't think you know what your taling about. Subject: Re: Mark, i think Harald is well knowing of what he's talking. (Don't want to continue any flames). KDE has it's own way of creating menus and toolbars. Have a look at the class-documentation for KXMLGUIClient. Look at existing examples. http://developer.kde.org/documentation/library/3.1-api/classref/kdeui/KXMLGUIClient.html With a XML GUI one can not only change the GUI "on the fly", but you can merge multiple "parts" together into one UI. No need to recompile anything. Sascha |