KDE -         The K Desktop Environment

Chapter 4. In short

This is a short resume on how to work with KDevelop and QtDesigner.

  1. In the KDevelop menu File->New, select a Qt2 User Interface and give it a name (kprojectdlg for that example), check add to Project and use Template. Click OK.

  2. Qt Designer starts. Work on your form in Qt Designer then save your file and close designer. The designer file appears then in KDevelop under User Interface (kprojectdlg.ui).

  3. Create a new class (KProject) (right click on Classes then New class...) that inherits from your dialog file (kprojectdlg) and is a QWidget-childclass.

  4. Add your slots and others signals or member functions in the inherited class KProject.