Das K Desktop Environment

Das KDevelop-Programmierhandbuch

Leitfaden zur C++-Anwendungsentwicklung für das K Desktop Environment (KDE) mit Hilfe der KDevelop-IDE in der Version 1.2

Version 1.02.01
Zuletzt aktualisiert: 21/03/2000

Ralf Nolden

Das KDevelop-Team

Ralf.Nolden@post.rwth-aachen.de

Dieses Handbuch ist selbst Bestandteil der integrierten Entwicklungsumgebung KDevelop und unterliegt daher ebenso der GNU General Public License (siehe auch Copyright).


Inhaltsverzeichnis
1. Introduction
1.1. What you should know already
1.2. About this Handbook
1.3. Additional Information
2. The KDE and Qt Libraries
2.1. The Qt GUI Toolkit
2.1.1. The first Qt Application
2.1.2. The Reference Documentation for Qt
2.1.3. Interpretation of the Sample
2.1.4. User Interaction
2.1.5. Object Interaction by Signals and Slots
2.2. What KDE provides
2.2.1. The KDE 1.1.x libraries
2.2.2. Example KDE Application
3. Creating new Applications
3.1. Invoking KAppWizard and Project Generation
3.1.1. Starting KAppWizard and the First Page
3.1.2. The Generate Settings Page
3.1.3. The Header and Source Templates
3.1.4. Creating the Project
3.2. The First Build
3.3. The Source Skeleton
3.3.1. The main() Function
3.3.2. User Application Start
3.3.3. Invocation by Session Management
3.4. Additional Contents of KDevelop Projects
4. Application View Design
4.1. Using Library Views
4.1.1. Qt Views
4.1.2. KDE Views
4.2. Creating your own Views
5. Configuring Menubars and Toolbars
5.1. How does it work ?
5.2. Adding a new menu
5.3. Integrating Toolbar buttons
5.4. Configuring Statusbars
5.5. Keyboard Accelerator Configuration
6. The Dialogeditor: Where your Dialogs are Build
6.1. What the Dialogeditor provides
6.2. Qt and KDE Widgets
6.3. Properties of Qt supported Widgets
6.3.1. QWidget Properties
6.3.2. QButton inherited widgets
6.3.3. QComboBox Properties
6.3.4. QFrame inherited widgets
6.3.5. QLineEdit Properties
6.3.6. QScrollBar Properties
6.3.7. QSlider Properties
6.4. Properties of KDE supported Widgets
6.4.1. KColorButton
6.4.2. KKeyButton
6.4.3. KCombo
6.4.4. KDatePicker
6.4.5. KLedLamp
6.4.6. KProgress
6.4.7. KSeparator
6.4.8. KDateTable
6.4.9. KTreeList
6.4.10. KRestrictedLine
6.4.11. KLed
6.5. Constructing a new Dialog
6.6. Setting Widget Properties
6.7. Integrating the Dialog
6.7.1. QWidget inherited
6.7.2. QDialog inherited
7. Printing Support
7.1. The Qt Print Dialog
7.2. The QPainter Class
8. Hilfefunktionen
8.1. Kurztipps
8.2. Schnellhilfe
8.3. Erweitern der Statusbalkenhilfe
8.4. Kontexthilfe-Buttons
9. Erweitern der Dokumentation mit SGML
9.1. Warum SGML?
9.2. Was die Dokumentation schon enthält
9.3. Schreiben von SGML-Dokumentation
9.3.1. Die DTD-Deklaration
9.3.2. Titelseiten
9.3.3. Indizes und Verzeichnisse
9.3.4. Der Inhalt
9.4. Hilfe anfordern in Dialogen
10. Klassendokumentation mit KDoc
10.1. So nutzen Sie KDevelops Dokumentationsfeatures
10.2. Klassen- und Memberdokumentation hinzufügen
10.3. Spezielle Tags
11. Internationalisierung
11.1. Was hat es mit i18n auf sich?
11.2. Wie unterstützt KDE Internationalisierung?
11.3. Hinzufügen einer Sprache zu einem Projekt
11.4. Kontakt zu den Übersetzungsteams
12. Fehler finden
12.1. Von Qt zur Verfügung gestellte Debugging-Makros
12.2. KDE-Makros
13. Der KDE-Dateisystemstandard
13.1. Einleitung
13.2. Die Verzeichnisstruktur
13.3. Was bedeutet das für Anwendungsentwickler?
13.4. Dokumentation
13.5. Welche Folgen hat das für Bibliotheksentwickler?
14. File System Usage for KDevelop Projects
14.1. Accessing Files during Runtime
14.2. KApplication Methods
14.3. KIconLoader Methods
14.4. Setting File Installation Properties
14.5. Organizing Project Data
14.6. The kdelnk File
15. Programming Guidelines
15.1. General Rules
15.2. Operating System Dependencies
16. Licensing
16.1. The GPL License
16.2. KDE and Qt Licensing Issues
16.2.1. Non-commercial Development
16.2.2. Commercial Development
16.3. Your Product License
17. References
18. Copyright
A. Additional Information
A.1. Example Makefile.am for a Shared Library
19. Mitwirkende